Home
last modified time | relevance | path

Searched refs:SwizzleZ (Results 1 – 25 of 32) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h282 reg->Register.SwizzleZ = swizzleZ; in tgsi_transform_src_reg()
401 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op1_swz_inst()
450 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op2_swz_inst()
451 inst.Src[1].Register.SwizzleZ = src1_swizzle; in tgsi_transform_op2_swz_inst()
507 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op3_swz_inst()
508 inst.Src[1].Register.SwizzleZ = src1_swizzle; in tgsi_transform_op3_swz_inst()
509 inst.Src[2].Register.SwizzleZ = src2_swizzle; in tgsi_transform_op3_swz_inst()
540 inst.Src[0].Register.SwizzleZ = in tgsi_transform_kill_inst()
Dtgsi_util.c63 return reg->SwizzleZ; in tgsi_util_get_src_register_swizzle()
95 reg->SwizzleZ = swizzle; in tgsi_util_set_src_register_swizzle()
383 inst->Src[src_idx].Register.SwizzleZ, in tgsi_util_get_inst_usage_mask()
401 src.SwizzleZ = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h54 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
890 (reg.SwizzleZ << 4) | in ureg_swizzle()
901 reg.SwizzleZ = (swz >> (z*2)) & 0x3; in ureg_swizzle()
1082 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_array_register()
1117 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
1172 src.SwizzleZ = 0; in ureg_src_undef()
Dtgsi_build.c804 texture_offset.SwizzleZ = 0; in tgsi_default_texture_offset()
822 texture_offset.SwizzleZ = swizzle_z; in tgsi_build_texture_offset()
838 src_register.SwizzleZ = TGSI_SWIZZLE_Z; in tgsi_default_src_register()
877 src_register.SwizzleZ = swizzle_z; in tgsi_build_src_register()
1118 full_inst->TexOffsets[i].SwizzleZ, in tgsi_build_full_instruction()
1224 reg->Register.SwizzleZ, in tgsi_build_full_instruction()
Dtgsi_lowering.c81 swiz[2] = src->SwizzleZ; in get_swiz()
95 src->Register.SwizzleZ = swiz[sz]; in reg_src()
1230 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in emit_twoside()
1236 new_inst.Src[1].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_twoside()
1242 new_inst.Src[2].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_twoside()
1276 ctx->imm.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
1290 ctx->tmp[i].src.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
Dtgsi_dump.c604 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in iter_instruction()
609 ENM( src->Register.SwizzleZ, tgsi_swizzle_names ); in iter_instruction()
634 ENM( inst->TexOffsets[i].SwizzleZ, tgsi_swizzle_names); in iter_instruction()
Dtgsi_text.c952 src->Register.SwizzleZ = swizzle[2]; in parse_src_operand()
992 src->SwizzleZ = swizzle[2]; in parse_texoffset_operand()
Dtgsi_ureg.c1132 out[n].src.SwizzleZ = src.SwizzleZ; in ureg_emit_src()
Dtgsi_scan.c531 (1 << fullinst->TexOffsets[i].SwizzleZ), in scan_instruction()
Dtgsi_exec.c1956 inst->TexOffsets[0].SwizzleZ, &index, &ZeroVec, &offset[2]); in fetch_texel_offsets()
2189 swizzles[2] = inst->Src[1].Register.SwizzleZ; in exec_lodq()
2387 swizzles[2] = inst->Src[1].Register.SwizzleZ; in exec_txf()
2559 swizzles[2] = inst->Src[1].Register.SwizzleZ; in exec_sample()
2641 swizzles[2] = inst->Src[1].Register.SwizzleZ; in exec_sample_d()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c158 if (write_mask & TGSI_WRITEMASK_Z && r->Register.SwizzleZ != TGSI_SWIZZLE_Z) in is_unswizzled()
201 r->Register.SwizzleZ = neutral; in set_neutral_element_swizzle()
203 r->Register.SwizzleZ = TGSI_SWIZZLE_Z; in set_neutral_element_swizzle()
220 o->SwizzleZ = i->SwizzleZ; in copy_src_reg()
452 swizzle_z = src_reg1->Register.SwizzleZ; in i915_fpc_optimize_mov_after_mov()
461 swizzle_z = src_reg2->Register.SwizzleZ; in i915_fpc_optimize_mov_after_mov()
468 src_reg2->Register.SwizzleZ = swizzle_z; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h224 unsigned SwizzleZ : 3; /* TGSI_SWIZZLE_ */ member
Di915_fpc_translate.c209 source->Register.SwizzleZ, in src_vector()
257 source->Register.SwizzleZ, source->Register.SwizzleW); in src_vector()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_tgsi.c247 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; in virgl_tgsi_transform_prolog()
306 (1 << inst->Src[i].Register.SwizzleZ) | in virgl_tgsi_transform_instruction()
376 temp_inst.Src[0].Register.SwizzleZ = inst->Src[i].Register.SwizzleZ; in virgl_tgsi_transform_instruction()
384 inst->Src[i].Register.SwizzleZ = TGSI_SWIZZLE_Z; in virgl_tgsi_transform_instruction()
410 inst->Src[0].Register.SwizzleZ = 2; in virgl_tgsi_transform_instruction()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c435 reg->Register.SwizzleZ, in lp_build_emit_fetch_src()
475 reg.Register.SwizzleZ = off->SwizzleZ; in lp_build_emit_fetch_texoffset()
502 off->SwizzleZ, in lp_build_emit_fetch_texoffset()
Dlp_bld_tgsi_soa.c2448 inst->Src[1].Register.SwizzleZ != PIPE_SWIZZLE_Z || in emit_sample()
2453 swizzles[2] = inst->Src[1].Register.SwizzleZ; in emit_sample()
2589 inst->Src[1].Register.SwizzleZ != PIPE_SWIZZLE_Z || in emit_fetch_texels()
2594 swizzles[2] = inst->Src[1].Register.SwizzleZ; in emit_fetch_texels()
2856 reg.Register.SwizzleZ = 2; in emit_dump_file()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_viewport.c72 … st->state.viewport[i].swizzle_z = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleZ); in st_update_viewport()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h722 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_x */ member
750 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
/third_party/mesa3d/src/mesa/main/
Dviewport.c484 ctx->ViewportArray[i].SwizzleZ = GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV; in _mesa_init_viewport()
654 viewport->SwizzleZ == swizzlez && in set_viewport_swizzle()
663 viewport->SwizzleZ = swizzlez; in set_viewport_swizzle()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c1565 unsigned swizzleZ = reg->Register.SwizzleZ; in emit_src_register()
2344 reg.Register.SwizzleZ = TGSI_SWIZZLE_Z; in make_src_reg()
2367 reg.Register.SwizzleZ = in make_src_scalar_reg()
2472 return reg->Register.SwizzleZ; in get_swizzle()
2494 swizzled.Register.SwizzleZ = get_swizzle(reg, swizzleZ); in swizzle_src()
2511 swizzled.Register.SwizzleZ = in scalar_src()
2537 reg->Register.SwizzleY == reg->Register.SwizzleZ && in same_swizzle_terms()
2538 reg->Register.SwizzleZ == reg->Register.SwizzleW); in same_swizzle_terms()
2645 reg.Register.SwizzleZ = z; in make_immediate_reg_4()
2680 reg.Register.SwizzleZ = in make_immediate_reg()
[all …]
Dsvga_tgsi_insn.c257 reg->Register.SwizzleZ, in translate_src_register()
1361 reg->Register.SwizzleZ != 2 || in emit_cond_discard()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c410 src.swz[2] = fsrc->Register.SwizzleZ; in tgsi_src()
479 || fsrc->Register.SwizzleZ == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction()
486 addend.swz[2] = fsrc->Register.SwizzleZ; in nvfx_fragprog_parse_instruction()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c1191 texoffsets.SwizzleZ = offsetreg.SwizzleZ; in sample_ureg_emit()
1461 tsrc.SwizzleZ = TGSI_SWIZZLE_Z; in Shader_tgsi_translate()
1471 tsrc.SwizzleZ = opcode.src[1].swizzle[2]; in Shader_tgsi_translate()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c319 insn->src[i].SwizzleZ, in ntt_live_reg_setup_def_use()
2735 tex_offset.SwizzleZ = offset.SwizzleZ; in ntt_emit_texture()
Dtgsi_to_nir.c896 src.swizzle[2] = tgsi_src->SwizzleZ; in ttn_get_src()
1549 src.swizzle[2] = tex_offset->SwizzleZ; in ttn_tex()

12