mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 13:40:11 +01:00
glsl2: Fix typo in clamp() constant builtin using uint instead of int.
I take back the bad things I've said about the signed/unsigned comparison warning now.
This commit is contained in:
parent
47f305a4fc
commit
c8babd5d9b
1 changed files with 1 additions and 1 deletions
|
|
@ -856,7 +856,7 @@ ir_call::constant_expression_value()
|
|||
break;
|
||||
case GLSL_TYPE_INT:
|
||||
data.i[c] = CLAMP(op[0]->value.i[c], op[1]->value.i[c1],
|
||||
op[2]->value.u[c2]);
|
||||
op[2]->value.i[c2]);
|
||||
break;
|
||||
case GLSL_TYPE_FLOAT:
|
||||
data.f[c] = CLAMP(op[0]->value.f[c], op[1]->value.f[c1],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue