On Fri, Jan 23, 2015 at 3:10 PM, Matt Turner wrote:
> On Fri, Jan 23, 2015 at 1:43 PM, Jason Ekstrand
> wrote:
> > create mode 100644 src/glsl/nir/nir_opcodes.py
> > create mode 100644 src/glsl/nir/nir_opcodes_c.py
> > create mode 100644 src/glsl/nir/nir_opcodes_h.py
>
> Add the python files
On Fri, Jan 23, 2015 at 1:43 PM, Jason Ekstrand wrote:
> create mode 100644 src/glsl/nir/nir_opcodes.py
> create mode 100644 src/glsl/nir/nir_opcodes_c.py
> create mode 100644 src/glsl/nir/nir_opcodes_h.py
Add the python files to EXTRA_DIST in src/glsl/Makefile.am before you commit.
__
From: Connor Abbott
Before, we used a system where a file, nir_opcodes.h, defined some macros that
were included to generate the enum values and the nir_op_infos structure. This
worked pretty well, but for development the error messages were never very
useful, Python tools couldn't understand the