diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-01 01:11:41 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-05-03 02:46:25 +0200 |
commit | 28bffb1ffa2585429d63c6dab8584b8e46179696 (patch) | |
tree | 9b52bc708130382ca1525c661c60ee401835c24c /src/video_core/shader | |
parent | shader: Add physical attributes commentaries (diff) | |
download | yuzu-28bffb1ffa2585429d63c6dab8584b8e46179696.tar yuzu-28bffb1ffa2585429d63c6dab8584b8e46179696.tar.gz yuzu-28bffb1ffa2585429d63c6dab8584b8e46179696.tar.bz2 yuzu-28bffb1ffa2585429d63c6dab8584b8e46179696.tar.lz yuzu-28bffb1ffa2585429d63c6dab8584b8e46179696.tar.xz yuzu-28bffb1ffa2585429d63c6dab8584b8e46179696.tar.zst yuzu-28bffb1ffa2585429d63c6dab8584b8e46179696.zip |
Diffstat (limited to 'src/video_core/shader')
-rw-r--r-- | src/video_core/shader/decode/memory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/memory.cpp b/src/video_core/shader/decode/memory.cpp index c4f68f8ab..6a992c543 100644 --- a/src/video_core/shader/decode/memory.cpp +++ b/src/video_core/shader/decode/memory.cpp @@ -49,6 +49,9 @@ u32 ShaderIR::DecodeMemory(NodeBlock& bb, u32 pc) { "Indirect attribute loads are not supported"); UNIMPLEMENTED_IF_MSG((instr.attribute.fmt20.immediate.Value() % sizeof(u32)) != 0, "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)}; |