File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,11 @@ glsl_type_is_boolean(const struct glsl_type *type)
301301{
302302 return type->is_boolean ();
303303}
304+ bool
305+ glsl_type_is_integer (const struct glsl_type *type)
306+ {
307+ return type->is_integer ();
308+ }
304309
305310const glsl_type *
306311glsl_void_type (void )
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ bool glsl_type_is_image(const struct glsl_type *type);
142142bool glsl_type_is_dual_slot (const struct glsl_type * type );
143143bool glsl_type_is_numeric (const struct glsl_type * type );
144144bool glsl_type_is_boolean (const struct glsl_type * type );
145+ bool glsl_type_is_integer (const struct glsl_type * type );
145146bool glsl_sampler_type_is_shadow (const struct glsl_type * type );
146147bool glsl_sampler_type_is_array (const struct glsl_type * type );
147148bool glsl_contains_atomic (const struct glsl_type * type );
You can’t perform that action at this time.
0 commit comments