nir/lower_input_attachments: Refactor to use an options struct
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 1 Jul 2020 14:55:46 +0000 (16:55 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 16:36:43 +0000 (16:36 +0000)
commite72895767bc5201215e27ac607bde24af114bb60
tree2ac79df8ebac2b99a747110b045b077a1d10ec3c
parent340c73d4efd6198df077bc0f8b4e670df42f6ec6
nir/lower_input_attachments: Refactor to use an options struct

While we're at it, fold the details of how to load the fragcoord into
load_fragcoord().

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5719>
src/amd/vulkan/radv_shader.c
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_input_attachments.c
src/freedreno/vulkan/tu_shader.c
src/intel/vulkan/anv_pipeline.c