glsl: Add ir_unop_lit
Like the noise opcode, this opcode really shouldn't exist. The only reason it exists is to facilitate translation of assembly shaders to IR. These changes include the addition of ir_unop_lit and the lowering pass that removes it.
- src/glsl/ir.cpp 1 addition, 0 deletionssrc/glsl/ir.cpp
- src/glsl/ir.h 10 additions, 1 deletionsrc/glsl/ir.h
- src/glsl/ir_optimization.h 1 addition, 0 deletionssrc/glsl/ir_optimization.h
- src/glsl/ir_validate.cpp 5 additions, 0 deletionssrc/glsl/ir_validate.cpp
- src/glsl/lower_instructions.cpp 133 additions, 0 deletionssrc/glsl/lower_instructions.cpp
- src/mesa/drivers/dri/i965/brw_fs.cpp 2 additions, 1 deletionsrc/mesa/drivers/dri/i965/brw_fs.cpp
- src/mesa/program/ir_to_mesa.cpp 4 additions, 0 deletionssrc/mesa/program/ir_to_mesa.cpp