summaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorGravatar bunnei2019-05-19 14:02:58 -0400
committerGravatar GitHub2019-05-19 14:02:58 -0400
commitd49efbfb4aa4e935f6c753871d6af6534701f542 (patch)
tree79608391a32719a0be20c898fc79aba93f9f1d48 /src/video_core/renderer_vulkan
parentMerge pull request #2410 from lioncash/affinity (diff)
parentshader_ir/other: Implement IPA.IDX (diff)
downloadyuzu-d49efbfb4aa4e935f6c753871d6af6534701f542.tar.gz
yuzu-d49efbfb4aa4e935f6c753871d6af6534701f542.tar.xz
yuzu-d49efbfb4aa4e935f6c753871d6af6534701f542.zip
Merge pull request #2441 from ReinUsesLisp/al2p
shader: Implement AL2P and ALD.PHYS
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_shader_decompiler.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
index a11000f6b..b61a6d170 100644
--- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
+++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
@@ -194,8 +194,8 @@ public:
194 for (const auto& sampler : ir.GetSamplers()) { 194 for (const auto& sampler : ir.GetSamplers()) {
195 entries.samplers.emplace_back(sampler); 195 entries.samplers.emplace_back(sampler);
196 } 196 }
197 for (const auto& attr : ir.GetInputAttributes()) { 197 for (const auto& attribute : ir.GetInputAttributes()) {
198 entries.attributes.insert(GetGenericAttributeLocation(attr.first)); 198 entries.attributes.insert(GetGenericAttributeLocation(attribute));
199 } 199 }
200 entries.clip_distances = ir.GetClipDistances(); 200 entries.clip_distances = ir.GetClipDistances();
201 entries.shader_length = ir.GetLength(); 201 entries.shader_length = ir.GetLength();
@@ -321,8 +321,7 @@ private:
321 } 321 }
322 322
323 void DeclareInputAttributes() { 323 void DeclareInputAttributes() {
324 for (const auto element : ir.GetInputAttributes()) { 324 for (const auto index : ir.GetInputAttributes()) {
325 const Attribute::Index index = element.first;
326 if (!IsGenericAttribute(index)) { 325 if (!IsGenericAttribute(index)) {
327 continue; 326 continue;
328 } 327 }