abaire / nxdk_pgraph_tests

Tests to verify xemu handling of various pushbuffer commands
Other
12 stars 9 forks source link

Adds DXT1 texture test #54

Closed Metalsasi closed 2 years ago

Metalsasi commented 2 years ago

Adds simple DXT1 texture test. For now the compression logic is not exact, as not all the colors are sampled and compared. Instead only one color is sampled and used in all the 16 color codes the format allows (expect if alpha is bigger equals than 0.5 . This makes the texture look more pixelated, but it is still enough for testing. Refecence used: https://www.khronos.org/opengl/wiki/S3_Texture_Compression

Metalsasi commented 2 years ago

I do not plan any more changes for this PR. I think this is ready. The PR for custom resolution will come soon.