| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | lower_blend_equation_advanced.cpp | 36 #define imm1(x) new(mem_ctx) ir_constant((float) (x), 1) macro 229 f->emit(if_tree(less(mincol, imm1(0)), 232 if_tree(greater(maxcol, imm1(1)), 263 f->emit(if_tree(greater(sbase, imm1(0)), 311 f.emit(if_tree(equal(dst_alpha, imm1(0)), 319 f.emit(if_tree(equal(src_alpha, imm1(0)), 405 f.emit(assign(p1, mul(src_alpha, sub(imm1(1), dst_alpha)))); 406 f.emit(assign(p2, mul(dst_alpha, sub(imm1(1), src_alpha))));
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | lower_blend_equation_advanced.cpp | 36 #define imm1(x) new(mem_ctx) ir_constant((float) (x), 1) macro 229 f->emit(if_tree(less(mincol, imm1(0)), 232 if_tree(greater(maxcol, imm1(1)), 263 f->emit(if_tree(greater(sbase, imm1(0)), 311 f.emit(if_tree(equal(dst_alpha, imm1(0)), 319 f.emit(if_tree(equal(src_alpha, imm1(0)), 407 f.emit(assign(p1, mul(src_alpha, sub(imm1(1), dst_alpha)))); 408 f.emit(assign(p2, mul(dst_alpha, sub(imm1(1), src_alpha))));
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/ |
| H A D | nv50_ir_peephole.cpp | 552 ImmediateValue &imm0, ImmediateValue &imm1) 554 struct Storage *const a = &imm0.reg, *const b = &imm1.reg; 774 ImmediateValue &imm1, 777 struct Storage *const a = &imm0.reg, *const b = &imm1.reg, *const c = &imm2.reg; 881 ImmediateValue imm1; local in function:nv50_ir::ConstantFolding::tryCollapseChainedMULs 892 if (mul1->src(s1 = 0).getImmediate(imm1) || 893 mul1->src(s1 = 1).getImmediate(imm1)) { 895 // a = mul r, imm1 896 // d = mul a, imm2 -> d = mul r, (imm1 * imm2) 897 mul1->setSrc(s1, bld.loadImm(NULL, f * imm1 551 expr(Instruction * i,ImmediateValue & imm0,ImmediateValue & imm1) argument 772 expr(Instruction * i,ImmediateValue & imm0,ImmediateValue & imm1,ImmediateValue & imm2) argument 1364 ImmediateValue imm1; local in function:nv50_ir::ConstantFolding::opnd 1433 ImmediateValue imm1; local in function:nv50_ir::ConstantFolding::opnd [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/ |
| H A D | nv50_ir_peephole.cpp | 555 ImmediateValue &imm0, ImmediateValue &imm1) 557 struct Storage *const a = &imm0.reg, *const b = &imm1.reg; 790 ImmediateValue &imm1, 793 struct Storage *const a = &imm0.reg, *const b = &imm1.reg, *const c = &imm2.reg; 914 ImmediateValue imm1; local in function:nv50_ir::ConstantFolding::tryCollapseChainedMULs 925 if (mul1->src(s1 = 0).getImmediate(imm1) || 926 mul1->src(s1 = 1).getImmediate(imm1)) { 928 // a = mul r, imm1 929 // d = mul a, imm2 -> d = mul r, (imm1 * imm2) 930 mul1->setSrc(s1, bld.loadImm(NULL, f * imm1 554 expr(Instruction * i,ImmediateValue & imm0,ImmediateValue & imm1) argument 788 expr(Instruction * i,ImmediateValue & imm0,ImmediateValue & imm1,ImmediateValue & imm2) argument 1400 ImmediateValue imm1; local in function:nv50_ir::ConstantFolding::opnd 1475 ImmediateValue imm1; local in function:nv50_ir::ConstantFolding::opnd [all...] |