From 2d108bb672e2096329fb563179d2acd58713d049 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Jan 2023 20:11:55 -0600 Subject: [PATCH] nvk: Call nir_lower_input_attachments Part-of: --- src/nouveau/vulkan/nvk_shader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nouveau/vulkan/nvk_shader.c b/src/nouveau/vulkan/nvk_shader.c index 46c53fd..a27d4ce 100644 --- a/src/nouveau/vulkan/nvk_shader.c +++ b/src/nouveau/vulkan/nvk_shader.c @@ -175,6 +175,8 @@ nvk_lower_nir(struct nvk_device *device, nir_shader *nir, if (nir->info.stage == MESA_SHADER_FRAGMENT) { NIR_PASS(_, nir, nir_shader_instructions_pass, lower_fragcoord_instr, nir_metadata_block_index | nir_metadata_dominance, NULL); + NIR_PASS(_, nir, nir_lower_input_attachments, + &(nir_input_attachment_options) { }); } nir_lower_compute_system_values_options csv_options = { -- 2.7.4