This series adds ir_triop_lrp to the IR. A few patches clear the way since it is the first 3-operand operator.
The next patches - emit lrp from GLSL's mix() function; - optimize away the a = 0.0 and 1.0 cases; - add i965 support for emitting the LRP instruction in fragment shaders and fragment programs; - and directly translate ir_triop_lrp to OPCODE_LRP for IR-to-Mesa. >From Eric's shader-db: total instructions in shared programs: 1458134 -> 1450661 (-0.51%) instructions in affected programs: 224094 -> 216621 (-3.33%) There are some small increases, typically +2 or +4 instructions, in shader-db. I'll investigate further. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev