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:
parent
f142ecdb51
commit
28bd25f60b
@ -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*
|
||||
|
@ -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
|
||||
|
BIN
tests/rsx/texture_formats/texture_formats.expected.png
Normal file
BIN
tests/rsx/texture_formats/texture_formats.expected.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 121 KiB |
Binary file not shown.
Loading…
Reference in New Issue
Block a user