diff options
| author | Shuvam Pandey <shuvampandey1@gmail.com> | 2026-11-22 04:15:43 +0545 |
|---|---|---|
| committer | Shuvam Pandey <shuvampandey1@gmail.com> | 2026-11-22 04:15:43 +0545 |
| commit | b9552cd924a4527d9bee41a04456f6e285050a79 (patch) | |
| tree | 94a59177d16e9bffcd6069334a594c1279781005 /runtime/test/loader_test.cpp | |
| parent | 36ace7135e897c228eede5d1d8c28e972285cb14 (diff) | |
Translator: convert cube sample coordinates for the 2D-array view
The hardware takes a cube sample's s and t in [1, 2] and its third
coordinate as 8 * slice + face (Mesa ac_nir_lower_tex_coords.c, LLPC
ImageBuilder.cpp). Samples and gathers passed them unchanged to the
6-layer 2D-array view; they now use s - 1, t - 1 and layer
6 * slice + face.
ps_cube_sample checks every pixel on a GPU (vk_texture_test cube), and
test_cube_sample checks the coordinates without one.
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions