From 6ba41638229ec775210663309e74a769272e388a Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 25 Jan 2026 03:02:08 +0000 Subject: [PATCH] fx --- src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 40b8160cf5..c5e4cf7dd1 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -135,12 +135,16 @@ Shader::AttributeType CastAttributeType(const FixedPipelineState::VertexAttribut Shader::AttributeType AttributeType(const FixedPipelineState& state, size_t index) { switch (state.DynamicAttributeType(index)) { case Maxwell::VertexAttribute::Type::Float: + case Maxwell::VertexAttribute::Type::SScaled: + case Maxwell::VertexAttribute::Type::UScaled: + case Maxwell::VertexAttribute::Type::SNorm: + case Maxwell::VertexAttribute::Type::UNorm: return Shader::AttributeType::Float; case Maxwell::VertexAttribute::Type::SInt: return Shader::AttributeType::SignedInt; case Maxwell::VertexAttribute::Type::UInt: return Shader::AttributeType::UnsignedInt; - default: + case Maxwell::VertexAttribute::Type::UnusedEnumDoNotUseBecauseItWillGoAway: return Shader::AttributeType::Disabled; } }