/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 | 372 static struct ureg swizzle1( struct ureg reg, int x ) in swizzle1() function 674 emit_op2(p, OPCODE_MUL, tmp, 0, swizzle1(src,X), mat[0]); in emit_transpose_matrix_transform_vec4() 675 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Y), mat[1], tmp); in emit_transpose_matrix_transform_vec4() 676 emit_op3(p, OPCODE_MAD, tmp, 0, swizzle1(src,Z), mat[2], tmp); in emit_transpose_matrix_transform_vec4() 677 emit_op3(p, OPCODE_MAD, dest, 0, swizzle1(src,W), mat[3], tmp); in emit_transpose_matrix_transform_vec4() 702 emit_op2(p, OPCODE_MUL, dest, 0, src, swizzle1(tmp, X)); in emit_normalize_vec3() 745 return swizzle1(p->eye_position, Z); in get_eye_position_z() 953 emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot); in calculate_light_attenuation() 955 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); in calculate_light_attenuation() 972 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 | 341 static const unsigned char swizzle1[] = { in lp_build_rho() local 397 rho_yvec = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); in lp_build_rho() 479 rho_t = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); in lp_build_rho() 1855 static const unsigned char swizzle1[] = { in lp_build_cube_lookup() local 1906 tmp[1] = lp_build_swizzle_aos(coord_bld, rho_vec, swizzle1); in lp_build_cube_lookup()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_sampler_view.c | 249 swizzle_swizzle(unsigned swizzle1, unsigned swizzle2) in swizzle_swizzle() argument 253 if (swizzle1 == SWIZZLE_XYZW) { in swizzle_swizzle() 259 unsigned s = GET_SWZ(swizzle1, i); in swizzle_swizzle()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_tiled_memcpy.c | 318 uint32_t swizzle1 = (xo1 >> 3) & swizzle_bit; in linear_to_ytiled() local 326 uint32_t swizzle = swizzle1; in linear_to_ytiled() 422 uint32_t swizzle1 = (xo1 >> 3) & swizzle_bit; in ytiled_to_linear() local 430 uint32_t swizzle = swizzle1; in ytiled_to_linear()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_vec4.cpp | 2548 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle() local 2550 swizzle1 * 2, swizzle1 * 2 + 1); in apply_logical_swizzle() 2562 unsigned swizzle1 = BRW_GET_SWZ(reg.swizzle, 1); in apply_logical_swizzle() local 2563 assert((swizzle0 < 2) == (swizzle1 < 2)); in apply_logical_swizzle() 2571 swizzle1 -= 2; in apply_logical_swizzle() 2591 swizzle1 * 2, swizzle1 * 2 + 1); in apply_logical_swizzle()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_query.c | 192 const unsigned swizzle1[] = {1,1,1,1}; in build_occlusion_query_shader() local 194 nir_store_var(&b, end, nir_swizzle(&b, &load->dest.ssa, swizzle1, 1, false), 0x1); in build_occlusion_query_shader()
|