[Mesa-dev,3/5] glsl: Add supported extensions entry for for GL_NV_non_square_matrices

Submitted by Rafal Mielniczuk on Feb. 26, 2014, 6:34 p.m.

Details

Message ID 1393439686-29817-4-git-send-email-rafal.mielniczuk2@gmail.com
State New
Headers show

Not browsing as part of any series.

Commit Message

Rafal Mielniczuk Feb. 26, 2014, 6:34 p.m.
Signed-off-by: Rafal Mielniczuk <rafal.mielniczuk2@gmail.com>
---
 src/glsl/glsl_parser_extras.cpp | 1 +
 src/glsl/glsl_parser_extras.h   | 2 ++
 2 files changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 416acb9..5840311 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -537,6 +537,7 @@  static const _mesa_glsl_extension _mesa_glsl_supported_extensions[] = {
    EXT(ARB_viewport_array,             true,  false,     ARB_viewport_array),
    EXT(ARB_compute_shader,             true,  false,     ARB_compute_shader),
    EXT(ARB_shader_image_load_store,    true,  false,     ARB_shader_image_load_store),
+   EXT(NV_non_square_matrices,         false, true,      dummy_true),
 };
 
 #undef EXT
diff --git a/src/glsl/glsl_parser_extras.h b/src/glsl/glsl_parser_extras.h
index d98474e..1335f80 100644
--- a/src/glsl/glsl_parser_extras.h
+++ b/src/glsl/glsl_parser_extras.h
@@ -385,6 +385,8 @@  struct _mesa_glsl_parse_state {
    bool ARB_compute_shader_warn;
    bool ARB_shader_image_load_store_enable;
    bool ARB_shader_image_load_store_warn;
+   bool NV_non_square_matrices_enable;
+   bool NV_non_square_matrices_warn;
    /*@}*/
 
    /** Extensions supported by the OpenGL implementation. */