diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-25 23:11:17 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-25 23:11:17 +0100 |
commit | e292b2d991170e52e6d7138e3db7c01c3284444c (patch) | |
tree | e69afd85afc7693a49ff0bc00990ed21a7e64291 /src | |
parent | Merge pull request #7933 from german77/am_update (diff) | |
download | yuzu-e292b2d991170e52e6d7138e3db7c01c3284444c.tar yuzu-e292b2d991170e52e6d7138e3db7c01c3284444c.tar.gz yuzu-e292b2d991170e52e6d7138e3db7c01c3284444c.tar.bz2 yuzu-e292b2d991170e52e6d7138e3db7c01c3284444c.tar.lz yuzu-e292b2d991170e52e6d7138e3db7c01c3284444c.tar.xz yuzu-e292b2d991170e52e6d7138e3db7c01c3284444c.tar.zst yuzu-e292b2d991170e52e6d7138e3db7c01c3284444c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 2 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h index daba42ed9..db5bf1d30 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h @@ -184,6 +184,8 @@ inline GLenum VertexFormat(Maxwell::VertexAttribute attrib) { case Maxwell::VertexAttribute::Size::Size_32_32_32: case Maxwell::VertexAttribute::Size::Size_32_32_32_32: return GL_FLOAT; + case Maxwell::VertexAttribute::Size::Size_11_11_10: + return GL_UNSIGNED_INT_10F_11F_11F_REV; default: break; } diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp index 751e4792b..1c136c410 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -495,6 +495,8 @@ VkFormat VertexFormat(Maxwell::VertexAttribute::Type type, Maxwell::VertexAttrib return VK_FORMAT_R32G32B32_SFLOAT; case Maxwell::VertexAttribute::Size::Size_32_32_32_32: return VK_FORMAT_R32G32B32A32_SFLOAT; + case Maxwell::VertexAttribute::Size::Size_11_11_10: + return VK_FORMAT_B10G11R11_UFLOAT_PACK32; default: break; } |