mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 19:21:55 +01:00
Add D24X8Unorm depth RT format support
This commit is contained in:
parent
d3af629b83
commit
71c37dd6c4
@ -278,6 +278,8 @@ namespace skyline::gpu::interconnect {
|
||||
return format::D32Float;
|
||||
case MaxwellDepthRtFormat::S8D24Unorm:
|
||||
return format::S8UintD24Unorm;
|
||||
case MaxwellDepthRtFormat::D24X8Unorm:
|
||||
return format::D24UnormX8Uint;
|
||||
case MaxwellDepthRtFormat::D24S8Unorm:
|
||||
return format::D24UnormS8Uint;
|
||||
case MaxwellDepthRtFormat::D32S8X24Float:
|
||||
|
@ -154,6 +154,11 @@ namespace skyline::gpu::format {
|
||||
FORMAT(D32Float, 32, eD32Sfloat, vka::eDepth, .swizzleMapping = {
|
||||
.g = vk::ComponentSwizzle::eR
|
||||
});
|
||||
FORMAT(D24UnormX8Uint, 32, eX8D24UnormPack32, .vkAspect = {
|
||||
vka::eDepth
|
||||
}, .swizzleMapping = {
|
||||
.g = vk::ComponentSwizzle::eR
|
||||
});
|
||||
FORMAT(D24UnormS8Uint, 32, eD24UnormS8Uint, .vkAspect = {
|
||||
vka::eStencil | vka::eDepth
|
||||
}, .swizzleMapping = {
|
||||
|
Loading…
Reference in New Issue
Block a user