mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
compiler: Add glsl_contains_opaque() helper
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
parent
1a96811fe1
commit
eda596d64b
2 changed files with 7 additions and 0 deletions
|
|
@ -674,6 +674,12 @@ glsl_contains_atomic(const struct glsl_type *type)
|
|||
return type->contains_atomic();
|
||||
}
|
||||
|
||||
bool
|
||||
glsl_contains_opaque(const struct glsl_type *type)
|
||||
{
|
||||
return type->contains_opaque();
|
||||
}
|
||||
|
||||
int
|
||||
glsl_get_cl_size(const struct glsl_type *type)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@ bool glsl_type_contains_64bit(const struct glsl_type *type);
|
|||
bool glsl_sampler_type_is_shadow(const struct glsl_type *type);
|
||||
bool glsl_sampler_type_is_array(const struct glsl_type *type);
|
||||
bool glsl_contains_atomic(const struct glsl_type *type);
|
||||
bool glsl_contains_opaque(const struct glsl_type *type);
|
||||
|
||||
const struct glsl_type *glsl_void_type(void);
|
||||
const struct glsl_type *glsl_float_type(void);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue