nir: don't use GLenum16 in nir.h
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
@@ -62,7 +62,6 @@ extern "C" {
|
|||||||
#define NIR_MAX_MATRIX_COLUMNS 4
|
#define NIR_MAX_MATRIX_COLUMNS 4
|
||||||
#define NIR_STREAM_PACKED (1 << 8)
|
#define NIR_STREAM_PACKED (1 << 8)
|
||||||
typedef uint8_t nir_component_mask_t;
|
typedef uint8_t nir_component_mask_t;
|
||||||
typedef unsigned short GLenum16;
|
|
||||||
|
|
||||||
/** Defines a cast function
|
/** Defines a cast function
|
||||||
*
|
*
|
||||||
@@ -488,7 +487,7 @@ typedef struct nir_variable {
|
|||||||
union {
|
union {
|
||||||
struct {
|
struct {
|
||||||
/** Image internal format if specified explicitly, otherwise GL_NONE. */
|
/** Image internal format if specified explicitly, otherwise GL_NONE. */
|
||||||
GLenum16 format;
|
uint16_t format; /* GLenum */
|
||||||
} image;
|
} image;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
|
Reference in New Issue
Block a user