summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-11-01 04:34:38 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-12-10 03:25:21 +0100
commit6233b1db089686e1ea0dde68278e9086981d6f76 (patch)
tree42199ac76ce7f34d543d77a5a70cc3e5f46e2576 /src/video_core/engines
parentMerge pull request #3205 from ReinUsesLisp/vk-device (diff)
downloadyuzu-6233b1db089686e1ea0dde68278e9086981d6f76.tar
yuzu-6233b1db089686e1ea0dde68278e9086981d6f76.tar.gz
yuzu-6233b1db089686e1ea0dde68278e9086981d6f76.tar.bz2
yuzu-6233b1db089686e1ea0dde68278e9086981d6f76.tar.lz
yuzu-6233b1db089686e1ea0dde68278e9086981d6f76.tar.xz
yuzu-6233b1db089686e1ea0dde68278e9086981d6f76.tar.zst
yuzu-6233b1db089686e1ea0dde68278e9086981d6f76.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h3
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;