diff --git a/tests/rsx/texture_formats/README.md b/tests/rsx/texture_formats/README.md index 265fcd5..b8dd568 100644 --- a/tests/rsx/texture_formats/README.md +++ b/tests/rsx/texture_formats/README.md @@ -1,4 +1,4 @@ -Before you run the test, make sure you run the `Texture_Generate.py` in order to generate all the remaining .RAW textures that will be used by the sample. In the end, following files should be present along the binary: +Before you run the test, make sure you run the `Texture_Generate.py` in order to generate all the remaining .RAW textures that will be used by the sample. In the end, following files should be inside the */app_home/* folder: * *Texture-B8.raw* * *Texture-A1R5G5B5.raw* * *Texture-A4R4G4B4.raw* diff --git a/tests/rsx/texture_formats/Texture_Generate.py b/tests/rsx/texture_formats/Texture_Generate.py index 9fcf18e..695699e 100644 --- a/tests/rsx/texture_formats/Texture_Generate.py +++ b/tests/rsx/texture_formats/Texture_Generate.py @@ -95,7 +95,7 @@ w.close() #COMPRESSED_R8B8_R8G8 -w = open("Texture-COMPRESSED_B8R8_G8R8.raw", "wb") +w = open("Texture-COMPRESSED_R8B8_R8G8.raw", "wb") for y in range(img.size[0])[::-1]: for x in range(0, img.size[1], 2): b = (pix[x + 0, y][2] + pix[x + 1, y][2]) / 2 diff --git a/tests/rsx/texture_formats/texture_formats.expected.png b/tests/rsx/texture_formats/texture_formats.expected.png new file mode 100644 index 0000000..0c5b86d Binary files /dev/null and b/tests/rsx/texture_formats/texture_formats.expected.png differ diff --git a/tests/rsx/texture_formats/texture_formats.ppu.elf b/tests/rsx/texture_formats/texture_formats.ppu.elf index fa08bf4..0a729a7 100644 Binary files a/tests/rsx/texture_formats/texture_formats.ppu.elf and b/tests/rsx/texture_formats/texture_formats.ppu.elf differ