/external/mesa3d/src/mesa/main/ |
ffvertex_prog.c | 373 static struct ureg swizzle1( struct ureg reg, int x ) function 681 emit_op2(p, OPCODE_MUL, tmp, 0, swizzle1(src,X), mat[0]); 682 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Y), mat[1], tmp); 683 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Z), mat[2], tmp); 684 emit_op3(p, OPCODE_MAD, dest, 0, swizzle1(src,W), mat[3], tmp); 713 emit_op2(p, OPCODE_MUL, dest, 0, src, swizzle1(tmp, X)); 757 return swizzle1(p->eye_position, Z); 965 emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot); 966 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); 983 emit_op2(p, OPCODE_MUL, dist, WRITEMASK_XZ, dist, swizzle1(dist,Y)) [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_quad.c | 101 * XXX could make swizzle1 a noop swizzle by using right top/bottom 104 static const unsigned char swizzle1[] = { local 113 vec1 = lp_build_swizzle_aos(bld, a, swizzle1);
|
lp_bld_sample.c | 221 static const unsigned char swizzle1[] = { local 229 rho_xvec = lp_build_swizzle_aos(coord_bld, abs_ddx_ddy[0], swizzle1); 233 static const unsigned char swizzle1[] = { local 241 rho_xvec = lp_build_swizzle_aos(coord_bld, abs_ddx_ddy[0], swizzle1); 293 static const unsigned char swizzle1[] = { local 303 rho_s = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); [all...] |
/external/mesa3d/src/mesa/program/ |
programopt.c | 155 * emit_op2(p, OPCODE_MUL, tmp, 0, swizzle1(src,X), mat[0]); 156 * emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Y), mat[1], tmp); 157 * emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Z), mat[2], tmp); 158 * emit_op3(p, OPCODE_MAD, dest, 0, swizzle1(src,W), mat[3], tmp);
|