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 Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
cubes Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
depth_funcs Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
depth_funcs_alpha_testing samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
depth_funcs_ortho Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
lerabot01 samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
lights samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
mipmap samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
multitexture_arrays samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe02 More float color work 2026-02-28 14:26:22 +00:00
nehe02de Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
nehe02va Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
nehe03 Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
nehe04 Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
nehe05 Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
nehe06 samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe06_4444twid samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe06_dt samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe06_strided samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe06_vq samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe08 samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe10 samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe16 samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe20 samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
nehe20_strided samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
ortho2d Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
paletted samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
paletted_pcx samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
polygon_compare texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
polygon_offset Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
polymark Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
primitive_modes Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
prof_texture_upload Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
quadmark Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
scissor texture: fix Dreamcast hardware texture and scissor regressions 2026-07-03 09:37:12 -07:00
terrain Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
tnl_effects Fix failing tests 2026-05-04 10:35:21 +01:00
trimark Fixed poly/tri/quadmarks to build with GCC12 2023-03-04 17:35:17 -06:00
zclip samples: Fix dual inclusion of romdisk file 2026-06-27 12:14:33 +02:00
zclip_triangle Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
zclip_trianglestrip Change all ifdefs to support both DC & Naomi 2025-02-22 14:42:00 +01:00
loadbmp.c Nehe20 Build Fix + Warnings cleanup for GCC14.1.0. 2024-07-31 20:35:34 -05:00
loadbmp.h regroup the BMP file loading into 1 file, and correct some types that give... 2022-01-31 10:30:26 +00:00
profiler.c Nehe20 Build Fix + Warnings cleanup for GCC14.1.0. 2024-07-31 20:35:34 -05:00
profiler.h