mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-16 04:28:57 +02:00
GPU: Added the stencil test structure to the Pica Regs struct.
This commit is contained in:
parent
155cc80e3b
commit
1248e291f0
7 changed files with 76 additions and 61 deletions
|
|
@ -81,9 +81,9 @@ inline void Write(u32 addr, const T data) {
|
|||
if (config.fill_24bit) {
|
||||
// fill with 24-bit values
|
||||
for (u8* ptr = start; ptr < end; ptr += 3) {
|
||||
ptr[0] = config.value_24bit_r;
|
||||
ptr[0] = config.value_24bit_b;
|
||||
ptr[1] = config.value_24bit_g;
|
||||
ptr[2] = config.value_24bit_b;
|
||||
ptr[2] = config.value_24bit_r;
|
||||
}
|
||||
} else if (config.fill_32bit) {
|
||||
// fill with 32-bit values
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue