GLdc/samples
GPF f11f7c966a texture: fix Dreamcast hardware texture and scissor regressions
Fix several Dreamcast hardware regressions found while testing real PVR behavior.

- Upload the default white texture through the platform texture loader instead of memcpy directly into PVR texture memory.
- Add GPUTextureLoad so SH4 uses pvr_txr_load while the software backend keeps memcpy behavior.
- Track scissor/userclip application per polygon list and invalidate scissor state at buffer swap.
- Submit queued geometry before USERCLIP/header transitions in the SH4 submit path.
- Remove the stale packed 4bpp source-size double-halving in glTexImage2D.
- Add texture regression coverage for packed 4bpp, unpack row length, compressed palette4 forwarding, and 8bpp-to-4bpp packing.
- Update the scissor sample and add polygon_compare as a small hardware comparison sample.

Verified:
- make -C dcbuild gldc_tests scissor polygon_compare
- scissor sample on Dreamcast hardware
- polygon_compare sample on Dreamcast hardware
- existing strided texture sample on Dreamcast hardware
2026-07-03 09:37:12 -07:00
..
blend_test
cubes
depth_funcs
depth_funcs_alpha_testing
depth_funcs_ortho
lerabot01
lights
mipmap
multitexture_arrays
nehe02
nehe02de
nehe02va
nehe03
nehe04
nehe05
nehe06
nehe06_4444twid
nehe06_dt
nehe06_strided
nehe06_vq
nehe08 samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe10
nehe16
nehe20
nehe20_strided
ortho2d
paletted
paletted_pcx
polygon_compare texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
polygon_offset
polymark
primitive_modes
prof_texture_upload
quadmark
scissor texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
terrain
tnl_effects
trimark
zclip
zclip_triangle
zclip_trianglestrip
loadbmp.c
loadbmp.h
profiler.c
profiler.h