diff options
author | Ian Romanick <[email protected]> | 2013-10-02 15:57:03 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-05-02 07:19:40 -0700 |
commit | 5699220cd5719be6fbafdefd75025a817bcb200a (patch) | |
tree | 13eb1d5646321306f23822670a1bcd270c528f43 /src/glsl/glsl_symbol_table.h | |
parent | ba7195d126ce20bf74a27725224662aaca4d90ef (diff) |
glsl: Exit when the shader IR contains an interface block instance
While writing the link_varyings::single_interface_input test, I
discovered that populate_consumer_input_sets assumes that all shader
interface blocks have been lowered to discrete variables. Since there
is a pass that does this, it is a reasonable assumption. It was,
however, non-obvious. Make the code fail when it encounters such a
thing, and add a test to verify that behavior.
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/glsl_symbol_table.h')
0 files changed, 0 insertions, 0 deletions