mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
[amdgpu] avoid use of VK_FORMAT_D24_UNORM_S8_UINT
This commit is contained in:
parent
450fd30889
commit
2f4924c33b
1 changed files with 1 additions and 1 deletions
|
|
@ -1693,7 +1693,7 @@ static VkFormat surfaceFormatToVkFormat(SurfaceFormat surface,
|
|||
case kSurfaceFormat24_8:
|
||||
switch (channel) {
|
||||
case kTextureChannelTypeUNorm:
|
||||
return VK_FORMAT_D24_UNORM_S8_UINT;
|
||||
return VK_FORMAT_D32_SFLOAT_S8_UINT; // HACK for amdgpu
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue