r600/sfn: remove pointless check
authorGert Wollny <gert.wollny@collabora.com>
Fri, 8 May 2020 14:24:37 +0000 (16:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 07:52:13 +0000 (07:52 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>

src/gallium/drivers/r600/sfn/sfn_vertexstageexport.cpp

index f7ce29a1a98996bbe652f6a7abdf16b9847baf1c..097c424a6a082e2defa4f1a280b2a54bed5f9ad5 100644 (file)
@@ -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);
    }