mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-01 16:24:12 +01:00
[dxvk] Add packed size to depth-stencil formats
This commit is contained in:
parent
1c98b0f6d3
commit
0dbac29729
@ -428,7 +428,7 @@ namespace dxvk {
|
||||
{ 2, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
|
||||
// VK_FORMAT_X8_D24_UNORM_PACK32
|
||||
{ 0, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
{ 4, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
|
||||
// VK_FORMAT_D32_SFLOAT
|
||||
{ 4, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
@ -437,13 +437,13 @@ namespace dxvk {
|
||||
{ 1, VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
|
||||
// VK_FORMAT_D16_UNORM_S8_UINT
|
||||
{ 0, VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
{ 4, VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
|
||||
// VK_FORMAT_D24_UNORM_S8_UINT
|
||||
{ 0, VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
{ 4, VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
|
||||
// VK_FORMAT_D32_SFLOAT_S8_UINT
|
||||
{ 0, VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
{ 8, VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
|
||||
// VK_FORMAT_BC1_RGB_UNORM_BLOCK
|
||||
{ 8, VK_IMAGE_ASPECT_COLOR_BIT,
|
||||
|
Loading…
Reference in New Issue
Block a user