Vulkan: Convert VertexBuffer to Contain Supported Attributes #107733

Merged
Jeroen Bakker merged 7 commits from Jeroen-Bakker/blender:vulkan-attribute-data-conversions into main 2023-05-11 12:23:29 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 90a1b998b3 - Show all commits

View File

@ -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

spelling

spelling
switch (size) {
case 4:
return VK_FORMAT_R32_SFLOAT;