Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ptn: Include nir.h | Jason Ekstrand | 2016-05-26 | 1 | -0/+3 |
| | | | | | Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> | ||||
* | nir: Constify prog_to_nir's gl_program pointer. | Kenneth Graunke | 2015-04-10 | 1 | -1/+1 |
| | | | | | | | | | prog_to_nir should not modify the incoming Mesa IR program - just translate it. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> | ||||
* | nir: Implement a Mesa IR -> NIR translator. | Kenneth Graunke | 2015-03-27 | 1 | -0/+37 |
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 <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> |