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/
H A 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(r003 in udiv64()
[all...]
H A 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( in lower_unpack_half_2x16()
[all...]
H A 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()
H A 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()
H A Dir_builder.h226 ir_swizzle *swizzle_y(operand a);
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/
H A Dsvga_shader_dump.c473 if (srcreg.swizzle_x != 0 || srcreg.swizzle_y != 1 || srcreg.swizzle_z != 2 || srcreg.swizzle_w != 3) { in dump_srcreg()
475 if (srcreg.swizzle_x == srcreg.swizzle_y && srcreg.swizzle_y == srcreg.swizzle_z && srcreg.swizzle_z == srcreg.swizzle_w) { in dump_srcreg()
480 _debug_printf( "%c", "xyzw"[srcreg.swizzle_y] ); in dump_srcreg()
H A Dsvga_shader.h164 unsigned swizzle_y:2; member
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_util.h73 uint8_t swizzle_y,
H A Dtgsi_util.c115 uint8_t swizzle_y, in tgsi_util_get_src_usage_mask()
366 usage_mask |= 1 << swizzle_y; in tgsi_util_get_src_usage_mask()
111 tgsi_util_get_src_usage_mask(enum tgsi_opcode opcode, unsigned src_idx, uint8_t write_mask, uint8_t swizzle_x, uint8_t swizzle_y, uint8_t swizzle_z, uint8_t swizzle_w, enum tgsi_texture_type tex_target, enum tgsi_texture_type mem_target) tgsi_util_get_src_usage_mask() argument
H A Dtgsi_build.c812 int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, in tgsi_build_texture_offset()
821 texture_offset.SwizzleY = swizzle_y; in tgsi_build_texture_offset()
853 unsigned swizzle_y, in tgsi_build_src_register()
868 assert( swizzle_y <= TGSI_SWIZZLE_W ); in tgsi_build_src_register()
876 src_register.SwizzleY = swizzle_y; in tgsi_build_src_register()
811 tgsi_build_texture_offset( int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, struct tgsi_instruction *instruction, struct tgsi_header *header ) tgsi_build_texture_offset() argument
850 tgsi_build_src_register( unsigned file, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w, unsigned negate, unsigned absolute, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) tgsi_build_src_register() argument
/third_party/mesa3d/src/gallium/drivers/i915/
H A 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/mesa/state_tracker/
H A 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/auxiliary/gallivm/
H A Dlp_bld_nir_aos.c40 unsigned swizzle_y, in swizzle_aos()
48 assert(swizzle_y < 4); in swizzle_aos()
53 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y]; in swizzle_aos()
37 swizzle_aos(struct lp_build_nir_context *bld_base, LLVMValueRef a, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w) swizzle_aos() argument
H A Dlp_bld_tgsi_aos.c70 unsigned swizzle_y, in swizzle_aos()
78 assert(swizzle_y < 4); in swizzle_aos()
83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y]; in swizzle_aos()
67 swizzle_aos(struct lp_build_tgsi_context *bld_base, LLVMValueRef a, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w) swizzle_aos() argument
/third_party/mesa3d/src/gallium/drivers/r600/
H A 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);
H A Dr600_asm.h168 unsigned swizzle_y; member
/third_party/mesa3d/src/gallium/tests/graw/
H A Dtri-gs.c71 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in set_viewport()
H A Dshader-leak.c70 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in set_viewport()
H A Dgraw_util.h205 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in graw_util_viewport()
H A Dquad-sample.c80 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in set_viewport()
H A Dtri-instanced.c100 vp.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in set_viewport()
/third_party/libdrm/intel/
H A 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/include/pipe/
H A Dp_state.h235 enum pipe_viewport_swizzle swizzle_y:8; member
/third_party/mesa3d/src/gallium/tests/trivial/
H A Dtri.c198 p->viewport.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in init_prog()
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_matrix_filter.c283 viewport.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in vl_matrix_filter_render()

Completed in 22 milliseconds

123