diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-12-10 13:01:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-10 13:01:41 +0100 |
commit | 6edadef96d57cb021d0131929d5a122ae102ad9e (patch) | |
tree | e7f42fb2af3b1d83665725db9034d8fb6f3d6c78 /src/video_core/engines | |
parent | Merge pull request #3205 from ReinUsesLisp/vk-device (diff) | |
parent | vk_shader_decompiler: Fix build issues on old gcc versions (diff) | |
download | yuzu-6edadef96d57cb021d0131929d5a122ae102ad9e.tar yuzu-6edadef96d57cb021d0131929d5a122ae102ad9e.tar.gz yuzu-6edadef96d57cb021d0131929d5a122ae102ad9e.tar.bz2 yuzu-6edadef96d57cb021d0131929d5a122ae102ad9e.tar.lz yuzu-6edadef96d57cb021d0131929d5a122ae102ad9e.tar.xz yuzu-6edadef96d57cb021d0131929d5a122ae102ad9e.tar.zst yuzu-6edadef96d57cb021d0131929d5a122ae102ad9e.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 8b7dcbe9d..7703a76a3 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -98,10 +98,11 @@ union Attribute { BitField<20, 10, u64> immediate; BitField<22, 2, u64> element; BitField<24, 6, Index> index; + BitField<31, 1, u64> patch; BitField<47, 3, AttributeSize> size; bool IsPhysical() const { - return element == 0 && static_cast<u64>(index.Value()) == 0; + return patch == 0 && element == 0 && static_cast<u64>(index.Value()) == 0; } } fmt20; |