mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 22:30:11 +01:00
intel/brw: Remove special treatment for 2-src in emit() helper
For Gfx9+ no 2-src instructions need sources to fixed up. Special treatment remains for 3-src instructions. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30911>
This commit is contained in:
parent
73f365e208
commit
e4f090d3a6
1 changed files with 1 additions and 3 deletions
|
|
@ -315,9 +315,7 @@ namespace brw {
|
|||
/* Use the emit() methods for specific operand counts to ensure that
|
||||
* opcode-specific operand fixups occur.
|
||||
*/
|
||||
if (n == 2) {
|
||||
return emit(opcode, dst, srcs[0], srcs[1]);
|
||||
} else if (n == 3) {
|
||||
if (n == 3) {
|
||||
return emit(opcode, dst, srcs[0], srcs[1], srcs[2]);
|
||||
} else {
|
||||
return emit(fs_inst(opcode, dispatch_width(), dst, srcs, n));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue