Home
last modified time | relevance | path

Searched refs:SwizzleW (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h280 reg->Register.SwizzleW = swizzleW; in tgsi_transform_src_reg()
401 inst.Src[0].Register.SwizzleW = src0_swizzle; in tgsi_transform_op1_swz_inst()
451 inst.Src[0].Register.SwizzleW = src0_swizzle; in tgsi_transform_op2_swz_inst()
452 inst.Src[1].Register.SwizzleW = src1_swizzle; in tgsi_transform_op2_swz_inst()
509 inst.Src[0].Register.SwizzleW = src0_swizzle; in tgsi_transform_op3_swz_inst()
510 inst.Src[1].Register.SwizzleW = src1_swizzle; in tgsi_transform_op3_swz_inst()
511 inst.Src[2].Register.SwizzleW = src2_swizzle; in tgsi_transform_op3_swz_inst()
538 inst.Src[0].Register.SwizzleW = src_swizzle; in tgsi_transform_kill_inst()
Dtgsi_util.c65 return reg->SwizzleW; in tgsi_util_get_src_register_swizzle()
98 reg->SwizzleW = swizzle; in tgsi_util_set_src_register_swizzle()
381 src.SwizzleW = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h55 unsigned SwizzleW : 2; /* TGSI_SWIZZLE_ */ member
890 (reg.SwizzleW << 6)); in ureg_swizzle()
901 reg.SwizzleW = (swz >> (w*2)) & 0x3; in ureg_swizzle()
1082 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src_array_register()
1117 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src()
1172 src.SwizzleW = 0; in ureg_src_undef()
Dtgsi_emulate.c98 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in passthrough_edgeflag()
Dtgsi_lowering.c82 swiz[3] = src->SwizzleW; in get_swiz()
96 src->Register.SwizzleW = swiz[sw]; in reg_src()
1231 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in emit_twoside()
1237 new_inst.Src[1].Register.SwizzleW = TGSI_SWIZZLE_W; in emit_twoside()
1243 new_inst.Src[2].Register.SwizzleW = TGSI_SWIZZLE_W; in emit_twoside()
1277 ctx->imm.Register.SwizzleW = TGSI_SWIZZLE_W; in emit_decls()
1291 ctx->tmp[i].src.Register.SwizzleW = TGSI_SWIZZLE_W; in emit_decls()
Dtgsi_build.c839 src_register.SwizzleW = TGSI_SWIZZLE_W; in tgsi_default_src_register()
878 src_register.SwizzleW = swizzle_w; in tgsi_build_src_register()
1225 reg->Register.SwizzleW, in tgsi_build_full_instruction()
Dtgsi_dump.c605 src->Register.SwizzleW != TGSI_SWIZZLE_W) { in iter_instruction()
610 ENM( src->Register.SwizzleW, tgsi_swizzle_names ); in iter_instruction()
Dtgsi_ureg.c1126 out[n].src.SwizzleW = src.SwizzleW; in ureg_emit_src()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c180 if (write_mask & TGSI_WRITEMASK_W && r->Register.SwizzleW != TGSI_SWIZZLE_W) in is_unswizzled()
226 r->Register.SwizzleW = neutral; in set_neutral_element_swizzle()
228 r->Register.SwizzleW = TGSI_SWIZZLE_W; in set_neutral_element_swizzle()
241 o->SwizzleW = i->SwizzleW; in copy_src_reg()
481 swizzle_w = src_reg1->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
491 swizzle_w = src_reg2->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
497 src_reg2->Register.SwizzleW = swizzle_w; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h225 unsigned SwizzleW : 3; /* TGSI_SWIZZLE_ */ member
Di915_fpc_translate.c217 source->Register.SwizzleZ, source->Register.SwizzleW); in src_vector()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c116 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in transform_instr()
120 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_W; in transform_instr()
Dst_tgsi_lower_yuv.c76 swiz[3] = src->SwizzleW; in get_swiz()
90 src->Register.SwizzleW = swiz[sw]; in reg_src()
164 ctx->imm[idx].Register.SwizzleW = TGSI_SWIZZLE_W; in emit_immed()
235 ctx->tmp[i].src.Register.SwizzleW = TGSI_SWIZZLE_W; in emit_decls()
Dst_atom_viewport.c73 … st->state.viewport[i].swizzle_w = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleW); in st_update_viewport()
Dst_tgsi_lower_depth_clamp.c156 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_Z; in epilog_last_vertex_stage()
161 inst.Src[1].Register.SwizzleW = TGSI_SWIZZLE_W; in epilog_last_vertex_stage()
Dst_cb_drawpixels_shader.c64 inst->Src[i].Register.SwizzleW = w; in set_src()
/third_party/mesa3d/src/mesa/main/
Dviewport.c495 ctx->ViewportArray[i].SwizzleW = GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV; in _mesa_init_viewport()
676 viewport->SwizzleW == swizzlew) in set_viewport_swizzle()
685 viewport->SwizzleW = swizzlew; in set_viewport_swizzle()
Dget.c1352 v->value_enum = ctx->ViewportArray[0].SwizzleW; in find_custom_value()
2933 v->value_int = ctx->ViewportArray[index].SwizzleW; in find_value_indexed()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h750 unsigned SwizzleW : 2; /* TGSI_SWIZZLE_ */ member
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c411 src.swz[3] = fsrc->Register.SwizzleW; in tgsi_src()
480 || fsrc->Register.SwizzleW == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction()
487 addend.swz[3] = fsrc->Register.SwizzleW; in nvfx_fragprog_parse_instruction()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c432 reg->Register.SwizzleW); in lp_build_emit_fetch_src()
Dlp_bld_tgsi_soa.c2444 inst->Src[1].Register.SwizzleW != PIPE_SWIZZLE_W) { in emit_sample()
2449 swizzles[3] = inst->Src[1].Register.SwizzleW; in emit_sample()
2585 inst->Src[1].Register.SwizzleW != PIPE_SWIZZLE_W)) { in emit_fetch_texels()
2590 swizzles[3] = inst->Src[1].Register.SwizzleW; in emit_fetch_texels()
2851 reg.Register.SwizzleW = 3; in emit_dump_file()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c1487 unsigned swizzleW = reg->Register.SwizzleW; in emit_src_register()
2171 reg.Register.SwizzleW = TGSI_SWIZZLE_W; in make_src_reg()
2194 reg.Register.SwizzleW = component; in make_src_scalar_reg()
2300 return reg->Register.SwizzleW; in get_swizzle()
2321 swizzled.Register.SwizzleW = get_swizzle(reg, swizzleW); in swizzle_src()
2338 swizzled.Register.SwizzleW = get_swizzle(reg, swizzle); in scalar_src()
2364 reg->Register.SwizzleZ == reg->Register.SwizzleW); in same_swizzle_terms()
2472 reg.Register.SwizzleW = w; in make_immediate_reg_4()
2507 reg.Register.SwizzleW = find_imm_in_vec4(emit->immediates[immpos], value); in make_immediate_reg()
2588 reg.Register.SwizzleW = TGSI_SWIZZLE_W; in make_immediate_reg_double()
[all …]
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DShaderTGSI.c1462 tsrc.SwizzleW = TGSI_SWIZZLE_W; in Shader_tgsi_translate()
1472 tsrc.SwizzleW = opcode.src[1].swizzle[3]; in Shader_tgsi_translate()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_tgsi.c662 (!(dst.WriteMask & TGSI_WRITEMASK_W) || src.SwizzleW == TGSI_SWIZZLE_W); in etna_mov_check_no_swizzle()
982 .swiz = INST_SWIZ(reg->SwizzleX, reg->SwizzleY, reg->SwizzleZ, reg->SwizzleW), in etna_create_src()

12