{ "piece": "3D explicit-gradient texture samples", "status": "cpu_only", "rank": 21, "sentences": [ "For `image_sample_d` and `image_sample_d_cl` on a 3D view, the first six address VGPRs contain dP/dx.xyz and dP/dy.xyz.", "XYZ and the optional minimum LOD follow.", "With `a16`, the six derivative VGPRs still hold f32; the following two words contain packed f16 coordinates and the optional clamp.", "The hand-written `tests/semantic/fixtures/volume_gradients.asm` checks the source registers of both gradients, coordinates and clamp.", "LLVM gfx1030 assembles all four forms and their modules validate for Vulkan 1.2. [LLVM GFX10 address sizing](https://reviews.llvm.org/D102231) and [SPIR-V Grad operands](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Image_Operands)" ] }