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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user