diff options
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 119ca01f991..0ef83a174c2 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -37,6 +37,8 @@ #include "nir_types.h" #include <stdio.h> +#include "nir_opcodes.h" + #ifdef __cplusplus extern "C" { #endif @@ -573,20 +575,6 @@ void nir_alu_src_copy(nir_alu_src *dest, const nir_alu_src *src, void *mem_ctx); void nir_alu_dest_copy(nir_alu_dest *dest, const nir_alu_dest *src, void *mem_ctx); -#define OPCODE(name, num_inputs, output_size, output_type, \ - input_sizes, input_types, algebraic_props) \ - nir_op_##name, - -#define LAST_OPCODE(name) nir_last_opcode = nir_op_##name, - -typedef enum { -#include "nir_opcodes.h" - nir_num_opcodes = nir_last_opcode + 1 -} nir_op; - -#undef OPCODE -#undef LAST_OPCODE - typedef enum { nir_type_float, nir_type_int, |