mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 02:40:11 +01:00
Make private glsl_type singletons public
This commit is contained in:
parent
c11f1a4fb0
commit
230ade93a6
1 changed files with 9 additions and 16 deletions
25
glsl_types.h
25
glsl_types.h
|
|
@ -114,6 +114,15 @@ struct glsl_type {
|
|||
static const glsl_type *const vec3_type;
|
||||
static const glsl_type *const vec4_type;
|
||||
static const glsl_type *const bool_type;
|
||||
static const glsl_type *const mat2_type;
|
||||
static const glsl_type *const mat2x3_type;
|
||||
static const glsl_type *const mat2x4_type;
|
||||
static const glsl_type *const mat3x2_type;
|
||||
static const glsl_type *const mat3_type;
|
||||
static const glsl_type *const mat3x4_type;
|
||||
static const glsl_type *const mat4x2_type;
|
||||
static const glsl_type *const mat4x3_type;
|
||||
static const glsl_type *const mat4_type;
|
||||
/*@}*/
|
||||
|
||||
|
||||
|
|
@ -342,22 +351,6 @@ private:
|
|||
*/
|
||||
glsl_type(const glsl_type *array, unsigned length);
|
||||
|
||||
|
||||
/**
|
||||
* \name Pointers to various private type singletons
|
||||
*/
|
||||
/*@{*/
|
||||
static const glsl_type *const mat2_type;
|
||||
static const glsl_type *const mat2x3_type;
|
||||
static const glsl_type *const mat2x4_type;
|
||||
static const glsl_type *const mat3x2_type;
|
||||
static const glsl_type *const mat3_type;
|
||||
static const glsl_type *const mat3x4_type;
|
||||
static const glsl_type *const mat4x2_type;
|
||||
static const glsl_type *const mat4x3_type;
|
||||
static const glsl_type *const mat4_type;
|
||||
/*@}*/
|
||||
|
||||
/** Hash table containing the known array types. */
|
||||
static struct hash_table *array_types;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue