From 73c6899285da9b93d5d140b44bca8a1a79afacad Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 30 Nov 2020 14:02:06 -0600 Subject: [PATCH] intel/fs: DISCARD_JUMP does not have side-effects This accidentally snuck into 75209d5bd1f6e93 due to a rebase fail. Fixes: 75209d5bd1f6e93 "intel/fs: Add and implement intel-specific..." Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3897 Tested-by: Mark Janes Reviewed-by: Caio Marcelo de Oliveira Filho Part-of: --- src/intel/compiler/brw_shader.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp index f9ebf123fd1..fdbce3392fb 100644 --- a/src/intel/compiler/brw_shader.cpp +++ b/src/intel/compiler/brw_shader.cpp @@ -1116,7 +1116,6 @@ backend_instruction::has_side_effects() const case SHADER_OPCODE_BTD_SPAWN_LOGICAL: case SHADER_OPCODE_BTD_RETIRE_LOGICAL: case RT_OPCODE_TRACE_RAY_LOGICAL: - case FS_OPCODE_DISCARD_JUMP: return true; default: return eot;