1
0
mirror of https://github.com/RPCS3/ps3autotests.git synced 2024-11-08 11:52:58 +01:00

Test updated: rsx/texture_formats

This commit is contained in:
Alexandro Sánchez Bach 2014-05-18 23:20:16 +02:00
parent f142ecdb51
commit 28bd25f60b
4 changed files with 2 additions and 2 deletions

View File

@ -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*

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB