Vulkan: 32_32_32_32 had wrong unsigned format.

This commit is contained in:
gibbed 2017-08-08 16:51:19 -05:00
parent 90b8f983d0
commit 1570dcd24c
1 changed files with 2 additions and 2 deletions

View File

@ -978,8 +978,8 @@ PipelineCache::UpdateStatus PipelineCache::UpdateVertexInputState(
case VertexFormat::k_32_32_32_32:
// FIXME: Is this a NORM format?
assert_true(is_integer);
vertex_attrib_descr.format =
is_signed ? VK_FORMAT_R32G32B32A32_SINT : VK_FORMAT_R32_UINT;
vertex_attrib_descr.format = is_signed ? VK_FORMAT_R32G32B32A32_SINT
: VK_FORMAT_R32G32B32A32_UINT;
break;
case VertexFormat::k_32_FLOAT:
// assert_true(is_signed);