diff options
author | Kenneth Graunke <[email protected]> | 2015-04-07 15:14:16 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-04-10 02:16:29 -0700 |
commit | 99264b7f37dc92bcb3a9ae226e00c9300414431c (patch) | |
tree | a9cf3e96b8f37330f147038930c15c30eb31ba93 /src/gtest | |
parent | 4b27391cadcc789a3befbd2b5a846012afa069b8 (diff) |
nir: Make nir_lower_samplers take a gl_shader_stage, not a gl_program *.
We don't actually need a gl_program struct. We only used it to
translate prog->Target (i.e. GL_VERTEX_PROGRAM) to the gl_shader_stage
(i.e. MESA_SHADER_VERTEX). We may as well just pass that.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gtest')
0 files changed, 0 insertions, 0 deletions