mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
glsl: update assert to allow for half float support
Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18540>
This commit is contained in:
parent
b2a7717717
commit
5eea4c42f5
1 changed files with 1 additions and 1 deletions
|
|
@ -1700,7 +1700,7 @@ emit_inline_matrix_constructor(const glsl_type *type,
|
|||
* components with zero.
|
||||
*/
|
||||
glsl_base_type param_base_type = first_param->type->base_type;
|
||||
assert(glsl_type_is_float(first_param->type) || glsl_type_is_double(first_param->type));
|
||||
assert(glsl_type_is_float_16_32_64(first_param->type));
|
||||
ir_variable *rhs_var =
|
||||
new(ctx) ir_variable(glsl_simple_type(param_base_type, 4, 1),
|
||||
"mat_ctor_vec",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue