mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
i965: Shut up spurious gcc warning about GLSL_TYPE enums.
This commit is contained in:
parent
e89e8a4347
commit
d512cbf58f
1 changed files with 4 additions and 0 deletions
|
|
@ -299,6 +299,10 @@ fs_visitor::setup_uniform_values(int loc, const glsl_type *type)
|
|||
case GLSL_TYPE_BOOL:
|
||||
c->prog_data.param_convert[param] = PARAM_CONVERT_F2B;
|
||||
break;
|
||||
default:
|
||||
assert(!"not reached");
|
||||
c->prog_data.param_convert[param] = PARAM_NO_CONVERT;
|
||||
break;
|
||||
}
|
||||
|
||||
c->prog_data.param[param] = &vec_values[i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue