diff options
author | Kenneth Graunke <[email protected]> | 2017-12-10 17:03:32 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-12-30 20:30:34 -0800 |
commit | a1afef8de0118a5952e21fec7e017c905a59637f (patch) | |
tree | ccb64c03c180f8d85b375278b5d60d9bdd516abb /src/intel/compiler/brw_shader.cpp | |
parent | ea0bbe82019458f3c0482a2d13614fdd06041ee3 (diff) |
i965: Combine {VS,FS}_OPCODE_GET_BUFFER_SIZE opcodes.
These are the same, we don't need a separate opcode enum per backend.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_shader.cpp')
-rw-r--r-- | src/intel/compiler/brw_shader.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp index 74b52976d74..1df4f35cd8e 100644 --- a/src/intel/compiler/brw_shader.cpp +++ b/src/intel/compiler/brw_shader.cpp @@ -331,6 +331,9 @@ brw_instruction_name(const struct gen_device_info *devinfo, enum opcode op) case SHADER_OPCODE_BROADCAST: return "broadcast"; + case SHADER_OPCODE_GET_BUFFER_SIZE: + return "get_buffer_size"; + case VEC4_OPCODE_MOV_BYTES: return "mov_bytes"; case VEC4_OPCODE_PACK_BYTES: @@ -373,9 +376,6 @@ brw_instruction_name(const struct gen_device_info *devinfo, enum opcode op) case FS_OPCODE_PIXEL_Y: return "pixel_y"; - case FS_OPCODE_GET_BUFFER_SIZE: - return "fs_get_buffer_size"; - case FS_OPCODE_UNIFORM_PULL_CONSTANT_LOAD: return "uniform_pull_const"; case FS_OPCODE_UNIFORM_PULL_CONSTANT_LOAD_GEN7: @@ -422,9 +422,6 @@ brw_instruction_name(const struct gen_device_info *devinfo, enum opcode op) case VS_OPCODE_SET_SIMD4X2_HEADER_GEN9: return "set_simd4x2_header_gen9"; - case VS_OPCODE_GET_BUFFER_SIZE: - return "vs_get_buffer_size"; - case VS_OPCODE_UNPACK_FLAGS_SIMD4X2: return "unpack_flags_simd4x2"; |