mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
nir/types: add C accessors for 64-bit integer types.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
b292e662fc
commit
7593f2ac1b
2 changed files with 14 additions and 0 deletions
|
|
@ -288,6 +288,18 @@ glsl_uint_type(void)
|
|||
return glsl_type::uint_type;
|
||||
}
|
||||
|
||||
const glsl_type *
|
||||
glsl_int64_t_type(void)
|
||||
{
|
||||
return glsl_type::int64_t_type;
|
||||
}
|
||||
|
||||
const glsl_type *
|
||||
glsl_uint64_t_type(void)
|
||||
{
|
||||
return glsl_type::uint64_t_type;
|
||||
}
|
||||
|
||||
const glsl_type *
|
||||
glsl_bool_type(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -128,6 +128,8 @@ const struct glsl_type *glsl_dvec_type(unsigned n);
|
|||
const struct glsl_type *glsl_vec4_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);
|
||||
const struct glsl_type *glsl_uint64_t_type(void);
|
||||
const struct glsl_type *glsl_bool_type(void);
|
||||
|
||||
const struct glsl_type *glsl_scalar_type(enum glsl_base_type base_type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue