summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-04-07 15:50:54 -0700
committerKenneth Graunke <[email protected]>2015-04-10 02:16:33 -0700
commit500da98e0b96d211eab27629696ef50c47caaff9 (patch)
treeeffda7d8f46f8f801353dea0789c92ce8cc1ef4a /src/glsl/nir/nir.h
parent709b88ccd8009d98142616cb53c2ad66ddcd52a9 (diff)
nir: Constify nir_lower_sampler's gl_shader_program pointer.
Now that we're not generating linker errors, we don't actually modify this. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 679911ca8e3..e844e4daef8 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1611,7 +1611,7 @@ void nir_lower_alu_to_scalar(nir_shader *shader);
void nir_lower_phis_to_scalar(nir_shader *shader);
void nir_lower_samplers(nir_shader *shader,
- struct gl_shader_program *shader_program,
+ const struct gl_shader_program *shader_program,
gl_shader_stage stage);
void nir_lower_system_values(nir_shader *shader);