Lines Matching refs:swizzle1
366 static struct ureg swizzle1( struct ureg reg, int x ) in swizzle1() function
668 emit_op2(p, OPCODE_MUL, tmp, 0, swizzle1(src,X), mat[0]); in emit_transpose_matrix_transform_vec4()
669 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Y), mat[1], tmp); in emit_transpose_matrix_transform_vec4()
670 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Z), mat[2], tmp); in emit_transpose_matrix_transform_vec4()
671 emit_op3(p, OPCODE_MAD, dest, 0, swizzle1(src,W), mat[3], tmp); in emit_transpose_matrix_transform_vec4()
696 emit_op2(p, OPCODE_MUL, dest, 0, src, swizzle1(tmp, X)); in emit_normalize_vec3()
739 return swizzle1(p->eye_position, Z); in get_eye_position_z()
948 emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot); in calculate_light_attenuation()
950 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); in calculate_light_attenuation()
967 emit_op2(p, OPCODE_MUL, dist, WRITEMASK_XZ, dist, swizzle1(dist,Y)); in calculate_light_attenuation()
1009 emit_op2(p, OPCODE_SLT, lit, WRITEMASK_Z, swizzle1(id,Z), dots); in emit_degenerate_lit()
1046 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_W, swizzle1(shininess,X)); in build_lighting()
1064 negate(swizzle1(shininess,X))); in build_lighting()
1200 emit_op3(p, OPCODE_MAD, _col0, 0, swizzle1(lit,X), ambient, _col0); in build_lighting()
1213 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _col0); in build_lighting()
1214 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _col1); in build_lighting()
1261 emit_op3(p, OPCODE_MAD, _bfc0, 0, swizzle1(lit,X), ambient, _bfc0); in build_lighting()
1272 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _bfc0); in build_lighting()
1273 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _bfc1); in build_lighting()
1317 input = swizzle1(register_input(p, VERT_ATTRIB_FOG), X); in build_fog()
1520 emit_op1(p, OPCODE_ABS, ut, WRITEMASK_Y, swizzle1(eye, Z)); in build_atten_pointsize()
1522 emit_op3(p, OPCODE_MAD, ut, WRITEMASK_X, swizzle1(ut, Y), in build_atten_pointsize()
1523 swizzle1(state_attenuation, Z), swizzle1(state_attenuation, Y)); in build_atten_pointsize()
1524 emit_op3(p, OPCODE_MAD, ut, WRITEMASK_X, swizzle1(ut, Y), in build_atten_pointsize()
1525 ut, swizzle1(state_attenuation, X)); in build_atten_pointsize()
1538 emit_op2(p, OPCODE_MAX, ut, WRITEMASK_X, ut, swizzle1(state_size, Y)); in build_atten_pointsize()
1539 emit_op2(p, OPCODE_MIN, out, WRITEMASK_X, ut, swizzle1(state_size, Z)); in build_atten_pointsize()