Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_int64.h25 ir_expression *const r0012 = expr(ir_unop_find_msb, swizzle_y(r000D)); in udivmod64()
29 ir_expression *const r0014 = equal(swizzle_y(r000D), body.constant(0u)); in udivmod64()
30 ir_expression *const r0015 = gequal(swizzle_y(r000C), swizzle_x(r000D)); in udivmod64()
73 ir_expression *const r0020 = lequal(r001F, swizzle_y(r000C)); in udivmod64()
82 body.emit(assign(r000C, sub(swizzle_y(r000C), r0022), 0x02)); in udivmod64()
85 body.emit(assign(r0011, bit_or(swizzle_y(r0011), r0023), 0x02)); in udivmod64()
101 ir_expression *const r0025 = lequal(swizzle_x(r000D), swizzle_y(r000C)); in udivmod64()
108 body.emit(assign(r000C, sub(swizzle_y(r000C), swizzle_x(r000D)), 0x02)); in udivmod64()
110 body.emit(assign(r0011, bit_or(swizzle_y(r0011), body.constant(1u)), 0x02)); in udivmod64()
239 ir_expression *const r003C = expr(ir_unop_find_msb, swizzle_y(r0036)); in udiv64()
[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.cpp194 swizzle_y(gl_WorkGroupSize->clone(shader, NULL))); in make_gl_LocalInvocationIndex()
196 mul(swizzle_y(gl_LocalInvocationID), swizzle_x(gl_WorkGroupSize->clone(shader, NULL))); in make_gl_LocalInvocationIndex()
Dlower_blend_equation_advanced.cpp173 return min2(min2(swizzle_x(v), swizzle_y(v)), swizzle_z(v)); in minv3()
180 return max2(max2(swizzle_x(v), swizzle_y(v)), swizzle_z(v)); in maxv3()
Dlower_instructions.cpp398 i.insert_before(assign(unpacked, bit_and(swizzle_y(unpacked), sign_mask->clone(ir, NULL)), in dldexp_to_arith()
433 swizzle_y(unpacked), in dldexp_to_arith()
509 i.insert_before(assign(bits, swizzle_y(unpacked))); in dfrexp_sig_to_arith()
566 swizzle_y(expr(ir_unop_unpack_double_2x32, x)), in dfrexp_exp_to_arith()
Dir_builder.h226 ir_swizzle *swizzle_y(operand a);
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_shader_dump.c473 …if (srcreg.swizzle_x != 0 || srcreg.swizzle_y != 1 || srcreg.swizzle_z != 2 || srcreg.swizzle_w !=… in dump_srcreg()
475 …if (srcreg.swizzle_x == srcreg.swizzle_y && srcreg.swizzle_y == srcreg.swizzle_z && srcreg.swizzle… in dump_srcreg()
480 _debug_printf( "%c", "xyzw"[srcreg.swizzle_y] ); in dump_srcreg()
Dsvga_shader.h164 unsigned swizzle_y:2; member
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_aos.c40 unsigned swizzle_y, in swizzle_aos() argument
48 assert(swizzle_y < 4); in swizzle_aos()
53 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y]; in swizzle_aos()
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()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c430 unsigned swizzle_x, swizzle_y, swizzle_z, swizzle_w; in i915_fpc_optimize_mov_after_mov() local
451 swizzle_y = src_reg1->Register.SwizzleY; in i915_fpc_optimize_mov_after_mov()
459 swizzle_y = src_reg2->Register.SwizzleY; in i915_fpc_optimize_mov_after_mov()
467 src_reg2->Register.SwizzleY = swizzle_y; in i915_fpc_optimize_mov_after_mov()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.c115 uint8_t swizzle_y, in tgsi_util_get_src_usage_mask() argument
366 usage_mask |= 1 << swizzle_y; in tgsi_util_get_src_usage_mask()
Dtgsi_util.h73 uint8_t swizzle_y,
Dtgsi_build.c812 int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, in tgsi_build_texture_offset() argument
821 texture_offset.SwizzleY = swizzle_y; in tgsi_build_texture_offset()
853 unsigned swizzle_y, in tgsi_build_src_register() argument
868 assert( swizzle_y <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
876 src_register.SwizzleY = swizzle_y; in tgsi_build_src_register()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_viewport.c71 … st->state.viewport[i].swizzle_y = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleY); in st_update_viewport()
/third_party/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()
164 output->swizzle_y = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_Y(word1);
Dr600_asm.h168 unsigned swizzle_y; member
/third_party/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()
/third_party/mesa3d/src/gallium/tests/graw/
Dtri-gs.c71 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in set_viewport()
Dshader-leak.c70 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in set_viewport()
Dtri-instanced.c100 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in set_viewport()
Dgraw_util.h205 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in graw_util_viewport()
/third_party/mesa3d/src/gallium/tests/trivial/
Dtri.c198 p->viewport.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in init_prog()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h235 enum pipe_viewport_swizzle swizzle_y:8; member
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_init.c328 p->viewport.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in pp_init_fbos()

123