mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[dxvk] Added correct element size to depth-only and stencil-only formats
Fixes depth-to-color image copies in Elex and Neptunia VII.
This commit is contained in:
parent
8cd97959f2
commit
f68bf1a187
@ -418,16 +418,16 @@ namespace dxvk {
|
||||
{ 4, VK_IMAGE_ASPECT_COLOR_BIT },
|
||||
|
||||
// VK_FORMAT_D16_UNORM
|
||||
{ 0, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
{ 2, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
|
||||
// VK_FORMAT_X8_D24_UNORM_PACK32
|
||||
{ 0, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
|
||||
// VK_FORMAT_D32_SFLOAT
|
||||
{ 0, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
{ 4, VK_IMAGE_ASPECT_DEPTH_BIT },
|
||||
|
||||
// VK_FORMAT_S8_UINT
|
||||
{ 0, VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
{ 1, VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
|
||||
// VK_FORMAT_D16_UNORM_S8_UINT
|
||||
{ 0, VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT },
|
||||
|
Loading…
Reference in New Issue
Block a user