summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_opcodes.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-12-16 14:43:26 -0800
committerJason Ekstrand <[email protected]>2015-01-15 07:20:22 -0800
commit813316d1501e08da56a1021a7378d6b5e6371922 (patch)
tree462e2dbf902656740a8d8c4a769947a7991fed35 /src/glsl/nir/nir_opcodes.c
parente2a8f9e5ccb136f1e9460255054e34c11a41a422 (diff)
nir/opcodes: Remove the per_component info field
Originally, this field was intended for determining if the given instruction acted per-component or if it had mismatching source and destination sizes that would have to be interpreted specially. However, we can easily derive this from output_size == 0, so it's not really that useful. Also, the values we were setting in nir_opcodes.h for this field were completely bogus and it was never used. Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_opcodes.c')
-rw-r--r--src/glsl/nir/nir_opcodes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_opcodes.c b/src/glsl/nir/nir_opcodes.c
index 3a86641bc8a..1e66c550c2d 100644
--- a/src/glsl/nir/nir_opcodes.c
+++ b/src/glsl/nir/nir_opcodes.c
@@ -27,12 +27,11 @@
#include "nir.h"
-#define OPCODE(_name, _num_inputs, _per_component, _output_size, _output_type, \
+#define OPCODE(_name, _num_inputs, _output_size, _output_type, \
_input_sizes, _input_types, _algebraic_props) \
{ \
.name = #_name, \
.num_inputs = _num_inputs, \
- .per_component = _per_component, \
.output_size = _output_size, \
.output_type = _output_type, \
.input_sizes = _input_sizes, \