/external/deqp/modules/gles3/scripts/ |
D | gen-swizzle-math-operations.py | 93 def __init__(self, name, swizzle1, swizzle2, inputs1, inputs2, operator, outputs): argument 95 self.swizzle1 = swizzle1 99 self.op = "out0 = in0.%s %s in1.%s;" % (swizzle1, operator, swizzle2) 169 swizzle1 = "".join(map(lambda x: swizzleComponents[x], swizzleIndices)) variable 171 swizzle2 = rotate(swizzle1, 1) 179 caseName = "%s_%s_%s_%s" % (precision, dataType, swizzle1, swizzle2) 182 swizzle1,
|
/external/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 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() [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_quad.c | 97 static const unsigned char swizzle1[] = { /* no-op swizzle */ in lp_build_packed_ddx_ddy_onecoord() local 106 vec1 = lp_build_swizzle_aos(bld, a, swizzle1); in lp_build_packed_ddx_ddy_onecoord()
|
D | lp_bld_sample.c | 376 static const unsigned char swizzle1[] = { in lp_build_rho() local 432 rho_yvec = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); in lp_build_rho() 514 rho_t = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); in lp_build_rho() 1892 static const unsigned char swizzle1[] = { in lp_build_cube_lookup() local 1943 tmp[1] = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); in lp_build_cube_lookup()
|
/external/mesa3d/src/intel/isl/ |
D | isl_tiled_memcpy.c | 324 uint32_t swizzle1 = (xo1 >> 3) & swizzle_bit; in linear_to_ytiled() local 333 uint32_t swizzle = swizzle1; in linear_to_ytiled() 354 uint32_t swizzle = swizzle1; in linear_to_ytiled() 388 uint32_t swizzle = swizzle1; in linear_to_ytiled() 488 uint32_t swizzle1 = (xo1 >> 3) & swizzle_bit; in ytiled_to_linear() local 497 uint32_t swizzle = swizzle1; in ytiled_to_linear() 518 uint32_t swizzle = swizzle1; in ytiled_to_linear() 552 uint32_t swizzle = swizzle1; in ytiled_to_linear()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_flrp.c | 268 const uint8_t *const swizzle1 = instr->src[1].swizzle; in sources_are_constants_with_similar_magnitudes() local 277 frexpf(val1[swizzle1[i]].f32, &exp1); in sources_are_constants_with_similar_magnitudes() 294 frexp(val1[swizzle1[i]].f64, &exp1); in sources_are_constants_with_similar_magnitudes()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_sampler_view.c | 273 swizzle_swizzle(unsigned swizzle1, unsigned swizzle2) in swizzle_swizzle() argument 277 if (swizzle1 == SWIZZLE_XYZW) { in swizzle_swizzle() 283 unsigned s = GET_SWZ(swizzle1, i); in swizzle_swizzle()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4.cpp | 2600 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle() local 2602 swizzle1 * 2, swizzle1 * 2 + 1); in apply_logical_swizzle() 2614 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle() local 2615 assert((swizzle0 < 2) == (swizzle1 < 2)); in apply_logical_swizzle() 2623 swizzle1 -= 2; in apply_logical_swizzle() 2643 swizzle1 * 2, swizzle1 * 2 + 1); in apply_logical_swizzle()
|