mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-26 20:01:48 +01:00
Implement 5x5 and 10x10 ASTC texture formats
This commit is contained in:
parent
cc5a3f99c1
commit
deb7a0e22a
@ -2173,10 +2173,14 @@ namespace skyline::gpu::interconnect {
|
||||
|
||||
TIC_FORMAT_CASE_ST(Astc4x4, Astc4x4, Unorm);
|
||||
TIC_FORMAT_CASE_ST_SRGB(Astc4x4, Astc4x4, Unorm);
|
||||
TIC_FORMAT_CASE_ST(Astc5x5, Astc5x5, Unorm);
|
||||
TIC_FORMAT_CASE_ST_SRGB(Astc5x5, Astc5x5, Unorm);
|
||||
TIC_FORMAT_CASE_ST(Astc6x6, Astc6x6, Unorm);
|
||||
TIC_FORMAT_CASE_ST_SRGB(Astc6x6, Astc6x6, Unorm);
|
||||
TIC_FORMAT_CASE_ST(Astc8x8, Astc8x8, Unorm);
|
||||
TIC_FORMAT_CASE_ST_SRGB(Astc8x8, Astc8x8, Unorm);
|
||||
TIC_FORMAT_CASE_ST(Astc10x10, Astc10x10, Unorm);
|
||||
TIC_FORMAT_CASE_ST_SRGB(Astc10x10, Astc10x10, Unorm);
|
||||
TIC_FORMAT_CASE_ST(BC2, BC2, Unorm);
|
||||
TIC_FORMAT_CASE_ST_SRGB(BC2, BC2, Unorm);
|
||||
TIC_FORMAT_CASE_ST(BC3, BC3, Unorm);
|
||||
|
@ -136,6 +136,10 @@ namespace skyline::gpu::format {
|
||||
.blockWidth = 4,
|
||||
.blockHeight = 4
|
||||
);
|
||||
FORMAT_SUFF_UNORM_SRGB(Astc5x5, 128, eAstc5x5, Block,
|
||||
.blockWidth = 5,
|
||||
.blockHeight = 5
|
||||
);
|
||||
FORMAT_SUFF_UNORM_SRGB(Astc6x6, 128, eAstc6x6, Block,
|
||||
.blockWidth = 6,
|
||||
.blockHeight = 6
|
||||
@ -144,6 +148,10 @@ namespace skyline::gpu::format {
|
||||
.blockWidth = 8,
|
||||
.blockHeight = 8
|
||||
);
|
||||
FORMAT_SUFF_UNORM_SRGB(Astc10x10, 128, eAstc10x10, Block,
|
||||
.blockWidth = 10,
|
||||
.blockHeight = 10
|
||||
);
|
||||
|
||||
// Depth/Stencil Formats
|
||||
// All of these have a G->R swizzle
|
||||
|
Loading…
Reference in New Issue
Block a user