commit | a19dcdf9d5cc060443c6314bbe0016eb64048e38 | [log] [tgz] |
---|---|---|
author | Qiang Yu <yuq825@gmail.com> | Wed Aug 03 16:45:36 2022 +0800 |
committer | Marge Bot <emma+marge@anholt.net> | Fri Aug 26 05:50:30 2022 +0000 |
tree | c090cf464f6ba50beb5f66aaa3bb1e0fd59416e7 | |
parent | 1aef9c831873ef384b6f25e2eb8579505a8dbec1 [diff] |
nir,ac/llvm: add nir_intrinsic_load_viewport_xy_scale_and_offset Used by RADV/Radeonsi NGG culling. Pack them into a single vec4 load for radeonsi to reduce const buffer load. Acked-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17651>