mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 17:13:13 -05:00
10_11_11_UNORM (format 30) images are read and written through an R32_UINT view, so the hardware sampler cannot filter them. image_sample of a 2D or 2D array view now fetches the one or four texels at LOD 0, decodes them and blends them in the shader, with bilinear weights on the 8-bit grid, for point or bilinear filtering with wrap or clamp-to-edge addressing. A shader gets the converted sample mode only after a converted descriptor reaches one of its sampled images: that capture throws ConvertedSampleRequired and the driver prepares the program again with GuestContext::convertedSamples. The R10_G11_B11 float format is sampled natively since #7271 and keeps its refusal on the converted path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>