diff options
author | Kenneth Graunke <[email protected]> | 2015-08-18 01:53:29 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-08-25 11:12:35 -0700 |
commit | 5f14c417c86ced1847746c64d4db54c7e5ddc187 (patch) | |
tree | 89e91b11db0783a8ad4315bd7a9726bb25947194 /src/glsl/nir/nir.h | |
parent | d4d5b430a52aab148c8697deaedd8864e1749f3c (diff) |
nir: Use nir_shader::stage rather than passing it around.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 308298a5085..40871f73e96 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1648,8 +1648,7 @@ void nir_lower_load_const_to_scalar(nir_shader *shader); void nir_lower_phis_to_scalar(nir_shader *shader); void nir_lower_samplers(nir_shader *shader, - const struct gl_shader_program *shader_program, - gl_shader_stage stage); + const struct gl_shader_program *shader_program); void nir_lower_system_values(nir_shader *shader); void nir_lower_tex_projector(nir_shader *shader); |