mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-07-07 22:50:43 +00:00
Add a transparent pvr image test
This commit is contained in:
parent
6c8eea5520
commit
5020f81f00
|
@ -76,7 +76,7 @@ IF(PVRTEXLIB_FOUND)
|
||||||
|
|
||||||
# Copy the .pvr files that we will use for testing...
|
# Copy the .pvr files that we will use for testing...
|
||||||
SET(TEST_IMAGES
|
SET(TEST_IMAGES
|
||||||
gradient white gray
|
gradient white gray transparent
|
||||||
)
|
)
|
||||||
FOREACH(IMAGE ${TEST_IMAGES})
|
FOREACH(IMAGE ${TEST_IMAGES})
|
||||||
FILE(COPY
|
FILE(COPY
|
||||||
|
|
|
@ -119,3 +119,7 @@ TEST(Decompressor, DecompressGray) {
|
||||||
ImageTester("gray.pvr");
|
ImageTester("gray.pvr");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST(Decompressor, DecompressTransparent) {
|
||||||
|
ImageTester("transparent.pvr");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
BIN
PVRTCEncoder/test/data/transparent.pvr
Normal file
BIN
PVRTCEncoder/test/data/transparent.pvr
Normal file
Binary file not shown.
Loading…
Reference in a new issue