mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
intel/compiler: Rotate instructions ROR and ROL cannot have source modifiers
I checked the Bspec for both Gen11 and Gen12, and it appears that rotate
instructions cannot have source modifiers or saturate modifer. Saturate
was already handled.
Fixes: 1e92e83856 ("intel/compiler: Emit ROR and ROL instruction")
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7650>
This commit is contained in:
parent
366de8acc1
commit
6edc2a3d40
1 changed files with 2 additions and 0 deletions
|
|
@ -937,6 +937,8 @@ backend_instruction::can_do_source_mods() const
|
|||
case BRW_OPCODE_CBIT:
|
||||
case BRW_OPCODE_FBH:
|
||||
case BRW_OPCODE_FBL:
|
||||
case BRW_OPCODE_ROL:
|
||||
case BRW_OPCODE_ROR:
|
||||
case BRW_OPCODE_SUBB:
|
||||
case SHADER_OPCODE_BROADCAST:
|
||||
case SHADER_OPCODE_CLUSTER_BROADCAST:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue