Mesa (master): nir: Drop bogus nir_var_shader_in case in nir_lower_io' s store_op().
Kenneth Graunke
kwg at kemper.freedesktop.org
Sat Jul 16 00:51:20 UTC 2016
Module: Mesa
Branch: master
Commit: e12e4af780d8f8973021c43fe27d44fefca2df4c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e12e4af780d8f8973021c43fe27d44fefca2df4c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Jul 12 02:38:27 2016 -0700
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 <kenneth at whitecape.org>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
src/compiler/nir/nir_lower_io.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c
index 3a8587a..914e0e1 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;
More information about the mesa-commit
mailing list