Home
last modified time | relevance | path

Searched refs:swizzle_x (Results 1 – 25 of 56) sorted by relevance

123

/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_int64.h30 ir_expression *const r0015 = gequal(swizzle_y(r000C), swizzle_x(r000D)); in udivmod64()
41 body.emit(assign(r0018, expr(ir_unop_find_msb, swizzle_x(r000D)), 0x01)); in udivmod64()
72 ir_expression *const r001F = lshift(swizzle_x(r000D), r0017); in udivmod64()
81 ir_expression *const r0022 = lshift(swizzle_x(r000D), r0017); 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()
169 body.emit(assign(r0011, bit_or(swizzle_x(r0011), r0031), 0x01)); in udivmod64()
194 body.emit(assign(r0011, bit_or(swizzle_x(r0011), body.constant(1u)), 0x01)); in udivmod64()
244 ir_expression *const r003F = gequal(swizzle_y(r0035), swizzle_x(r0036)); in udiv64()
255 body.emit(assign(r0042, expr(ir_unop_find_msb, swizzle_x(r0036)), 0x01)); in udiv64()
[all …]
Dlower_packing_builtins.cpp218 return bitfield_insert(bit_and(swizzle_x(u), constant(0xffffu)), in pack_uvec2_to_uint()
226 bit_and(swizzle_x(u), constant(0xffffu))); in pack_uvec2_to_uint()
250 bit_and(swizzle_x(u), constant(0xffu)), in pack_uvec4_to_uint()
263 swizzle_x(u))); in pack_uvec4_to_uint()
1054 factory.emit(assign(f16, pack_half_1x16_nosign(swizzle_x(f), in lower_pack_half_2x16()
1055 swizzle_x(e), in lower_pack_half_2x16()
1056 swizzle_x(m)), in lower_pack_half_2x16()
1076 swizzle_x(f16)); in lower_pack_half_2x16()
1275 factory.emit(assign(f32, unpack_half_1x16_nosign(swizzle_x(e), in lower_unpack_half_2x16()
1276 swizzle_x(m)), in lower_unpack_half_2x16()
Dlower_cs_derived.cpp193 mul(mul(swizzle_z(gl_LocalInvocationID), swizzle_x(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()
198 operand index_x(swizzle_x(gl_LocalInvocationID)); 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()
Dir_builder.h225 ir_swizzle *swizzle_x(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()
476 _debug_printf( "%c", "xyzw"[srcreg.swizzle_x] ); in dump_srcreg()
479 _debug_printf( "%c", "xyzw"[srcreg.swizzle_x] ); in dump_srcreg()
Dsvga_shader.h163 unsigned swizzle_x:2; member
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_aos.c39 unsigned swizzle_x, in swizzle_aos() argument
47 assert(swizzle_x < 4); in swizzle_aos()
52 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x]; in swizzle_aos()
Dlp_bld_tgsi_aos.c69 unsigned swizzle_x, in swizzle_aos() argument
77 assert(swizzle_x < 4); in swizzle_aos()
82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x]; 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
450 swizzle_x = src_reg1->Register.SwizzleX; in i915_fpc_optimize_mov_after_mov()
457 swizzle_x = src_reg2->Register.SwizzleX; in i915_fpc_optimize_mov_after_mov()
466 src_reg2->Register.SwizzleX = swizzle_x; in i915_fpc_optimize_mov_after_mov()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_util.c114 uint8_t swizzle_x, in tgsi_util_get_src_usage_mask() argument
364 usage_mask |= 1 << swizzle_x; in tgsi_util_get_src_usage_mask()
Dtgsi_util.h72 uint8_t swizzle_x,
Dtgsi_build.c812 int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, in tgsi_build_texture_offset() argument
820 texture_offset.SwizzleX = swizzle_x; in tgsi_build_texture_offset()
852 unsigned swizzle_x, in tgsi_build_src_register() argument
867 assert( swizzle_x <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
875 src_register.SwizzleX = swizzle_x; in tgsi_build_src_register()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_viewport.c70 … st->state.viewport[i].swizzle_x = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleX); in st_update_viewport()
/third_party/mesa3d/src/gallium/drivers/r600/
Deg_asm.c90 S_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_X(cf->output.swizzle_x) | in eg_bytecode_cf_build()
163 output->swizzle_x = G_SQ_CF_ALLOC_EXPORT_WORD1_SWIZ_SEL_X(word1);
Dr600_asm.h167 unsigned swizzle_x; member
/third_party/libdrm/intel/
Dintel_decode.c760 const char *swizzle_x = i915_get_channel_swizzle((a1 >> 28) & 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()
778 const char *swizzle_x = i915_get_channel_swizzle((a1 >> 4) & 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()
795 const char *swizzle_x = i915_get_channel_swizzle((a2 >> 12) & 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.c70 vp.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in set_viewport()
Dshader-leak.c69 vp.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in set_viewport()
Dtri-instanced.c99 vp.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in set_viewport()
Dgraw_util.h204 vp.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in graw_util_viewport()
/third_party/mesa3d/src/gallium/tests/trivial/
Dtri.c197 p->viewport.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in init_prog()
Dquad-tex.c254 p->viewport.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in init_prog()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h234 enum pipe_viewport_swizzle swizzle_x:8; member
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_init.c327 p->viewport.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in pp_init_fbos()

123