mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
nir/serialize: Put dest last in packed_instr::tex
packed_instr::tex::dest must be last to match the packed_instr::any::dest position. Fixes:35655865cb("nir/serialize: pack instructions better") Cc: stable Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17212> (cherry picked from commitee536ea633)
This commit is contained in:
parent
a836e218bd
commit
ba1d27bdee
2 changed files with 2 additions and 2 deletions
|
|
@ -175,7 +175,7 @@
|
|||
"description": "nir/serialize: Put dest last in packed_instr::tex",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "35655865cbde648f6dcfad38fa095d9ec0c4e45b"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -664,8 +664,8 @@ union packed_instr {
|
|||
unsigned instr_type:4;
|
||||
unsigned num_srcs:4;
|
||||
unsigned op:4;
|
||||
unsigned dest:8;
|
||||
unsigned _pad:12;
|
||||
unsigned dest:8;
|
||||
} tex;
|
||||
struct {
|
||||
unsigned instr_type:4;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue