mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 09:03:22 -05:00
With stride 0, OOB_SELECT 2 puts a fetch out of range only when NUM_RECORDS is 0, and OOB_SELECT 3 only when the offset is not below NUM_RECORDS (GFX10 table in Mesa ac_descriptors.c). A one-record descriptor therefore returns its whole element: Unreal's per-draw PrimitiveId stream is such a descriptor, and refusing it skipped the draw. A wholly out-of-range fetch reads a zero buffer.