/third_party/mesa3d/src/compiler/glsl/ |
D | builtin_int64.h | 30 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 …]
|
D | lower_packing_builtins.cpp | 218 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()
|
D | lower_cs_derived.cpp | 193 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()
|
D | lower_blend_equation_advanced.cpp | 173 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()
|
D | ir_builder.h | 225 ir_swizzle *swizzle_x(operand a);
|
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/ |
D | svga_shader_dump.c | 473 …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()
|
D | svga_shader.h | 163 unsigned swizzle_x:2; member
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir_aos.c | 39 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()
|
D | lp_bld_tgsi_aos.c | 69 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/ |
D | i915_fpc_optimize.c | 430 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/ |
D | tgsi_util.c | 114 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()
|
D | tgsi_util.h | 72 uint8_t swizzle_x,
|
D | tgsi_build.c | 812 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/ |
D | st_atom_viewport.c | 70 … 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/ |
D | eg_asm.c | 90 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);
|
D | r600_asm.h | 167 unsigned swizzle_x; member
|
/third_party/libdrm/intel/ |
D | intel_decode.c | 760 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/ |
D | tri-gs.c | 70 vp.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in set_viewport()
|
D | shader-leak.c | 69 vp.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in set_viewport()
|
D | tri-instanced.c | 99 vp.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in set_viewport()
|
D | graw_util.h | 204 vp.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in graw_util_viewport()
|
/third_party/mesa3d/src/gallium/tests/trivial/ |
D | tri.c | 197 p->viewport.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in init_prog()
|
D | quad-tex.c | 254 p->viewport.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in init_prog()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 234 enum pipe_viewport_swizzle swizzle_x:8; member
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_init.c | 327 p->viewport.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in pp_init_fbos()
|