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_vec4.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_vec4.cpp')
-rw-r--r-- | src/intel/compiler/brw_vec4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_vec4.cpp b/src/intel/compiler/brw_vec4.cpp index 73c40ad6009..3ddbe6c57fc 100644 --- a/src/intel/compiler/brw_vec4.cpp +++ b/src/intel/compiler/brw_vec4.cpp @@ -361,7 +361,7 @@ vec4_visitor::implied_mrf_writes(vec4_instruction *inst) case SHADER_OPCODE_TG4: case SHADER_OPCODE_TG4_OFFSET: case SHADER_OPCODE_SAMPLEINFO: - case VS_OPCODE_GET_BUFFER_SIZE: + case SHADER_OPCODE_GET_BUFFER_SIZE: return inst->header_size; default: unreachable("not reached"); |