/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_transform.h | 280 reg->Register.SwizzleX = swizzleX; in tgsi_transform_src_reg() 395 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op1_swz_inst() 442 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op2_swz_inst() 443 inst.Src[1].Register.SwizzleX = src1_swizzle; in tgsi_transform_op2_swz_inst() 497 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op3_swz_inst() 498 inst.Src[1].Register.SwizzleX = src1_swizzle; in tgsi_transform_op3_swz_inst() 499 inst.Src[2].Register.SwizzleX = src2_swizzle; in tgsi_transform_op3_swz_inst() 538 inst.Src[0].Register.SwizzleX = in tgsi_transform_kill_inst()
|
D | tgsi_ureg.h | 52 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member 888 unsigned swz = ( (reg.SwizzleX << 0) | in ureg_swizzle() 899 reg.SwizzleX = (swz >> (x*2)) & 0x3; in ureg_swizzle() 936 reg.IndirectSwizzle = addr.SwizzleX; in ureg_dst_indirect() 947 reg.IndirectSwizzle = addr.SwizzleX; in ureg_src_indirect() 981 reg.DimIndSwizzle = addr.SwizzleX; in ureg_dst_dimension_indirect() 995 reg.DimIndSwizzle = addr.SwizzleX; in ureg_src_dimension_indirect() 1080 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_array_register() 1115 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src() 1170 src.SwizzleX = 0; in ureg_src_undef()
|
D | tgsi_util.c | 59 return reg->SwizzleX; in tgsi_util_get_src_register_swizzle() 89 reg->SwizzleX = swizzle; in tgsi_util_set_src_register_swizzle() 381 inst->Src[src_idx].Register.SwizzleX, in tgsi_util_get_inst_usage_mask() 399 src.SwizzleX = reg->Swizzle; in tgsi_util_get_src_from_ind()
|
D | tgsi_build.c | 802 texture_offset.SwizzleX = 0; in tgsi_default_texture_offset() 820 texture_offset.SwizzleX = swizzle_x; in tgsi_build_texture_offset() 836 src_register.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_src_register() 875 src_register.SwizzleX = swizzle_x; in tgsi_build_src_register() 1116 full_inst->TexOffsets[i].SwizzleX, in tgsi_build_full_instruction() 1222 reg->Register.SwizzleX, in tgsi_build_full_instruction()
|
D | tgsi_lowering.c | 79 swiz[0] = src->SwizzleX; in get_swiz() 93 src->Register.SwizzleX = swiz[sx]; in reg_src() 1228 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1234 new_inst.Src[1].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1240 new_inst.Src[2].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside() 1274 ctx->imm.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls() 1288 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
|
D | tgsi_dump.c | 602 if (src->Register.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction() 607 ENM( src->Register.SwizzleX, tgsi_swizzle_names ); in iter_instruction() 632 ENM( inst->TexOffsets[i].SwizzleX, tgsi_swizzle_names); in iter_instruction()
|
D | tgsi_text.c | 950 src->Register.SwizzleX = swizzle[0]; in parse_src_operand() 990 src->SwizzleX = swizzle[0]; in parse_texoffset_operand()
|
D | tgsi_ureg.c | 1130 out[n].src.SwizzleX = src.SwizzleX; in ureg_emit_src()
|
D | tgsi_scan.c | 529 (1 << fullinst->TexOffsets[i].SwizzleX) | in scan_instruction()
|
D | tgsi_exec.c | 1952 inst->TexOffsets[0].SwizzleX, &index, &ZeroVec, &offset[0]); in fetch_texel_offsets() 2187 swizzles[0] = inst->Src[1].Register.SwizzleX; in exec_lodq() 2385 swizzles[0] = inst->Src[1].Register.SwizzleX; in exec_txf() 2557 swizzles[0] = inst->Src[1].Register.SwizzleX; in exec_sample() 2639 swizzles[0] = inst->Src[1].Register.SwizzleX; in exec_sample_d() 4822 float sample = mach->Imms[inst->Src[1].Register.Index][inst->Src[1].Register.SwizzleX]; in exec_interp_at_sample()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 154 if (write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled() 191 r->Register.SwizzleX = neutral; in set_neutral_element_swizzle() 193 r->Register.SwizzleX = TGSI_SWIZZLE_X; in set_neutral_element_swizzle() 218 o->SwizzleX = i->SwizzleX; in copy_src_reg() 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()
|
D | i915_fpc.h | 222 unsigned SwizzleX : 3; /* TGSI_SWIZZLE_ */ member
|
D | i915_fpc_translate.c | 207 source->Register.SwizzleX, in src_vector() 256 src = swizzle(src, source->Register.SwizzleX, source->Register.SwizzleY, in src_vector()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi.c | 433 reg->Register.SwizzleX, in lp_build_emit_fetch_src() 473 reg.Register.SwizzleX = off->SwizzleX; in lp_build_emit_fetch_texoffset() 500 off->SwizzleX, in lp_build_emit_fetch_texoffset() 504 off->SwizzleX); in lp_build_emit_fetch_texoffset()
|
D | lp_bld_tgsi_soa.c | 2186 uint32_t comp_val = inst->Src[sampler_reg].Register.SwizzleX; in emit_tex() 2446 if (inst->Src[1].Register.SwizzleX != PIPE_SWIZZLE_X || in emit_sample() 2451 swizzles[0] = inst->Src[1].Register.SwizzleX; in emit_sample() 2587 (inst->Src[1].Register.SwizzleX != PIPE_SWIZZLE_X || in emit_fetch_texels() 2592 swizzles[0] = inst->Src[1].Register.SwizzleX; in emit_fetch_texels() 2854 reg.Register.SwizzleX = 0; in emit_dump_file() 3975 emit_data->inst->Src[0].Register.SwizzleX); in emit_vertex()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_tgsi.c | 245 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in virgl_tgsi_transform_prolog() 304 uint32_t read_mask = (1 << inst->Src[i].Register.SwizzleX) | in virgl_tgsi_transform_instruction() 374 temp_inst.Src[0].Register.SwizzleX = inst->Src[i].Register.SwizzleX; in virgl_tgsi_transform_instruction() 382 inst->Src[i].Register.SwizzleX = TGSI_SWIZZLE_X; in virgl_tgsi_transform_instruction()
|
/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/include/pipe/ |
D | p_shader_tokens.h | 720 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member 748 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
|
/third_party/mesa3d/src/mesa/main/ |
D | viewport.c | 482 ctx->ViewportArray[i].SwizzleX = GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV; in _mesa_init_viewport() 652 if (viewport->SwizzleX == swizzlex && in set_viewport_swizzle() 661 viewport->SwizzleX = swizzlex; in set_viewport_swizzle()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_vgpu10.c | 1563 unsigned swizzleX = reg->Register.SwizzleX; in emit_src_register() 2342 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_src_reg() 2365 reg.Register.SwizzleX = in make_src_scalar_reg() 2468 return reg->Register.SwizzleX; in get_swizzle() 2492 swizzled.Register.SwizzleX = get_swizzle(reg, swizzleX); in swizzle_src() 2509 swizzled.Register.SwizzleX = in scalar_src() 2536 return (reg->Register.SwizzleX == reg->Register.SwizzleY && in same_swizzle_terms() 2643 reg.Register.SwizzleX = x; in make_immediate_reg_4() 2678 reg.Register.SwizzleX = in make_immediate_reg() 2759 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_immediate_reg_double() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nvfx_fragprog.c | 408 src.swz[0] = fsrc->Register.SwizzleX; in tgsi_src() 477 || fsrc->Register.SwizzleX == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction() 484 addend.swz[0] = fsrc->Register.SwizzleX; in nvfx_fragprog_parse_instruction()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | ShaderTGSI.c | 1189 texoffsets.SwizzleX = offsetreg.SwizzleX; in sample_ureg_emit() 1459 tsrc.SwizzleX = TGSI_SWIZZLE_X; in Shader_tgsi_translate() 1469 tsrc.SwizzleX = opcode.src[1].swizzle[0]; in Shader_tgsi_translate()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 266 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Z; in aa_transform_prolog()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_shader.c | 1616 r600_src->swizzle[0] = tgsi_src->Register.SwizzleX; in tgsi_src() 1676 vtx.dst_sel_x = tgsi_src->Register.SwizzleX; in tgsi_src() 1711 if ((tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleY) && in tgsi_src() 1712 (tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleZ) && in tgsi_src() 1713 (tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleW)) { in tgsi_src() 1715 index = tgsi_src->Register.Index * 4 + tgsi_src->Register.SwizzleX; in tgsi_src() 2207 mask |= 1 << reg->SwizzleX; in fetch_mask() 4531 int swizzle_x = inst->Src[0].Register.SwizzleX; in tgsi_op2_64_params() 8226 alu.src[1].value = ctx->literals[4 * off[0].Index + off[0].SwizzleX]; in tgsi_tex() 8253 offset_x = ctx->literals[4 * inst->TexOffsets[0].Index + inst->TexOffsets[0].SwizzleX] << 1; in tgsi_tex() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 317 insn->src[i].SwizzleX, in ntt_live_reg_setup_def_use() 2733 tex_offset.SwizzleX = offset.SwizzleX; in ntt_emit_texture()
|