#define NIR_MAX_MATRIX_COLUMNS 4
#define NIR_STREAM_PACKED (1 << 8)
typedef uint8_t nir_component_mask_t;
-typedef unsigned short GLenum16;
/** Defines a cast function
*
union {
struct {
/** Image internal format if specified explicitly, otherwise GL_NONE. */
- GLenum16 format;
+ uint16_t format; /* GLenum */
} image;
struct {