GLdc/GL
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
..
alloc Fix alloc_count_continuous calculation 2025-02-03 06:53:16 +11:00
platforms texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
attributes.c Fix fast path calculation 2026-05-03 21:31:58 +01:00
config.h
draw_fastpath.inc Fix behaviour of current color, normal etc. 2026-03-04 21:04:24 +00:00
draw.c texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
error.c Move error handling code into the cold path 2025-02-01 19:58:22 +11:00
flush.c texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
fog.c ifdef-ing more DC-specifics from Nehe16 2025-02-18 22:04:49 -06:00
framebuffer.c Fix gluBuild2DMipmaps not returning a value 2025-03-31 21:08:53 +11:00
gl_assert.h Clean ups and optimisations 2022-08-25 21:24:08 +01:00
glu.c Fix gluBuild2DMipmaps not returning a value 2025-03-31 21:08:53 +11:00
immediate.c Fix behaviour of current color, normal etc. 2026-03-04 21:04:24 +00:00
lighting.c Many texture and lighting fixes 2026-05-04 08:59:12 +01:00
matrix.c Merge branch 'tnl_effects' into 'master' 2025-05-24 20:19:01 +00:00
platform.h texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
private.h texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
state.c texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
state.h Add tests 2026-04-20 22:23:31 +01:00
texture.c texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
tnl_effects.c Start refactoring everything 2026-02-23 21:41:00 +00:00
types.h More float color work 2026-02-28 14:26:22 +00:00
util.c More float color work 2026-02-28 14:26:22 +00:00
version.c.in