mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-06 09:31:58 +00:00
A formatted buffer access whose V# data format is 0 made the binding builder throw "buffer specialization has an unsupported format" when the descriptor was known. GCN gives that format the meaning of an unbound resource, which returns zeros and writes nothing; the emitted format switch already does that for format 0, so the builder now lets it through. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
986 B
986 B
shader
add Unknown function info
- GCN V# with DATA_FORMAT INVALID (shader, PS4) -
buffer_load_format_*through a V# whose DATA_FORMAT is 0 returns zeros andbuffer_store_format_*writes nothing when the V# comes from user data or another snapshot source (DescriptorBindingBuilder, pinned in GcnInvalidBufferFormat.cpp). The GCN3 ISA guide (rev 1.1, section 8.1.4) gives that format the meaning "unbound resource", and its table 8.9 note says an unbound buffer returns 0,0,0,0. A V# the shader loads from memory at run time still records anInvalidDescriptorfault and stops the invocation, and a formatted access whose V# word 3 is a constant with that format still throws. Not measured on a PS4; the PS5's gfx1013 is not checked.