mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 12:25:00 +00:00
hotfix: Fix mipmap query for images
This commit is contained in:
parent
654f85a4b1
commit
e1d03c35fd
2 changed files with 5 additions and 5 deletions
|
@ -80,10 +80,10 @@ struct DefTable {
|
|||
}
|
||||
|
||||
const IR::Value& Def(IR::Block* block, ThreadBitScalar variable) {
|
||||
return block->ssa_sreg_values[RegIndex(variable.sgpr)];
|
||||
return block->ssa_sbit_values[RegIndex(variable.sgpr)];
|
||||
}
|
||||
void SetDef(IR::Block* block, ThreadBitScalar variable, const IR::Value& value) {
|
||||
block->ssa_sreg_values[RegIndex(variable.sgpr)] = value;
|
||||
block->ssa_sbit_values[RegIndex(variable.sgpr)] = value;
|
||||
}
|
||||
|
||||
const IR::Value& Def(IR::Block* block, SccFlagTag) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue