diff options
author | Ian Romanick <[email protected]> | 2013-01-21 23:43:25 -0500 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-01-25 09:07:35 -0500 |
commit | bd963e12ef6c9655f2319f813be412ea22763264 (patch) | |
tree | 1e7b53c62ab297a3161cca0c1d458a2403a4a751 /src/glsl | |
parent | 99b8935ce2d63902bdb3e5a76154240f0e011b80 (diff) |
glsl: Assert that interfaces, like structures, are not seen as leaf types
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Carl Worth <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/link_uniforms.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp index 737e2ad48a6..d7116009ecd 100644 --- a/src/glsl/link_uniforms.cpp +++ b/src/glsl/link_uniforms.cpp @@ -209,6 +209,8 @@ private: { assert(!type->is_record()); assert(!(type->is_array() && type->fields.array->is_record())); + assert(!type->is_interface()); + assert(!(type->is_array() && type->fields.array->is_interface())); (void) row_major; @@ -316,6 +318,8 @@ private: { assert(!type->is_record()); assert(!(type->is_array() && type->fields.array->is_record())); + assert(!type->is_interface()); + assert(!(type->is_array() && type->fields.array->is_interface())); (void) row_major; |