mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 17:35:29 +03:00
Add BC2/3 format support
This commit is contained in:
parent
2253bc3151
commit
6e48460c0d
@ -1686,6 +1686,8 @@ namespace skyline::gpu::interconnect {
|
|||||||
TIC_FORMAT_CASE_NORM_INT(A2B10G10R10, A2B10G10R10, R, G, B, A);
|
TIC_FORMAT_CASE_NORM_INT(A2B10G10R10, A2B10G10R10, R, G, B, A);
|
||||||
TIC_FORMAT_CASE_ST(Astc4x4, Astc4x4, Unorm, R, G, B, A);
|
TIC_FORMAT_CASE_ST(Astc4x4, Astc4x4, Unorm, R, G, B, A);
|
||||||
TIC_FORMAT_CASE_ST(Dxt1, Bc1, Unorm, R, G, B, A);
|
TIC_FORMAT_CASE_ST(Dxt1, Bc1, Unorm, R, G, B, A);
|
||||||
|
TIC_FORMAT_CASE_ST(Dxt23, Bc2, Unorm, R, G, B, A);
|
||||||
|
TIC_FORMAT_CASE_ST(Dxt45, Bc3, Unorm, R, G, B, A);
|
||||||
TIC_FORMAT_CASE_ST(Dxn1, Bc4111R, Unorm, OneFloat, OneFloat, OneFloat, R);
|
TIC_FORMAT_CASE_ST(Dxn1, Bc4111R, Unorm, OneFloat, OneFloat, OneFloat, R);
|
||||||
TIC_FORMAT_CASE_ST(Dxn1, Bc4RRR1, Unorm, R, R, R, OneFloat);
|
TIC_FORMAT_CASE_ST(Dxn1, Bc4RRR1, Unorm, R, R, R, OneFloat);
|
||||||
TIC_FORMAT_CASE_ST(BC7U, Bc7, Unorm, R, G, B, A);
|
TIC_FORMAT_CASE_ST(BC7U, Bc7, Unorm, R, G, B, A);
|
||||||
|
@ -101,6 +101,16 @@ namespace skyline::gpu::format {
|
|||||||
.blockHeight = 4
|
.blockHeight = 4
|
||||||
);
|
);
|
||||||
|
|
||||||
|
FORMAT_SUFF_UNORM_SRGB(Bc2, 64, eBc2, Block,
|
||||||
|
.blockWidth = 4,
|
||||||
|
.blockHeight = 4
|
||||||
|
);
|
||||||
|
|
||||||
|
FORMAT_SUFF_UNORM_SRGB(Bc3, 64, eBc3, Block,
|
||||||
|
.blockWidth = 4,
|
||||||
|
.blockHeight = 4
|
||||||
|
);
|
||||||
|
|
||||||
FORMAT_SUFF_NORM(Bc4111R, 64, eBc4, Block,
|
FORMAT_SUFF_NORM(Bc4111R, 64, eBc4, Block,
|
||||||
.blockWidth = 4,
|
.blockWidth = 4,
|
||||||
.blockHeight = 4,
|
.blockHeight = 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user