mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 22:47:57 -05:00
shader_ir: Unify constant buffer offset values
Constant buffer values on the shader IR were using different offsets if the access direct or indirect. cbuf34 has a non-multiplied offset while cbuf36 does. On shader decoding this commit multiplies it by four on cbuf34 queries.
This commit is contained in:
@ -249,7 +249,7 @@ public:
|
||||
}
|
||||
|
||||
u32 GetSize() const {
|
||||
return max_offset + 1;
|
||||
return max_offset + sizeof(float);
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user