mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 16:28:08 +02:00
util: add mapping from Vulkan to Gallium R64 integer formats
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7234>
This commit is contained in:
parent
bcc3d53587
commit
cff195087f
1 changed files with 3 additions and 1 deletions
|
|
@ -158,7 +158,9 @@ static const enum pipe_format vk_format_map[] = {
|
|||
[VK_FORMAT_R32G32B32A32_SINT] = PIPE_FORMAT_R32G32B32A32_SINT,
|
||||
[VK_FORMAT_R32G32B32A32_SFLOAT] = PIPE_FORMAT_R32G32B32A32_FLOAT,
|
||||
|
||||
/* Missing 64-bit uint/sint formats */
|
||||
[VK_FORMAT_R64_UINT] = PIPE_FORMAT_R64_UINT,
|
||||
[VK_FORMAT_R64_SINT] = PIPE_FORMAT_R64_SINT,
|
||||
/* Missing rest of 64-bit uint/sint formats */
|
||||
[VK_FORMAT_R64_SFLOAT] = PIPE_FORMAT_R64_FLOAT,
|
||||
[VK_FORMAT_R64G64_SFLOAT] = PIPE_FORMAT_R64G64_FLOAT,
|
||||
[VK_FORMAT_R64G64B64_SFLOAT] = PIPE_FORMAT_R64G64B64_FLOAT,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue