Add astc to ninja scripts (#2959)

Co-authored-by: Raziel Alphadios <raziely@gmail.com>
This commit is contained in:
Raziel Alphadios 2022-10-21 08:16:44 +03:00 committed by GitHub
parent 4ec3ab3532
commit 4f76738e96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View File

@ -4,6 +4,12 @@ build $textures/texture_compression_bc1.ktx: texturec_bc1 $pwd/texture-compres
build $textures/texture_compression_bc2.ktx: texturec_bc2 $pwd/texture-compression-test.png
build $textures/texture_compression_bc3.ktx: texturec_bc3 $pwd/texture-compression-test.png
build $textures/texture_compression_bc7.ktx: texturec_bc7 $pwd/texture-compression-test.png
build $textures/texture_compression_astc_4x4.dds: texturec_astc4x4 $pwd/texture-compression-test.png
build $textures/texture_compression_astc_5x5.dds: texturec_astc5x5 $pwd/texture-compression-test.png
build $textures/texture_compression_astc_6x6.dds: texturec_astc6x6 $pwd/texture-compression-test.png
build $textures/texture_compression_astc_8x5.dds: texturec_astc8x5 $pwd/texture-compression-test.png
build $textures/texture_compression_astc_8x6.dds: texturec_astc8x6 $pwd/texture-compression-test.png
build $textures/texture_compression_astc_10x5.dds: texturec_astc10x5 $pwd/texture-compression-test.png
build $textures/texture_compression_etc1.ktx: texturec_etc1 $pwd/texture-compression-test.png
build $textures/texture_compression_etc2.ktx: texturec_etc2 $pwd/texture-compression-test.png

View File

@ -29,6 +29,24 @@ rule texturec_bc5
rule texturec_bc7
command = texturec -f $in -o $out -t bc7 -m
rule texturec_astc4x4
command = texturec -f $in -o $out -t astc4x4 -m
rule texturec_astc5x5
command = texturec -f $in -o $out -t astc5x5 -m
rule texturec_astc6x6
command = texturec -f $in -o $out -t astc6x6 -m
rule texturec_astc8x5
command = texturec -f $in -o $out -t astc8x5 -m
rule texturec_astc8x6
command = texturec -f $in -o $out -t astc8x6 -m
rule texturec_astc10x5
command = texturec -f $in -o $out -t astc10x5 -m
rule texturec_etc1
command = texturec -f $in -o $out -t etc1 -m