AnyPS5/core/libs/prx/libSceAgcDriver/Graphics/include
Dean Galvin edb1358117 fix(agc): bind a 2D storage access to a 2D array surface as its first layer
A compute shader addressing an image with MIMG DIM 2D over a T# of type 2D
array was refused ("guest storage texture dimension disagrees with the
shader's declared image shape"). Such an access carries no slice
coordinate, so the hardware reads and writes slice 0 of the resource view,
which is the BASE_ARRAY layer of the surface.

The storage element is now bound through a 2D view of that layer of the
surface's shared storage image (StorageTexture::FirstLayerView, created on
demand per mip and released with the image). Every other shape/dimension
mismatch still throws, and both mismatch messages now name the shape and
the dimension.

The recorder test device sets formatProperties, which storage images need
to pick their Vulkan format.
2026-10-01 10:23:36 +03:00
..
BdaResources.hpp style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
BufferPool.hpp perf(agc): dispatch and draw recipes, data-only cache hits, unit shadows, bindless image tables 2026-09-26 19:00:40 -07:00
ColorTargetLayout.hpp perf(agc): batch GPU work in a recorder with host-imported guest memory 2026-09-25 16:27:49 -07:00
ColorTargetTransfer.hpp feat(agc): support tiled color target layout 2026-09-23 13:15:30 +03:00
Context.hpp feat(agc): apply a texture descriptor's MIN_LOD clamp through the image view 2026-10-01 08:30:05 +13:00
DccMetadata.hpp perf(agc): dispatch and draw recipes, data-only cache hits, unit shadows, bindless image tables 2026-09-26 19:00:40 -07:00
DepthSurface.hpp style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
Draw.hpp perf(agc): remember shader validation failures and reject repeats without throwing 2026-09-30 18:43:55 +02:00
GpuColorTransfer.hpp perf(agc): batch GPU work in a recorder with host-imported guest memory 2026-09-25 16:27:49 -07:00
GuestBufferMemory.hpp fix(agc): import shared guest memory through a read-write alias and never offer read-only pages 2026-09-30 17:17:17 +02:00
GuestSamplerResource.hpp fix(shader): distinguish descriptor resources by register 2026-09-23 12:20:33 +03:00
GuestTextureResource.hpp feat(agc): apply a texture descriptor's MIN_LOD clamp through the image view 2026-10-01 08:30:05 +13:00
Pipeline.hpp style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
PipelineCache.hpp feat(agc): persistent shader disk cache and Vulkan pipeline cache 2026-09-30 12:01:25 +03:00
Recorder.hpp style: drop the branch's code comments per CONVENTIONS.md 2026-09-29 21:25:29 +03:00
Resources.hpp perf(agc): dispatch and draw recipes, data-only cache hits, unit shadows, bindless image tables 2026-09-26 19:00:40 -07:00
Sampler.hpp perf(agc): batch GPU work in a recorder with host-imported guest memory 2026-09-25 16:27:49 -07:00
ShaderInputState.hpp feat(agc-driver): depth/stencil and mip-chain targets, more color formats 2026-09-29 21:22:15 +03:00
ShaderResources.hpp fix(agc): bind a 2D storage access to a 2D array surface as its first layer 2026-10-01 10:23:36 +03:00
Shaders.hpp feat(shader): translate NGG geometry programs to mesh shaders 2026-09-30 23:57:47 +13:00
State.hpp feat(shader): translate NGG geometry programs to mesh shaders 2026-09-30 23:57:47 +13:00
Texture.hpp fix(agc): bind a 2D storage access to a 2D array surface as its first layer 2026-10-01 10:23:36 +03:00
TextureCache.hpp perf(agc): keep render targets on gpu across draws 2026-09-24 21:30:00 +03:00
TextureDetiler.hpp perf(agc): dispatch and draw recipes, data-only cache hits, unit shadows, bindless image tables 2026-09-26 19:00:40 -07:00
TextureFormat.hpp fix(agc): keep BGRA color targets resident between draws 2026-09-28 16:26:02 +10:00
TextureSwizzleEquations.hpp perf(agc): batch GPU work in a recorder with host-imported guest memory 2026-09-25 16:27:49 -07:00
TextureTiling.hpp perf(agc): dispatch and draw recipes, data-only cache hits, unit shadows, bindless image tables 2026-09-26 19:00:40 -07:00
UnitShadow.hpp perf(agc): dispatch and draw recipes, data-only cache hits, unit shadows, bindless image tables 2026-09-26 19:00:40 -07:00
VertexInput.hpp feat(agc): decode the packed 2_10_10_10 and 10_11_11 float vertex buffer formats 2026-09-29 13:07:47 +13:00