mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 10:00:14 +01:00
nir: Fix a compile warning
This commit is contained in:
parent
908d5ee9eb
commit
f9b2f10a41
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ add_var_xfb_outputs(nir_xfb_info *xfb,
|
|||
} else {
|
||||
comp_slots = glsl_get_component_slots(type);
|
||||
|
||||
unsigned attrib_slots = DIV_ROUND_UP(comp_slots, 4);
|
||||
UNUSED unsigned attrib_slots = DIV_ROUND_UP(comp_slots, 4);
|
||||
assert(attrib_slots == glsl_count_attribute_slots(type, false));
|
||||
|
||||
/* Ensure that we don't have, for instance, a dvec2 with a
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue