summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir
Commit message (Collapse)AuthorAgeFilesLines
* nir: Add fine and coarse derivative opcodesJason Ekstrand2015-01-151-0/+4
| | | | Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
* nir/glsl: Add support for saturateJason Ekstrand2015-01-151-0/+5
| | | | Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
* Fix what I think are a few NIR typosJason Ekstrand2015-01-151-3/+3
| | | | Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
* nir: add an SSA-based dead code elimination passConnor Abbott2015-01-152-0/+190
| | | | | v2: Jason Ekstrand <jason.ekstrand@intel.com>: whitespace fixes
* nir: add an SSA-based copy propagation passConnor Abbott2015-01-152-0/+316
|
* nir: add a pass to convert to SSAConnor Abbott2015-01-152-0/+685
| | | | | v2: Jason Ekstrand <jason.ekstrand@intel.com>: whitespace fixes
* nir: calculate dominance informationConnor Abbott2015-01-153-1/+336
|
* nir: add an optimization to turn global registers into local registersConnor Abbott2015-01-152-0/+105
| | | | | After linking and inlining, this allows us to convert these registers into SSA values and optimise more code.
* nir: add a pass to lower atomicsConnor Abbott2015-01-152-0/+129
| | | | | v2: Jason Ekstrand <jason.ekstrand@intel.com> whitespace fixes
* nir: add a pass to lower system value readsConnor Abbott2015-01-152-0/+108
| | | | | v2: Jason Ekstrand <jason.ekstrand@intel.com>: whitespace fixes
* nir: add a pass to lower sampler instructionsConnor Abbott2015-01-152-0/+175
|
* nir: add a pass to remove unused variablesConnor Abbott2015-01-152-0/+140
| | | | | | | | After we lower variables, we want to delete them in order to free up some memory. v2: Jason Ekstrand <jason.ekstrand@intel.com>: whitespace fixes
* nir: keep track of the number of input, output, and uniform slotsConnor Abbott2015-01-153-4/+16
|
* nir: add a pass to lower variables for scalar backendsConnor Abbott2015-01-152-0/+1236
|
* nir: add a glsl-to-nir passConnor Abbott2015-01-152-0/+1795
| | | | | | v2: Jason Ekstrand <jason.ekstrand@intel.com>: Make glsl_to_nir build again fix whitespace
* nir: add a validation passConnor Abbott2015-01-152-0/+792
| | | | | | | This is similar to ir_validate.cpp. v2: Jason Ekstrand <jason.ekstrand@intel.com>: whitespace fixes
* nir: add a printerConnor Abbott2015-01-152-0/+914
| | | | | | | This is similar to ir_print_visitor.cpp. v2: Jason Ekstrand <jason.ekstrand@intel.com>: whitespace fixes
* SQUASH: Fix comments from ericJason Ekstrand2015-01-151-0/+3
| | | | Reviewed-by: Eric Anholt <eric@anholt.net>
* SQUASH: Add an assertJason Ekstrand2015-01-151-0/+1
|
* nir: add core helper functionsConnor Abbott2015-01-152-0/+1808
| | | | | | | | | These include functions for adding and removing various bits of IR and helpers for iterating over all the sources and destinations of an instruction. This is similar to ir.cpp. v2: Jason Ekstrand <jason.ekstrand@intel.com>: whitespace and automake fixes
* SQUASH: Use the enum for the variable modeJason Ekstrand2015-01-151-1/+1
|
* nir: add the core datastructuresConnor Abbott2015-01-155-0/+1749
| | | | | | | | | | | | | This includes all the instructions, ifs, loops, functions, etc. This is similar to the information in ir.h. v2: Jason Ekstrand <jason.ekstrand@intel.com>: Include ralloc and hash_table from the util directory whitespace fixes Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-By glenn.kennard <glenn.kennard@gmail.com>
* nir: add a simple C wrapper around glsl_types.hConnor Abbott2015-01-152-0/+233
| | | | | | | v2: Jason Ekstrand <jason.ekstrand@intel.com>: whitespace and automake fixes Reviewed-by: Eric Anholt <eric@anholt.net>
* nir: add initial READMEConnor Abbott2015-01-151-0/+118
Reviewed-by: Eric Anholt <eric@anholt.net>