Home
last modified time | relevance | path

Searched refs:SwizzleX (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h280 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()
Dtgsi_ureg.h52 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()
Dtgsi_util.c59 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()
Dtgsi_build.c802 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()
Dtgsi_lowering.c79 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()
Dtgsi_dump.c602 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()
Dtgsi_text.c950 src->Register.SwizzleX = swizzle[0]; in parse_src_operand()
990 src->SwizzleX = swizzle[0]; in parse_texoffset_operand()
Dtgsi_ureg.c1130 out[n].src.SwizzleX = src.SwizzleX; in ureg_emit_src()
Dtgsi_scan.c529 (1 << fullinst->TexOffsets[i].SwizzleX) | in scan_instruction()
Dtgsi_exec.c1952 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/
Di915_fpc_optimize.c154 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()
Di915_fpc.h222 unsigned SwizzleX : 3; /* TGSI_SWIZZLE_ */ member
Di915_fpc_translate.c207 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/
Dlp_bld_tgsi.c433 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()
Dlp_bld_tgsi_soa.c2186 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/
Dvirgl_tgsi.c245 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/
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/include/pipe/
Dp_shader_tokens.h720 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member
748 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
/third_party/mesa3d/src/mesa/main/
Dviewport.c482 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/
Dsvga_tgsi_vgpu10.c1563 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/
Dnvfx_fragprog.c408 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/
DShaderTGSI.c1189 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/
Ddraw_pipe_aapoint.c266 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Z; in aa_transform_prolog()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c1616 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/
Dnir_to_tgsi.c317 insn->src[i].SwizzleX, in ntt_live_reg_setup_def_use()
2733 tex_offset.SwizzleX = offset.SwizzleX; in ntt_emit_texture()

12