[Mesa-stable] [PATCH 00/15] Fix mesa bugs identified by Khronos GLES3 conformance tests

Anuj Phogat anuj.phogat at gmail.com
Fri Jun 6 16:56:56 PDT 2014


Patches in this series fix few preprocessor bugs and GLES3 error conditions.
This series is also available on 'review' branch at:
https://github.com/aphogat/mesa.git


Anuj Phogat (15):
  glsl: Add __FILE__ and __LINE__ as built-in macros
  glsl: Do not allow undefining the built-in macros
  glsl: Fix preprocessor error condition for macro redefinition
  glsl: Add preprocessor error condition for #else directive
  mesa: Fix error condition for valid texture targets in glTexStorage*
    functions
  mesa: Turn target_can_be_compressed() in to a utility function
  mesa: Add error condition for using compressed internalformat in
    glTexStorage3D()
  mesa: Fix condition for using compressed internalformat in
    glCompressedTexImage3D()
  mesa: Add utility function mesa_is_enum_format_snorm()
  mesa: Don't allow snorm internal formats in glCopyTexImage*() in GLES3
  mesa: Add a helper function _mesa_is_enum_format_unsized()
  mesa: Add a gles3 error condition for sized internalformat in
    glCopyTexImage*()
  mesa: Add gles3 error condition for GL_RGBA10_A2 buffer format in
    glCopyTexImage*()
  mesa: Add utility function _mesa_is_enum_format_unorm()
  mesa: Add gles3 condition for normalized internal formats in
    glCopyTexImage*()

 src/glsl/glcpp/glcpp-lex.l   |   4 ++
 src/glsl/glcpp/glcpp-parse.y |  26 ++++++---
 src/mesa/main/glformats.c    | 122 +++++++++++++++++++++++++++++++++++++++++++
 src/mesa/main/glformats.h    |  12 +++++
 src/mesa/main/teximage.c     | 101 ++++++++++++++++++++++++++++++++---
 src/mesa/main/texstorage.c   |  25 +++++++++
 6 files changed, 275 insertions(+), 15 deletions(-)

-- 
1.8.3.1



More information about the mesa-stable mailing list