Hardware: AMD Ryzen 5 4500U with Radeon Graphics / Hitachi SH-4 SH7091 with Holly Graphics
Description of the Issue
Flycast appears to ignore the palette selector from the second texture control word for a "with two volumes" polygon, and instead uses the palette selector from the first texture control word for both textures. Minimal testcase attached.
Platform / OS / Hardware: Linux / Dreamcast
Github hash: e85fa82101813ba803a071cfa6d6f8983f0a1f5c
Hardware: AMD Ryzen 5 4500U with Radeon Graphics / Hitachi SH-4 SH7091 with Holly Graphics
Description of the Issue
Flycast appears to ignore the palette selector from the second texture control word for a "with two volumes" polygon, and instead uses the palette selector from the first texture control word for both textures. Minimal testcase attached.
Debugging Steps Tested
sierpinski.elf.zip
Flycast, running
sierpinski.elf
, produces this image (incorrect result):Real hardware, running
sierpinski.bin
, produces this image (expected result):Specifically, the color/palette of the strawberry texture in the Flycast screenshot is incorrect.
Logs Gathered
Global parameter: polygon type 3 Vertex parameter: polygon type 11
Screenshots
(screenshots relocated to description section)