From fd99a7737f70a3bf05492c7a72f4dd0509e09be2 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Fri, 8 May 2020 16:24:37 +0200 Subject: [PATCH] r600/sfn: remove pointless check Signed-off-by: Gert Wollny Reviewed-by: Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/r600/sfn/sfn_vertexstageexport.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_vertexstageexport.cpp b/src/gallium/drivers/r600/sfn/sfn_vertexstageexport.cpp index f7ce29a1a98..097c424a6a0 100644 --- a/src/gallium/drivers/r600/sfn/sfn_vertexstageexport.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_vertexstageexport.cpp @@ -133,9 +133,6 @@ bool VertexStageExportForFS::store_deref(const nir_variable *out_var, nir_intrin emit_varying_param(out_var, instr); default: - if (out_var->data.location <= VARYING_SLOT_VAR31 || - (out_var->data.location >= VARYING_SLOT_TEX0 && - out_var->data.location <= VARYING_SLOT_TEX7)) return emit_varying_param(out_var, instr); } -- 2.30.2