summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-20 17:40:19 -0700
committerJason Ekstrand <[email protected]>2015-10-21 14:20:32 -0700
commit2686477d3757de50c31aa193bde8ad57fe539e44 (patch)
tree0dd5117bcadeab829383cc657979da335c2bbdf1 /src/glsl/nir/nir.h
parent4eb84a03becec582a3a26ceee470334f0fba4721 (diff)
nir: Constify nir_gs_count_vertices
Reviewed-by: Kenneth Graunke <[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 f65d44c4bdf..e3777f926e2 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1899,7 +1899,7 @@ void nir_dump_dom_frontier(nir_shader *shader, FILE *fp);
void nir_dump_cfg_impl(nir_function_impl *impl, FILE *fp);
void nir_dump_cfg(nir_shader *shader, FILE *fp);
-int nir_gs_count_vertices(nir_shader *shader);
+int nir_gs_count_vertices(const nir_shader *shader);
bool nir_split_var_copies(nir_shader *shader);