Home
last modified time | relevance | path

Searched refs:swizzle_y (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dbuiltin_int64.h21 ir_expression *const r0004 = mul(swizzle_x(r0001), swizzle_y(r0002)); in umul64()
22 ir_expression *const r0005 = mul(swizzle_y(r0001), swizzle_x(r0002)); in umul64()
24 body.emit(assign(r0003, add(swizzle_y(r0003), r0006), 0x02)); in umul64()
45 body.emit(assign(r0008, rshift(swizzle_y(r0007), body.constant(int(31))), 0x02)); in sign64()
47 ir_expression *const r0009 = bit_or(swizzle_x(r0007), swizzle_y(r0007)); in sign64()
50 body.emit(assign(r0008, bit_or(swizzle_y(r0008), r000B), 0x01)); in sign64()
81 ir_expression *const r0012 = expr(ir_unop_find_msb, swizzle_y(r000D)); in udivmod64()
85 ir_expression *const r0014 = equal(swizzle_y(r000D), body.constant(0u)); in udivmod64()
86 ir_expression *const r0015 = gequal(swizzle_y(r000C), swizzle_x(r000D)); in udivmod64()
129 ir_expression *const r0020 = lequal(r001F, swizzle_y(r000C)); in udivmod64()
[all …]
Dlower_packing_builtins.cpp219 swizzle_y(u), in pack_uvec2_to_uint()
225 return bit_or(lshift(swizzle_y(u), constant(16u)), in pack_uvec2_to_uint()
251 swizzle_y(u), constant(8u), constant(8u)), in pack_uvec4_to_uint()
262 bit_or(lshift(swizzle_y(u), constant(8u)), in pack_uvec4_to_uint()
1058 factory.emit(assign(f16, pack_half_1x16_nosign(swizzle_y(f), in lower_pack_half_2x16()
1059 swizzle_y(e), in lower_pack_half_2x16()
1060 swizzle_y(m)), in lower_pack_half_2x16()
1074 ir_rvalue *result = bit_or(lshift(swizzle_y(f16), in lower_pack_half_2x16()
1278 factory.emit(assign(f32, unpack_half_1x16_nosign(swizzle_y(e), in lower_unpack_half_2x16()
1279 swizzle_y(m)), in lower_unpack_half_2x16()
Dlower_cs_derived.cpp193 swizzle_y(gl_WorkGroupSize->clone(shader, NULL))); in make_gl_LocalInvocationIndex()
195 mul(swizzle_y(gl_LocalInvocationID), swizzle_x(gl_WorkGroupSize->clone(shader, NULL))); in make_gl_LocalInvocationIndex()
Dlower_packed_varyings.cpp348 assign(t, u2i(expr(ir_unop_unpack_double_2x32, swizzle_y(rhs))), 0xc)); in bitwise_assign_pack()
364 assign(t, expr(ir_unop_unpack_int_2x32, swizzle_y(rhs)), 0xc)); in bitwise_assign_pack()
380 assign(t, u2i(expr(ir_unop_unpack_uint_2x32, swizzle_y(rhs))), 0xc)); in bitwise_assign_pack()
Dlower_blend_equation_advanced.cpp172 return min2(min2(swizzle_x(v), swizzle_y(v)), swizzle_z(v)); in minv3()
179 return max2(max2(swizzle_x(v), swizzle_y(v)), swizzle_z(v)); in maxv3()
Dir_builder.h225 ir_swizzle *swizzle_y(operand a);
Dlower_instructions.cpp605 i.insert_before(assign(unpacked, bit_and(swizzle_y(unpacked), sign_mask->clone(ir, NULL)), in dldexp_to_arith()
640 swizzle_y(unpacked), in dldexp_to_arith()
716 i.insert_before(assign(bits, swizzle_y(unpacked))); in dfrexp_sig_to_arith()
773 swizzle_y(expr(ir_unop_unpack_double_2x32, x)), in dfrexp_exp_to_arith()
Dir_builder.cpp145 swizzle_y(operand a) in swizzle_y() function
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_shader_dump.c470 …if (srcreg.swizzle_x != 0 || srcreg.swizzle_y != 1 || srcreg.swizzle_z != 2 || srcreg.swizzle_w !=… in dump_srcreg()
472 …if (srcreg.swizzle_x == srcreg.swizzle_y && srcreg.swizzle_y == srcreg.swizzle_z && srcreg.swizzle… in dump_srcreg()
477 _debug_printf( "%c", "xyzw"[srcreg.swizzle_y] ); in dump_srcreg()
Dsvga_shader.h164 unsigned swizzle_y:2; member
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c434 unsigned swizzle_x, swizzle_y, swizzle_z, swizzle_w; in i915_fpc_optimize_mov_after_mov() local
452 swizzle_y = src_reg1->Register.SwizzleY; in i915_fpc_optimize_mov_after_mov()
460 swizzle_y = src_reg2->Register.SwizzleY; in i915_fpc_optimize_mov_after_mov()
468 src_reg2->Register.SwizzleY = swizzle_y; in i915_fpc_optimize_mov_after_mov()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_build.c800 int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, in tgsi_build_texture_offset() argument
809 texture_offset.SwizzleY = swizzle_y; in tgsi_build_texture_offset()
841 unsigned swizzle_y, in tgsi_build_src_register() argument
856 assert( swizzle_y <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
864 src_register.SwizzleY = swizzle_y; in tgsi_build_src_register()
Dtgsi_ureg.h984 unsigned swizzle_y, in ureg_predicate() argument
992 reg.PredSwizzleY = swizzle_y; in ureg_predicate()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c817 int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, in tgsi_build_texture_offset() argument
827 texture_offset.SwizzleY = swizzle_y; in tgsi_build_texture_offset()
859 unsigned swizzle_y, in tgsi_build_src_register() argument
874 assert( swizzle_y <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
882 src_register.SwizzleY = swizzle_y; in tgsi_build_src_register()
/external/mesa3d/src/gallium/drivers/r600/
Deg_asm.c91 S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(cf->output.swizzle_y) | in eg_bytecode_cf_build()
162 output->swizzle_y = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(word1);
Dr600_asm.h153 unsigned swizzle_y; member
Dr600_asm.c201 output->swizzle_y == bc->cf_last->output.swizzle_y && in r600_bytecode_add_output()
1671 S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(cf->output.swizzle_y) | in r600_bytecode_cf_build()
2126 o += print_swizzle(cf->output.swizzle_y); in r600_bytecode_disasm()
2768 output->swizzle_y = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(word1);
Dr600_shader.c2398 output.swizzle_y = 1; in generate_gs_copy_shader()
2415 output.swizzle_y = 7; in generate_gs_copy_shader()
2433 output.swizzle_y = 7; in generate_gs_copy_shader()
2453 output.swizzle_y = 7; in generate_gs_copy_shader()
2473 output.swizzle_y = 4; /* 0 */ in generate_gs_copy_shader()
2493 output.swizzle_y = 7; in generate_gs_copy_shader()
2510 output.swizzle_y = 7; in generate_gs_copy_shader()
3682 output[j].swizzle_y = 1; in r600_shader_from_tgsi()
3700 output[j].swizzle_y = 7; in r600_shader_from_tgsi()
3709 output[j].swizzle_y = 0; in r600_shader_from_tgsi()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_aos.c70 unsigned swizzle_y, in swizzle_aos() argument
78 assert(swizzle_y < 4); in swizzle_aos()
83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y]; in swizzle_aos()
/external/libdrm/intel/
Dintel_decode.c761 const char *swizzle_y = i915_get_channel_swizzle((a1 >> 24) & 0xf); in i915_get_instruction_src0() local
767 sprintf(swizzle, ".%s%s%s%s", swizzle_x, swizzle_y, swizzle_z, in i915_get_instruction_src0()
779 const char *swizzle_y = i915_get_channel_swizzle((a1 >> 0) & 0xf); in i915_get_instruction_src1() local
785 sprintf(swizzle, ".%s%s%s%s", swizzle_x, swizzle_y, swizzle_z, in i915_get_instruction_src1()
796 const char *swizzle_y = i915_get_channel_swizzle((a2 >> 8) & 0xf); in i915_get_instruction_src2() local
802 sprintf(swizzle, ".%s%s%s%s", swizzle_x, swizzle_y, swizzle_z, in i915_get_instruction_src2()
/external/mesa3d/src/mesa/main/
Dformat_utils.c826 typed_dst[1] = tmp[swizzle_y]; \
860 const uint8_t swizzle_y = swizzle[1]; \
Dff_fragment_shader.cpp935 f = add(mul(f, swizzle_x(oparams)), swizzle_y(oparams)); in emit_fog_instructions()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c222 unsigned swizzle_y, in emit_swizzle() argument
230 swizzles[1] = LLVMConstInt(ctx->i32, swizzle_y, 0); in emit_swizzle()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c1737 unsigned swizzle_y, in emit_tex_swizzle() argument
1741 const unsigned swizzleIn[4] = {swizzle_x, swizzle_y, swizzle_z, swizzle_w}; in emit_tex_swizzle()