KhronosGroup / Vulkan-Docs

The Vulkan API Specification and related tools
Other
2.7k stars 452 forks source link

unclear interaction between vkCmdClearColorImage and R64 formats #2375

Closed AlexRouSg closed 1 month ago

AlexRouSg commented 1 month ago

since vkCmdClearColorImage only takes 32 bits per component in the VkClearColorValue, it is unclear what happens with formats that have 64 bits per component. does it only set the lower 32 bits? does it clear the upper 32 bits? does it read the first 64 bits of VkClearColorValue? or is it completely invalid to call vkCmdClearColorImage on formats > 32 bits?

HansKristian-Work commented 1 month ago

We have a spec fix in flight that clarifies this. 2 uints will be interpreted as 64-bits, and clears above RG64 will not be allowed (if a need arises, we'll have to add an extension).

oddhack commented 1 month ago

This should be fixed in the 1.3.287 spec update