summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-07-30 15:20:00 -0700
committerKenneth Graunke <[email protected]>2018-10-14 23:36:28 -0700
commit38a23517fdc2c4bce5d72cc32cac2b543b460d77 (patch)
tree43fc42348c98af522d9b40bcd5939ef2957c5e56 /src/amd/vulkan
parentc3d219837af66b4299ab7e746b65ff33a0a6ca0d (diff)
gallium/u_transfer_helper: Add support for separate Z24/S8 as well.
u_transfer_helper already had code to handle treating packed Z32_S8 as separate Z32_FLOAT and S8_UINT resources, since some drivers can't handle that interleaved format natively. Other hardware needs depth and stencil as separate resources for all formats. For example, V3D3 needs this for 24-bit depth as well. This patch adds a new flag to lower all depth/stencils formats, and implements support for Z24_UNORM_S8_UINT. (S8_UINT_Z24_UNORM is left as an exercise to the reader, preferably someone who has access to a machine that uses that format.) Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
0 files changed, 0 insertions, 0 deletions