Module: Mesa
Branch: main
Commit: a81ca32f961d128e1f0992a4ccbd265a43e11552
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a81ca32f961d128e1f0992a4ccbd265a43e11552

Author: Lionel Landwerlin <[email protected]>
Date:   Sat Jul 23 22:57:12 2022 +0300

intel/fs: remove unused opcode

Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Rohan Garg <[email protected]>
Acked-by: Caio Oliveira <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17555>

---

 src/intel/compiler/brw_eu_defines.h            | 1 -
 src/intel/compiler/brw_fs.cpp                  | 1 -
 src/intel/compiler/brw_lower_logical_sends.cpp | 1 -
 src/intel/compiler/brw_shader.cpp              | 2 --
 4 files changed, 5 deletions(-)

diff --git a/src/intel/compiler/brw_eu_defines.h 
b/src/intel/compiler/brw_eu_defines.h
index 5e1265cd5d0..11996fecc52 100644
--- a/src/intel/compiler/brw_eu_defines.h
+++ b/src/intel/compiler/brw_eu_defines.h
@@ -394,7 +394,6 @@ enum opcode {
    VEC4_OPCODE_UNTYPED_SURFACE_WRITE,
    SHADER_OPCODE_UNTYPED_SURFACE_WRITE_LOGICAL,
 
-   SHADER_OPCODE_OWORD_BLOCK_READ_LOGICAL,
    SHADER_OPCODE_UNALIGNED_OWORD_BLOCK_READ_LOGICAL,
    SHADER_OPCODE_OWORD_BLOCK_WRITE_LOGICAL,
 
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index 700e8f4bbff..c2374591908 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -758,7 +758,6 @@ fs_inst::components_read(unsigned i) const
          return 1;
       }
 
-   case SHADER_OPCODE_OWORD_BLOCK_READ_LOGICAL:
    case SHADER_OPCODE_UNALIGNED_OWORD_BLOCK_READ_LOGICAL:
       assert(src[SURFACE_LOGICAL_SRC_IMM_ARG].file == IMM);
       return 1;
diff --git a/src/intel/compiler/brw_lower_logical_sends.cpp 
b/src/intel/compiler/brw_lower_logical_sends.cpp
index eea9492ef62..9f460bb9294 100644
--- a/src/intel/compiler/brw_lower_logical_sends.cpp
+++ b/src/intel/compiler/brw_lower_logical_sends.cpp
@@ -2660,7 +2660,6 @@ fs_visitor::lower_logical_sends()
          lower_surface_logical_send(ibld, inst);
          break;
 
-      case SHADER_OPCODE_OWORD_BLOCK_READ_LOGICAL:
       case SHADER_OPCODE_UNALIGNED_OWORD_BLOCK_READ_LOGICAL:
       case SHADER_OPCODE_OWORD_BLOCK_WRITE_LOGICAL:
          lower_surface_block_logical_send(ibld, inst);
diff --git a/src/intel/compiler/brw_shader.cpp 
b/src/intel/compiler/brw_shader.cpp
index 340dadc332c..8f78b5629cd 100644
--- a/src/intel/compiler/brw_shader.cpp
+++ b/src/intel/compiler/brw_shader.cpp
@@ -303,8 +303,6 @@ brw_instruction_name(const struct brw_isa_info *isa, enum 
opcode op)
       return "untyped_surface_write";
    case SHADER_OPCODE_UNTYPED_SURFACE_WRITE_LOGICAL:
       return "untyped_surface_write_logical";
-   case SHADER_OPCODE_OWORD_BLOCK_READ_LOGICAL:
-      return "oword_block_read_logical";
    case SHADER_OPCODE_UNALIGNED_OWORD_BLOCK_READ_LOGICAL:
       return "unaligned_oword_block_read_logical";
    case SHADER_OPCODE_OWORD_BLOCK_WRITE_LOGICAL:

Reply via email to