Vulkan: Convert VertexBuffer to Contain Supported Attributes #107733
|
@ -389,7 +389,7 @@ static VkFormat to_vk_format_float(const GPUVertCompType type, const uint32_t si
|
|||
case GPU_COMP_I32:
|
||||
case GPU_COMP_U32:
|
||||
/* NOTE: GPU_COMP_I32/U32 using GPU_FETCH_INT_TO_FLOAT isn't natively supported. These are
|
||||
* converted on the host and therefor needs to be attached as signed floats. */
|
||||
* converted on host-side to signed floats. */
|
||||
Jeroen-Bakker marked this conversation as resolved
Outdated
|
||||
switch (size) {
|
||||
case 4:
|
||||
return VK_FORMAT_R32_SFLOAT;
|
||||
|
|
Loading…
Reference in New Issue
spelling