radv: call nir_io_add_const_offset_to_base for FS outputs
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 Sep 2020 14:09:13 +0000 (16:09 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 29 Sep 2020 14:44:05 +0000 (14:44 +0000)
commit4dae9e53f6afa9c02e6dd5bfe4d522b647d93b98
treef7eab6cb53ce1769fd7aad72c1a0fae5fcfea5f4
parent85074ec5f6c57a8d1d391e86032285721ae773dd
radv: call nir_io_add_const_offset_to_base for FS outputs

The store_output of RADV/LLVM expects the const offset to be 0.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Acked-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6865>
src/amd/vulkan/radv_shader.c