From 17ab39fbf8bcac8cb13df0bb2ad7f4f9cdaa0a37 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Tue, 12 Sep 2023 12:19:11 -0700 Subject: [PATCH] intel/elk: Fix some tabs in gen4 URB setup. This formatted terribly in my editor, just use spaces. Reviewed-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/elk/elk_fs.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/intel/compiler/elk/elk_fs.cpp b/src/intel/compiler/elk/elk_fs.cpp index 6e24c509701..139f703cbc1 100644 --- a/src/intel/compiler/elk/elk_fs.cpp +++ b/src/intel/compiler/elk/elk_fs.cpp @@ -1451,17 +1451,17 @@ calculate_urb_setup(const struct intel_device_info *devinfo, if (i == VARYING_SLOT_PSIZ) continue; - if (key->input_slots_valid & BITFIELD64_BIT(i)) { - /* The back color slot is skipped when the front color is - * also written to. In addition, some slots can be - * written in the vertex shader and not read in the - * fragment shader. So the register number must always be - * incremented, mapped or not. - */ - if (_mesa_varying_slot_in_fs((gl_varying_slot) i)) - prog_data->urb_setup[i] = urb_next; + if (key->input_slots_valid & BITFIELD64_BIT(i)) { + /* The back color slot is skipped when the front color is + * also written to. In addition, some slots can be + * written in the vertex shader and not read in the + * fragment shader. So the register number must always be + * incremented, mapped or not. + */ + if (_mesa_varying_slot_in_fs((gl_varying_slot) i)) + prog_data->urb_setup[i] = urb_next; urb_next++; - } + } } /*