aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_shader.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-08-16 11:01:24 -0500
committerJason Ekstrand <[email protected]>2018-08-29 14:04:03 -0500
commit3cbc02e4693030d18a24602cf72e693b92e1a7a3 (patch)
tree2e2ef71765fc66fc88e984e3764cc40a3c963f4b /src/intel/compiler/brw_shader.cpp
parent09f1de97a76a4990fd7ce909760f3c8933263b05 (diff)
intel: Use TXS for image_size when we have a typed surface
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_shader.cpp')
-rw-r--r--src/intel/compiler/brw_shader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp
index 27de7c49776..798c799a828 100644
--- a/src/intel/compiler/brw_shader.cpp
+++ b/src/intel/compiler/brw_shader.cpp
@@ -267,6 +267,9 @@ brw_instruction_name(const struct gen_device_info *devinfo, enum opcode op)
case SHADER_OPCODE_SAMPLEINFO_LOGICAL:
return "sampleinfo_logical";
+ case SHADER_OPCODE_IMAGE_SIZE:
+ return "image_size";
+
case SHADER_OPCODE_SHADER_TIME_ADD:
return "shader_time_add";