mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-30 07:13:05 +00:00
shader_ir/memory: Assert on non-32 bits ALD.PHYS
This commit is contained in:
parent
fe700e1856
commit
28bffb1ffa
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ u32 ShaderIR::DecodeMemory(NodeBlock& bb, u32 pc) {
|
||||||
"Indirect attribute loads are not supported");
|
"Indirect attribute loads are not supported");
|
||||||
UNIMPLEMENTED_IF_MSG((instr.attribute.fmt20.immediate.Value() % sizeof(u32)) != 0,
|
UNIMPLEMENTED_IF_MSG((instr.attribute.fmt20.immediate.Value() % sizeof(u32)) != 0,
|
||||||
"Unaligned attribute loads are not supported");
|
"Unaligned attribute loads are not supported");
|
||||||
|
UNIMPLEMENTED_IF_MSG(instr.attribute.fmt20.IsPhysical() &&
|
||||||
|
instr.attribute.fmt20.size != Tegra::Shader::AttributeSize::Word,
|
||||||
|
"Non-32 bits PHYS reads are not implemented");
|
||||||
|
|
||||||
const Node buffer{GetRegister(instr.gpr39)};
|
const Node buffer{GetRegister(instr.gpr39)};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue