diff options
author | Kenneth Graunke <[email protected]> | 2015-08-18 01:48:34 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-08-25 11:12:35 -0700 |
commit | d4d5b430a52aab148c8697deaedd8864e1749f3c (patch) | |
tree | ef0d69d5b22fb224bab921cb1b897935f9f3d62e /src/glsl/opt_cse.cpp | |
parent | dfacae3a56463e2df3a67e245f868e9f2be64dcd (diff) |
nir: Store gl_shader_stage in nir_shader.
This makes it easy for NIR passes to inspect what kind of shader they're
operating on.
Thanks to Michel Dänzer for helping me figure out where TGSI stores the
shader stage information.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/opt_cse.cpp')
0 files changed, 0 insertions, 0 deletions