summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_dead_code.cpp
diff options
context:
space:
mode:
authorAndres Gomez <[email protected]>2014-11-18 06:49:00 -0700
committerBrian Paul <[email protected]>2014-11-18 08:47:04 -0700
commit1398ed724a90bd608ac4f6206c37eb2792ce9ab1 (patch)
treeed4967f68de458f49e8542ffb1faf6d24cd80cbc /src/glsl/opt_dead_code.cpp
parentf9fc3ae89baac45563bad824f2adbd41d26dcef7 (diff)
glsl_compiler: Add binding hash tables to avoid SIGSEVs on linking stage
When using the stand alone compiler, if we try to link a shader with vertex attributes it will segfault on linking as the binding hash tables are not included in the shader program. Obviously, we cannot make the linking stage succeed without the bound attributes but we can prevent the crash and just let the linker spit its own error. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/opt_dead_code.cpp')
0 files changed, 0 insertions, 0 deletions