mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +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>
This commit is contained in:
parent
68e5265fa1
commit
ee536ea633
1 changed files with 1 additions and 1 deletions
|
|
@ -666,8 +666,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