nir/glsl: add a glsl_ivec4_type() helper
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
This commit is contained in:
committed by
Marge Bot
parent
7bbce22d7b
commit
50351df828
@@ -456,6 +456,12 @@ glsl_uvec4_type(void)
|
||||
return glsl_type::uvec4_type;
|
||||
}
|
||||
|
||||
const glsl_type *
|
||||
glsl_ivec4_type(void)
|
||||
{
|
||||
return glsl_type::ivec4_type;
|
||||
}
|
||||
|
||||
const glsl_type *
|
||||
glsl_int_type(void)
|
||||
{
|
||||
|
||||
@@ -170,6 +170,7 @@ const struct glsl_type *glsl_vec_type(unsigned n);
|
||||
const struct glsl_type *glsl_dvec_type(unsigned n);
|
||||
const struct glsl_type *glsl_vec4_type(void);
|
||||
const struct glsl_type *glsl_uvec4_type(void);
|
||||
const struct glsl_type *glsl_ivec4_type(void);
|
||||
const struct glsl_type *glsl_int_type(void);
|
||||
const struct glsl_type *glsl_uint_type(void);
|
||||
const struct glsl_type *glsl_int64_t_type(void);
|
||||
|
||||
Reference in New Issue
Block a user