mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 04:40:39 +02:00
gallium/nir/tgsi: fixup indentation
This was using mixed tabs and spaces, let's fix that before we start
modifying the code.
Fixes: 42b5cfdbd2 ("gallivm/nir: fix vulkan vertex inputs")
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12440>
This commit is contained in:
parent
bb4db22ff4
commit
4674698008
1 changed files with 5 additions and 5 deletions
|
|
@ -581,11 +581,11 @@ void nir_tgsi_scan_shader(const struct nir_shader *nir,
|
|||
} else {
|
||||
int max = -1;
|
||||
nir_foreach_shader_in_variable(var, nir) {
|
||||
int slots = glsl_count_attribute_slots(var->type, false);
|
||||
int tmax = var->data.driver_location + slots - 1;
|
||||
if (tmax > max)
|
||||
max = tmax;
|
||||
info->file_max[TGSI_FILE_INPUT] = max;
|
||||
int slots = glsl_count_attribute_slots(var->type, false);
|
||||
int tmax = var->data.driver_location + slots - 1;
|
||||
if (tmax > max)
|
||||
max = tmax;
|
||||
info->file_max[TGSI_FILE_INPUT] = max;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue