Przeglądaj źródła

Merge pull request #3503 from makigumo/patch-2

maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32
Rodrigo Locatti 6 lat temu
rodzic
commit
d64edf21bb
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/video_core/renderer_vulkan/maxwell_to_vk.cpp

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

@@ -331,6 +331,8 @@ vk::Format VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttr
             return vk::Format::eR16G16B16Unorm;
         case Maxwell::VertexAttribute::Size::Size_16_16_16_16:
             return vk::Format::eR16G16B16A16Unorm;
+        case Maxwell::VertexAttribute::Size::Size_10_10_10_2:
+            return vk::Format::eA2B10G10R10UnormPack32;
         default:
             break;
         }