Vulkan: 32_32_32_32 had wrong unsigned format.
This commit is contained in:
parent
90b8f983d0
commit
1570dcd24c
|
@ -978,8 +978,8 @@ PipelineCache::UpdateStatus PipelineCache::UpdateVertexInputState(
|
||||||
case VertexFormat::k_32_32_32_32:
|
case VertexFormat::k_32_32_32_32:
|
||||||
// FIXME: Is this a NORM format?
|
// FIXME: Is this a NORM format?
|
||||||
assert_true(is_integer);
|
assert_true(is_integer);
|
||||||
vertex_attrib_descr.format =
|
vertex_attrib_descr.format = is_signed ? VK_FORMAT_R32G32B32A32_SINT
|
||||||
is_signed ? VK_FORMAT_R32G32B32A32_SINT : VK_FORMAT_R32_UINT;
|
: VK_FORMAT_R32G32B32A32_UINT;
|
||||||
break;
|
break;
|
||||||
case VertexFormat::k_32_FLOAT:
|
case VertexFormat::k_32_FLOAT:
|
||||||
// assert_true(is_signed);
|
// assert_true(is_signed);
|
||||||
|
|
Loading…
Reference in New Issue