mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
intel/brw: Stop checking mlen on math opcodes in CSE pass
These were only messages on Gfx4 which we no longer support here. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28067>
This commit is contained in:
parent
8441043161
commit
348506462a
1 changed files with 1 additions and 2 deletions
|
|
@ -100,7 +100,6 @@ is_expression(const fs_visitor *v, const fs_inst *const inst)
|
|||
case SHADER_OPCODE_TG4_OFFSET_LOD_LOGICAL:
|
||||
case SHADER_OPCODE_TG4_OFFSET_BIAS_LOGICAL:
|
||||
case FS_OPCODE_PACK:
|
||||
return true;
|
||||
case SHADER_OPCODE_RCP:
|
||||
case SHADER_OPCODE_RSQ:
|
||||
case SHADER_OPCODE_SQRT:
|
||||
|
|
@ -111,7 +110,7 @@ is_expression(const fs_visitor *v, const fs_inst *const inst)
|
|||
case SHADER_OPCODE_INT_REMAINDER:
|
||||
case SHADER_OPCODE_SIN:
|
||||
case SHADER_OPCODE_COS:
|
||||
return inst->mlen < 2;
|
||||
return true;
|
||||
case SHADER_OPCODE_LOAD_PAYLOAD:
|
||||
return !is_coalescing_payload(v->alloc, inst);
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue