summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-12-14 01:45:55 -0800
committerKenneth Graunke <[email protected]>2015-12-14 14:27:38 -0800
commit106c3a8a489aca6ad3f925fa703931d41c958208 (patch)
tree6360fab6270ed08a6aeb417bf8e7f662e42b5bec
parent96dc732ed81f48d8bbc7aa6fb4d9c2833b691189 (diff)
nir: Fix number of indices on shared variable store intrinsics.
Shared variables and input reworks landed around the same time. Presumably, this was some sort of mistake in rebase conflict resolution. This really only affects the num_indices field in nir_intrinsic_infos, which is rarely used. However, it's used by the printer. Found by inspection. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/glsl/nir/nir_intrinsics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_intrinsics.h b/src/glsl/nir/nir_intrinsics.h
index 9811fb391de..ec9e845574a 100644
--- a/src/glsl/nir/nir_intrinsics.h
+++ b/src/glsl/nir/nir_intrinsics.h
@@ -309,6 +309,6 @@ STORE(per_vertex_output, 3, 1, 0)
/* src[] = { value, block_index, offset }. const_index[] = { write_mask } */
STORE(ssbo, 3, 1, 0)
/* src[] = { value, offset }. const_index[] = { base, write_mask } */
-STORE(shared, 2, 1, 0)
+STORE(shared, 2, 2, 0)
LAST_INTRINSIC(store_shared)