mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
glsl: Fix type of label 'default' in switch statement.
This commit is contained in:
parent
7aebe181f3
commit
a172368ef1
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ lower_vector_visitor::handle_rvalue(ir_rvalue **rvalue)
|
|||
case GLSL_TYPE_INT: d.i[assigned] = c->value.i[0]; break;
|
||||
case GLSL_TYPE_FLOAT: d.f[assigned] = c->value.f[0]; break;
|
||||
case GLSL_TYPE_BOOL: d.b[assigned] = c->value.b[0]; break;
|
||||
defatul: assert(!"Should not get here."); break;
|
||||
default: assert(!"Should not get here."); break;
|
||||
}
|
||||
|
||||
write_mask |= (1U << i);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue