mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-18 08:37:56 -05:00
Merge pull request #3379 from ReinUsesLisp/cbuf-offset
shader/decode: Fix constant buffer offsets
This commit is contained in:
@ -1677,11 +1677,11 @@ union Instruction {
|
||||
} xmad;
|
||||
|
||||
union {
|
||||
BitField<20, 14, u64> offset;
|
||||
BitField<20, 14, u64> shifted_offset;
|
||||
BitField<34, 5, u64> index;
|
||||
|
||||
u64 GetOffset() const {
|
||||
return offset * 4;
|
||||
return shifted_offset * 4;
|
||||
}
|
||||
} cbuf34;
|
||||
|
||||
|
Reference in New Issue
Block a user