diff options
author | Kenneth Graunke <[email protected]> | 2015-01-29 23:22:08 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-03-27 21:16:34 -0700 |
commit | faf6106c6f6fa2ba90ec175baaa8b54bec9f5125 (patch) | |
tree | 0839a814380095f2930ca0afe01373b574fde3ad /src/mesa/program/prog_print.h | |
parent | 06f7bea96ab62e7de1523de837f5b69c1bac6513 (diff) |
nir: Implement a Mesa IR -> NIR translator.
Shamelessly ripped off from Eric Anholt's tgsi_to_nir pass.
This is not built on SCons, like the rest of NIR.
v2:
- Delete redundant c->s, c->impl, and c->cf_node_list pointers (Ken)
- Use nir_builder directly instead of ptn_compile in more places (Ken)
- Drop 'struct' keyword in front of nir_builder (ken)
- Add a file level Doxygen comment (Ken)
- Use scalar constants instead of splatting (Eric)
- Use nir_builder helpers for constants, moves, and swizzles (Connor)
v3: Minor indentation improvements.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_print.h')
0 files changed, 0 insertions, 0 deletions