Mesa (master): intel/fs: DISCARD_JUMP does not have side-effects

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 30 20:39:08 UTC 2020


Module: Mesa
Branch: master
Commit: 73c6899285da9b93d5d140b44bca8a1a79afacad
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=73c6899285da9b93d5d140b44bca8a1a79afacad

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Nov 30 14:02:06 2020 -0600

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 <mark.a.janes at intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7839>

---

 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;



More information about the mesa-commit mailing list