summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-07-12 02:38:27 -0700
committerKenneth Graunke <[email protected]>2016-07-15 17:17:09 -0700
commite12e4af780d8f8973021c43fe27d44fefca2df4c (patch)
tree400e6a7aef1c67abe9bb91a4ed26b08a4c70b97a
parentcdfc05ea6e8c87876cdbf588aa8e03d70f3da4bb (diff)
nir: Drop bogus nir_var_shader_in case in nir_lower_io's store_op().
This can't happen, the caller asserts that mode is shader_out or shared. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/compiler/nir/nir_lower_io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c
index 3a8587a2dd3..914e0e1e0db 100644
--- a/src/compiler/nir/nir_lower_io.c
+++ b/src/compiler/nir/nir_lower_io.c
@@ -198,7 +198,6 @@ store_op(struct lower_io_state *state,
{
nir_intrinsic_op op;
switch (mode) {
- case nir_var_shader_in:
case nir_var_shader_out:
op = per_vertex ? nir_intrinsic_store_per_vertex_output :
nir_intrinsic_store_output;