AnyPS5/core/shader/recompiler/IntermediateRepresentation
Gjon Gojcevic 63ed0ffeaf feat(agc): sample the base level through unnormalized samplers
The hardware ignores the LOD for unnormalized coordinates and samples the
base level. A sampler used only by explicit-LOD, implicit-LOD, bias and
gradient samples gets a pipeline specialization constant set from its
unnormalized bit when the binding plan is prepared. When the constant is
set, each of its samples is emitted as OpImageSampleExplicitLod with LOD 0,
which is what Vulkan requires of unnormalized samplers. Otherwise the
sample keeps its own form. Such shaders are no longer refused.
2026-10-12 22:58:16 -04:00
..
include/IntermediateRepresentation feat(agc): sample the base level through unnormalized samplers 2026-10-12 22:58:16 -04:00
src fix(shader): keep direct VGPR accesses in SSA when the window has only relative reads 2026-10-13 13:59:35 +13:00