summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-23 21:45:58 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-24 04:27:37 +0100
commite2dd59e3412d780b90268da936bc89b5572ef8b8 (patch)
tree39bf6d0782095a57b030c0279afa078df7a7b795 /src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
parentMerge pull request #3424 from ReinUsesLisp/spirv-layer (diff)
downloadyuzu-e2dd59e3412d780b90268da936bc89b5572ef8b8.tar
yuzu-e2dd59e3412d780b90268da936bc89b5572ef8b8.tar.gz
yuzu-e2dd59e3412d780b90268da936bc89b5572ef8b8.tar.bz2
yuzu-e2dd59e3412d780b90268da936bc89b5572ef8b8.tar.lz
yuzu-e2dd59e3412d780b90268da936bc89b5572ef8b8.tar.xz
yuzu-e2dd59e3412d780b90268da936bc89b5572ef8b8.tar.zst
yuzu-e2dd59e3412d780b90268da936bc89b5572ef8b8.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_vulkan/vk_shader_decompiler.cpp6
1 files changed, 2 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 2da622d15..f64354a0c 100644
--- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
+++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
@@ -2211,16 +2211,14 @@ private:
switch (specialization.attribute_types.at(location)) {
case Maxwell::VertexAttribute::Type::SignedNorm:
case Maxwell::VertexAttribute::Type::UnsignedNorm:
+ case Maxwell::VertexAttribute::Type::UnsignedScaled:
+ case Maxwell::VertexAttribute::Type::SignedScaled:
case Maxwell::VertexAttribute::Type::Float:
return {Type::Float, t_in_float, t_in_float4};
case Maxwell::VertexAttribute::Type::SignedInt:
return {Type::Int, t_in_int, t_in_int4};
case Maxwell::VertexAttribute::Type::UnsignedInt:
return {Type::Uint, t_in_uint, t_in_uint4};
- case Maxwell::VertexAttribute::Type::UnsignedScaled:
- case Maxwell::VertexAttribute::Type::SignedScaled:
- UNIMPLEMENTED();
- return {Type::Float, t_in_float, t_in_float4};
default:
UNREACHABLE();
return {Type::Float, t_in_float, t_in_float4};