Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h281 reg->Register.SwizzleY = swizzleY; in tgsi_transform_src_reg()
398 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op1_swz_inst()
446 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op2_swz_inst()
447 inst.Src[1].Register.SwizzleY = src1_swizzle; in tgsi_transform_op2_swz_inst()
502 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op3_swz_inst()
503 inst.Src[1].Register.SwizzleY = src1_swizzle; in tgsi_transform_op3_swz_inst()
504 inst.Src[2].Register.SwizzleY = src2_swizzle; in tgsi_transform_op3_swz_inst()
539 inst.Src[0].Register.SwizzleY = in tgsi_transform_kill_inst()
Dtgsi_util.c61 return reg->SwizzleY; in tgsi_util_get_src_register_swizzle()
92 reg->SwizzleY = swizzle; in tgsi_util_set_src_register_swizzle()
382 inst->Src[src_idx].Register.SwizzleY, in tgsi_util_get_inst_usage_mask()
400 src.SwizzleY = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h53 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_ */ member
889 (reg.SwizzleY << 2) | in ureg_swizzle()
900 reg.SwizzleY = (swz >> (y*2)) & 0x3; in ureg_swizzle()
1081 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src_array_register()
1116 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src()
1171 src.SwizzleY = 0; in ureg_src_undef()
Dtgsi_build.c803 texture_offset.SwizzleY = 0; in tgsi_default_texture_offset()
821 texture_offset.SwizzleY = swizzle_y; in tgsi_build_texture_offset()
837 src_register.SwizzleY = TGSI_SWIZZLE_Y; in tgsi_default_src_register()
876 src_register.SwizzleY = swizzle_y; in tgsi_build_src_register()
1117 full_inst->TexOffsets[i].SwizzleY, in tgsi_build_full_instruction()
1223 reg->Register.SwizzleY, in tgsi_build_full_instruction()
Dtgsi_lowering.c80 swiz[1] = src->SwizzleY; in get_swiz()
94 src->Register.SwizzleY = swiz[sy]; in reg_src()
1229 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in emit_twoside()
1235 new_inst.Src[1].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_twoside()
1241 new_inst.Src[2].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_twoside()
1275 ctx->imm.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
1289 ctx->tmp[i].src.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
Dtgsi_dump.c603 src->Register.SwizzleY != TGSI_SWIZZLE_Y || in iter_instruction()
608 ENM( src->Register.SwizzleY, tgsi_swizzle_names ); in iter_instruction()
633 ENM( inst->TexOffsets[i].SwizzleY, tgsi_swizzle_names); in iter_instruction()
Dtgsi_text.c951 src->Register.SwizzleY = swizzle[1]; in parse_src_operand()
991 src->SwizzleY = swizzle[1]; in parse_texoffset_operand()
Dtgsi_ureg.c1131 out[n].src.SwizzleY = src.SwizzleY; in ureg_emit_src()
Dtgsi_scan.c530 (1 << fullinst->TexOffsets[i].SwizzleY) | in scan_instruction()
Dtgsi_exec.c1954 inst->TexOffsets[0].SwizzleY, &index, &ZeroVec, &offset[1]); in fetch_texel_offsets()
2188 swizzles[1] = inst->Src[1].Register.SwizzleY; in exec_lodq()
2386 swizzles[1] = inst->Src[1].Register.SwizzleY; in exec_txf()
2558 swizzles[1] = inst->Src[1].Register.SwizzleY; in exec_sample()
2640 swizzles[1] = inst->Src[1].Register.SwizzleY; in exec_sample_d()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c156 if (write_mask & TGSI_WRITEMASK_Y && r->Register.SwizzleY != TGSI_SWIZZLE_Y) in is_unswizzled()
196 r->Register.SwizzleY = neutral; in set_neutral_element_swizzle()
198 r->Register.SwizzleY = TGSI_SWIZZLE_Y; in set_neutral_element_swizzle()
219 o->SwizzleY = i->SwizzleY; in copy_src_reg()
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()
Di915_fpc.h223 unsigned SwizzleY : 3; /* TGSI_SWIZZLE_ */ member
Di915_fpc_translate.c208 source->Register.SwizzleY, in src_vector()
256 src = swizzle(src, source->Register.SwizzleX, source->Register.SwizzleY, in src_vector()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_tgsi.c246 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_Y; in virgl_tgsi_transform_prolog()
305 (1 << inst->Src[i].Register.SwizzleY) | in virgl_tgsi_transform_instruction()
375 temp_inst.Src[0].Register.SwizzleY = inst->Src[i].Register.SwizzleY; in virgl_tgsi_transform_instruction()
383 inst->Src[i].Register.SwizzleY = TGSI_SWIZZLE_Y; in virgl_tgsi_transform_instruction()
409 inst->Src[0].Register.SwizzleY = 1; in virgl_tgsi_transform_instruction()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c434 reg->Register.SwizzleY, in lp_build_emit_fetch_src()
474 reg.Register.SwizzleY = off->SwizzleY; in lp_build_emit_fetch_texoffset()
501 off->SwizzleY, in lp_build_emit_fetch_texoffset()
Dlp_bld_tgsi_soa.c2447 inst->Src[1].Register.SwizzleY != PIPE_SWIZZLE_Y || in emit_sample()
2452 swizzles[1] = inst->Src[1].Register.SwizzleY; in emit_sample()
2588 inst->Src[1].Register.SwizzleY != PIPE_SWIZZLE_Y || in emit_fetch_texels()
2593 swizzles[1] = inst->Src[1].Register.SwizzleY; in emit_fetch_texels()
2855 reg.Register.SwizzleY = 1; in emit_dump_file()
/third_party/mesa3d/src/mesa/state_tracker/
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/include/pipe/
Dp_shader_tokens.h721 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_x */ member
749 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_ */ member
/third_party/mesa3d/src/mesa/main/
Dviewport.c483 ctx->ViewportArray[i].SwizzleY = GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV; in _mesa_init_viewport()
653 viewport->SwizzleY == swizzley && in set_viewport_swizzle()
662 viewport->SwizzleY = swizzley; in set_viewport_swizzle()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c1564 unsigned swizzleY = reg->Register.SwizzleY; in emit_src_register()
2343 reg.Register.SwizzleY = TGSI_SWIZZLE_Y; in make_src_reg()
2366 reg.Register.SwizzleY = in make_src_scalar_reg()
2470 return reg->Register.SwizzleY; in get_swizzle()
2493 swizzled.Register.SwizzleY = get_swizzle(reg, swizzleY); in swizzle_src()
2510 swizzled.Register.SwizzleY = in scalar_src()
2536 return (reg->Register.SwizzleX == reg->Register.SwizzleY && in same_swizzle_terms()
2537 reg->Register.SwizzleY == reg->Register.SwizzleZ && in same_swizzle_terms()
2644 reg.Register.SwizzleY = y; in make_immediate_reg_4()
2679 reg.Register.SwizzleY = in make_immediate_reg()
[all …]
Dsvga_tgsi_insn.c256 reg->Register.SwizzleY, in translate_src_register()
1360 reg->Register.SwizzleY != 1 || in emit_cond_discard()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c409 src.swz[1] = fsrc->Register.SwizzleY; in tgsi_src()
478 || fsrc->Register.SwizzleY == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction()
485 addend.swz[1] = fsrc->Register.SwizzleY; in nvfx_fragprog_parse_instruction()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c1190 texoffsets.SwizzleY = offsetreg.SwizzleY; in sample_ureg_emit()
1460 tsrc.SwizzleY = TGSI_SWIZZLE_Y; in Shader_tgsi_translate()
1470 tsrc.SwizzleY = opcode.src[1].swizzle[1]; in Shader_tgsi_translate()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c318 insn->src[i].SwizzleY, in ntt_live_reg_setup_def_use()
2734 tex_offset.SwizzleY = offset.SwizzleY; in ntt_emit_texture()
Dtgsi_to_nir.c895 src.swizzle[1] = tgsi_src->SwizzleY; in ttn_get_src()
1548 src.swizzle[1] = tex_offset->SwizzleY; in ttn_tex()

12