/third_party/vk-gl-cts/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,
|
/third_party/mesa3d/src/mesa/main/ |
D | ffvertex_prog.c | 379 static struct ureg swizzle1( struct ureg reg, int x ) in swizzle1() function 677 emit_op2(p, OPCODE_MUL, tmp, 0, swizzle1(src,X), mat[0]); in emit_transpose_matrix_transform_vec4() 678 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Y), mat[1], tmp); in emit_transpose_matrix_transform_vec4() 679 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Z), mat[2], tmp); in emit_transpose_matrix_transform_vec4() 680 emit_op3(p, OPCODE_MAD, dest, 0, swizzle1(src,W), mat[3], tmp); in emit_transpose_matrix_transform_vec4() 705 emit_op2(p, OPCODE_MUL, dest, 0, src, swizzle1(tmp, X)); in emit_normalize_vec3() 748 return swizzle1(p->eye_position, Z); in get_eye_position_z() 968 emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot); in calculate_light_attenuation() 970 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); in calculate_light_attenuation() 991 emit_op2(p, OPCODE_MUL, dist, WRITEMASK_XZ, dist, swizzle1(dist,Y)); in calculate_light_attenuation() [all …]
|
/third_party/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()
|
/third_party/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 | 304 static const unsigned char swizzle1[] = { in lp_build_pmin() local 309 LLVMValueRef py2 = lp_build_swizzle_aos(coord_bld, px2_py2, swizzle1); in lp_build_pmin() 474 static const unsigned char swizzle1[] = { in lp_build_rho() local 530 rho_yvec = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); in lp_build_rho() 612 rho_t = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); in lp_build_rho()
|
/third_party/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()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_sampler_view.c | 312 swizzle_swizzle(unsigned swizzle1, unsigned swizzle2) in swizzle_swizzle() argument 316 if (swizzle1 == SWIZZLE_XYZW) { in swizzle_swizzle() 322 unsigned s = GET_SWZ(swizzle1, i); in swizzle_swizzle()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4.cpp | 2298 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle() local 2300 swizzle1 * 2, swizzle1 * 2 + 1); in apply_logical_swizzle() 2312 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle() local 2313 assert((swizzle0 < 2) == (swizzle1 < 2)); in apply_logical_swizzle() 2321 swizzle1 -= 2; in apply_logical_swizzle() 2341 swizzle1 * 2, swizzle1 * 2 + 1); in apply_logical_swizzle()
|