mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
nir: Add a helper to get the uvec4 type.
I needed this in the vc5 compiler. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
39811a2894
commit
deb552ca27
2 changed files with 7 additions and 0 deletions
|
|
@ -297,6 +297,12 @@ glsl_vec4_type(void)
|
|||
return glsl_type::vec4_type;
|
||||
}
|
||||
|
||||
const glsl_type *
|
||||
glsl_uvec4_type(void)
|
||||
{
|
||||
return glsl_type::uvec4_type;
|
||||
}
|
||||
|
||||
const glsl_type *
|
||||
glsl_int_type(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -136,6 +136,7 @@ const struct glsl_type *glsl_double_type(void);
|
|||
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_int_type(void);
|
||||
const struct glsl_type *glsl_uint_type(void);
|
||||
const struct glsl_type *glsl_int64_t_type(void);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue