Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h283 reg->Register.SwizzleW = swizzleW; in tgsi_transform_src_reg()
404 inst.Src[0].Register.SwizzleW = src0_swizzle; in tgsi_transform_op1_swz_inst()
454 inst.Src[0].Register.SwizzleW = src0_swizzle; in tgsi_transform_op2_swz_inst()
455 inst.Src[1].Register.SwizzleW = src1_swizzle; in tgsi_transform_op2_swz_inst()
512 inst.Src[0].Register.SwizzleW = src0_swizzle; in tgsi_transform_op3_swz_inst()
513 inst.Src[1].Register.SwizzleW = src1_swizzle; in tgsi_transform_op3_swz_inst()
514 inst.Src[2].Register.SwizzleW = src2_swizzle; in tgsi_transform_op3_swz_inst()
541 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()
384 inst->Src[src_idx].Register.SwizzleW, in tgsi_util_get_inst_usage_mask()
402 src.SwizzleW = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h55 unsigned SwizzleW : 2; /* TGSI_SWIZZLE_ */ member
891 (reg.SwizzleW << 6)); in ureg_swizzle()
902 reg.SwizzleW = (swz >> (w*2)) & 0x3; in ureg_swizzle()
1083 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src_array_register()
1118 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src()
1173 src.SwizzleW = 0; in ureg_src_undef()
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.c1133 out[n].src.SwizzleW = src.SwizzleW; in ureg_emit_src()
Dtgsi_text.c953 src->Register.SwizzleW = swizzle[3]; in parse_src_operand()
Dtgsi_exec.c2190 swizzles[3] = inst->Src[1].Register.SwizzleW; in exec_lodq()
2388 swizzles[3] = inst->Src[1].Register.SwizzleW; in exec_txf()
2560 swizzles[3] = inst->Src[1].Register.SwizzleW; in exec_sample()
2642 swizzles[3] = inst->Src[1].Register.SwizzleW; in exec_sample_d()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c160 if (write_mask & TGSI_WRITEMASK_W && r->Register.SwizzleW != TGSI_SWIZZLE_W) in is_unswizzled()
206 r->Register.SwizzleW = neutral; in set_neutral_element_swizzle()
208 r->Register.SwizzleW = TGSI_SWIZZLE_W; in set_neutral_element_swizzle()
221 o->SwizzleW = i->SwizzleW; in copy_src_reg()
453 swizzle_w = src_reg1->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
463 swizzle_w = src_reg2->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
469 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.c210 source->Register.SwizzleW in src_vector()
257 source->Register.SwizzleZ, source->Register.SwizzleW); in src_vector()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_tgsi.c248 inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_Z; in virgl_tgsi_transform_prolog()
307 (1 << inst->Src[i].Register.SwizzleW); in virgl_tgsi_transform_instruction()
377 temp_inst.Src[0].Register.SwizzleW = inst->Src[i].Register.SwizzleW; in virgl_tgsi_transform_instruction()
385 inst->Src[i].Register.SwizzleW = TGSI_SWIZZLE_W; in virgl_tgsi_transform_instruction()
411 inst->Src[0].Register.SwizzleW = 3; in virgl_tgsi_transform_instruction()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_viewport.c73 … st->state.viewport[i].swizzle_w = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleW); in st_update_viewport()
/third_party/mesa3d/src/mesa/main/
Dviewport.c485 ctx->ViewportArray[i].SwizzleW = GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV; in _mesa_init_viewport()
655 viewport->SwizzleW == swizzlew) in set_viewport_swizzle()
664 viewport->SwizzleW = swizzlew; in set_viewport_swizzle()
Dmtypes.h1366 GLenum16 SwizzleX, SwizzleY, SwizzleZ, SwizzleW; member
Dget.c1369 v->value_enum = ctx->ViewportArray[0].SwizzleW; in find_custom_value()
2972 v->value_int = ctx->ViewportArray[index].SwizzleW; in find_value_indexed()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h751 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()
Dnvfx_vertprog.c400 src.swz[3] = fsrc->Register.SwizzleW; in tgsi_src()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c1566 unsigned swizzleW = reg->Register.SwizzleW; in emit_src_register()
2345 reg.Register.SwizzleW = TGSI_SWIZZLE_W; in make_src_reg()
2368 reg.Register.SwizzleW = component; in make_src_scalar_reg()
2474 return reg->Register.SwizzleW; in get_swizzle()
2495 swizzled.Register.SwizzleW = get_swizzle(reg, swizzleW); in swizzle_src()
2512 swizzled.Register.SwizzleW = get_swizzle(reg, swizzle); in scalar_src()
2538 reg->Register.SwizzleZ == reg->Register.SwizzleW); in same_swizzle_terms()
2646 reg.Register.SwizzleW = w; in make_immediate_reg_4()
2681 reg.Register.SwizzleW = find_imm_in_vec4(emit->immediates[immpos], value); in make_immediate_reg()
2762 reg.Register.SwizzleW = TGSI_SWIZZLE_W; in make_immediate_reg_double()
[all …]
Dsvga_tgsi_insn.c258 reg->Register.SwizzleW ); in translate_src_register()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c436 reg->Register.SwizzleW); in lp_build_emit_fetch_src()
Dlp_bld_tgsi_soa.c2449 inst->Src[1].Register.SwizzleW != PIPE_SWIZZLE_W) { in emit_sample()
2454 swizzles[3] = inst->Src[1].Register.SwizzleW; in emit_sample()
2590 inst->Src[1].Register.SwizzleW != PIPE_SWIZZLE_W)) { in emit_fetch_texels()
2595 swizzles[3] = inst->Src[1].Register.SwizzleW; in emit_fetch_texels()
2857 reg.Register.SwizzleW = 3; in emit_dump_file()
/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()

12