mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 10:10:33 +01:00
r600/sfn: Fix comparison with different signedness
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6706>
This commit is contained in:
parent
2d6316cca4
commit
39e7bc23dd
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ bool VertexShaderFromNir::do_emit_load_deref(const nir_variable *in_var, nir_int
|
|||
if (i == 0)
|
||||
set_input(in_var->data.driver_location, src);
|
||||
|
||||
load_preloaded_value(instr->dest, i, src, i == instr->num_components - 1);
|
||||
load_preloaded_value(instr->dest, i, src, i == (unsigned)(instr->num_components - 1));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue