Przeglądaj źródła

add vertex UnsignedInt size RGBA

Nguyen Dac Nam 6 lat temu
rodzic
commit
9295966d26

+ 2 - 0
src/video_core/renderer_vulkan/maxwell_to_vk.cpp

@@ -363,6 +363,8 @@ vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttr
             return vk::Format::eR8G8B8A8Uint;
             return vk::Format::eR8G8B8A8Uint;
         case Maxwell::VertexAttribute::Size::Size_32:
         case Maxwell::VertexAttribute::Size::Size_32:
             return vk::Format::eR32Uint;
             return vk::Format::eR32Uint;
+        case Maxwell::VertexAttribute::Size::Size_32_32_32_32:
+            return vk::Format::eR32G32B32A32Uint;
         default:
         default:
             break;
             break;
         }
         }