mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-28 10:45:28 +03:00
Fix depth-stencil formats
This commit is contained in:
parent
b4280a61ac
commit
179363a5e7
@ -94,10 +94,10 @@ namespace skyline::gpu::interconnect {
|
|||||||
TIC_FORMAT_CASE_INT_FLOAT(R32, R32);
|
TIC_FORMAT_CASE_INT_FLOAT(R32, R32);
|
||||||
TIC_FORMAT_CASE_ST(D32, D32, Float);
|
TIC_FORMAT_CASE_ST(D32, D32, Float);
|
||||||
TIC_FORMAT_CASE_NORM_INT_FLOAT(R16G16, R16G16);
|
TIC_FORMAT_CASE_NORM_INT_FLOAT(R16G16, R16G16);
|
||||||
TIC_FORMAT_CASE(R8G24, D24UnormS8Uint, Uint, Unorm, Unorm, Unorm);
|
TIC_FORMAT_CASE(R8G24, S8UintD24Unorm, Uint, Unorm, Unorm, Unorm);
|
||||||
TIC_FORMAT_CASE(S8D24, D24UnormS8Uint, Uint, Unorm, Uint, Uint);
|
TIC_FORMAT_CASE(S8D24, S8UintD24Unorm, Uint, Unorm, Uint, Uint);
|
||||||
TIC_FORMAT_CASE(S8D24, D24UnormS8Uint, Uint, Unorm, Unorm, Unorm);
|
TIC_FORMAT_CASE(S8D24, S8UintD24Unorm, Uint, Unorm, Unorm, Unorm);
|
||||||
TIC_FORMAT_CASE(D24S8, S8UintD24Unorm, Unorm, Uint, Uint, Uint);
|
TIC_FORMAT_CASE(D24S8, D24UnormS8Uint, Unorm, Uint, Uint, Uint);
|
||||||
|
|
||||||
TIC_FORMAT_CASE_ST(B10G11R11, B10G11R11, Float);
|
TIC_FORMAT_CASE_ST(B10G11R11, B10G11R11, Float);
|
||||||
TIC_FORMAT_CASE_NORM_INT(A8B8G8R8, R8G8B8A8);
|
TIC_FORMAT_CASE_NORM_INT(A8B8G8R8, R8G8B8A8);
|
||||||
|
@ -231,7 +231,7 @@ namespace skyline::gpu::format {
|
|||||||
.g = vk::ComponentSwizzle::eR,
|
.g = vk::ComponentSwizzle::eR,
|
||||||
.b = vk::ComponentSwizzle::eB,
|
.b = vk::ComponentSwizzle::eB,
|
||||||
.a = vk::ComponentSwizzle::eA,
|
.a = vk::ComponentSwizzle::eA,
|
||||||
});
|
}, true);
|
||||||
FORMAT(S8Uint, 32, eS8Uint, .vkAspect = {
|
FORMAT(S8Uint, 32, eS8Uint, .vkAspect = {
|
||||||
vka::eStencil
|
vka::eStencil
|
||||||
}, .swizzleMapping = {
|
}, .swizzleMapping = {
|
||||||
|
Loading…
Reference in New Issue
Block a user