nir: add missing type to type_size_vec4()
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
03b7221dbb
commit
2c61d583f8
|
@ -62,6 +62,8 @@ type_size_vec4(const struct glsl_type *type)
|
||||||
size += type_size_vec4(glsl_get_struct_field(type, i));
|
size += type_size_vec4(glsl_get_struct_field(type, i));
|
||||||
}
|
}
|
||||||
return size;
|
return size;
|
||||||
|
case GLSL_TYPE_SUBROUTINE:
|
||||||
|
return 1;
|
||||||
case GLSL_TYPE_SAMPLER:
|
case GLSL_TYPE_SAMPLER:
|
||||||
return 0;
|
return 0;
|
||||||
case GLSL_TYPE_ATOMIC_UINT:
|
case GLSL_TYPE_ATOMIC_UINT:
|
||||||
|
|
Loading…
Reference in New Issue