mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 13:00:21 +01:00
intel/elk: Fix some tabs in gen4 URB setup.
This formatted terribly in my editor, just use spaces. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25190>
This commit is contained in:
parent
9d7a016ed1
commit
17ab39fbf8
1 changed files with 10 additions and 10 deletions
|
|
@ -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++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue