1. 15 Jan, 2013 3 commits
  2. 12 Jan, 2013 3 commits
  3. 13 Dec, 2012 1 commit
    • Paul Berry's avatar
      mesa: Fix computation of default vertex attrib stride for 2_10_10_10 formats. · 62678530
      Paul Berry authored
      Previously, if the client program didn't specify a stride when setting
      up a vertex attribute, we used _mesa_sizeof_type() to compute the size
      of the type, and multiplied it by the number of components.
      This didn't work for the 2_10_10_10 formats, since _mesa_sizeof_type()
      returns -1 for those types, resulting in all kinds of havoc, since it
      was causing the hardware to be programmed with a negative stride
      This patch adds a new function _mesa_bytes_per_vertex_attrib(), which
      is similar to the existing function _mesa_bytes_per_pixel(), but which
      computes the size of a vertex attribute based on the type and the
      number of formats.  For packed formats (currently only the 2_10_10_10
      formats), it verifies that the number of components is correct and
      returns the size of the packed format.  For unpacked formats, it
      returns the size of the type times the number of components.
      In addition, this patch adds an assertion so that if we ever forget to
      update _mesa_bytes_per_vertex_attrib() when adding a new vertex
      format, we'll see the problem quickly rather than having to debug a
      subtle conformance test failure.
      Fixes GLES3 conformance tests
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
  4. 08 Dec, 2012 1 commit
    • Anuj Phogat's avatar
      mesa: Add new MESA_FORMATs for ETC2 compressed textures · e519b8a9
      Anuj Phogat authored
      It is required by OpenGL ES 3.0 to support ETC2 textures.
      This patch adds new MESA_FORMATs for following etc2 texture
      Above formats are currently available in only gles 3.0.
      v2: Add entries in texfetch_funcs[] array.
      Signed-off-by: default avatarAnuj Phogat <anuj.phogat@gmail.com>
      Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
      v3 (Paul Berry <stereotype441@gmail.com>): comment out symbols that
      are not implemented yet, so that this commit compiles on its own;
      future commits will uncomment the symbols as they become available.
  5. 29 Nov, 2012 2 commits
  6. 16 Oct, 2012 1 commit
  7. 01 Oct, 2012 1 commit
  8. 26 Sep, 2012 1 commit
  9. 15 Sep, 2012 3 commits
  10. 24 Aug, 2012 1 commit
  11. 23 Aug, 2012 1 commit
  12. 07 Aug, 2012 1 commit
  13. 24 Jul, 2012 3 commits
  14. 21 Jul, 2012 1 commit