Home
last modified time | relevance | path

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

12

/external/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()
442 src.SwizzleW = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h55 unsigned SwizzleW : 2; /* TGSI_SWIZZLE_ */ member
907 (reg.SwizzleW << 6)); in ureg_swizzle()
918 reg.SwizzleW = (swz >> (w*2)) & 0x3; in ureg_swizzle()
1099 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src_array_register()
1134 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src()
1189 src.SwizzleW = 0; in ureg_src_undef()
Dtgsi_emulate.c98 new_inst.Src[0].Register.SwizzleW = TGSI_SWIZZLE_X; in passthrough_edgeflag()
Dtgsi_lowering.c81 swiz[3] = src->SwizzleW; in get_swiz()
95 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.c843 src_register.SwizzleW = TGSI_SWIZZLE_W; in tgsi_default_src_register()
882 src_register.SwizzleW = swizzle_w; in tgsi_build_src_register()
1229 reg->Register.SwizzleW, in tgsi_build_full_instruction()
Dtgsi_dump.c621 src->Register.SwizzleW != TGSI_SWIZZLE_W) { in iter_instruction()
626 ENM( src->Register.SwizzleW, tgsi_swizzle_names ); in iter_instruction()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_util.c64 return reg->SwizzleW; in tgsi_util_get_src_register_swizzle()
99 reg->SwizzleW = swizzle; in tgsi_util_set_src_register_swizzle()
359 src.SwizzleW = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h51 unsigned SwizzleW : 2; /* TGSI_SWIZZLE_ */ member
949 (reg.SwizzleW << 6)); in ureg_swizzle()
960 reg.SwizzleW = (swz >> (w*2)) & 0x3; in ureg_swizzle()
1094 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src_register()
1122 src.SwizzleW = TGSI_SWIZZLE_W; in ureg_src()
1170 src.SwizzleW = 0; in ureg_src_undef()
Dtgsi_scan.c195 src->Register.SwizzleW == TGSI_SWIZZLE_Z)) { in tgsi_scan_shader()
526 src->Register.SwizzleW != TGSI_SWIZZLE_W || in tgsi_is_passthrough_shader()
Dtgsi_build.c827 src_register.SwizzleW = TGSI_SWIZZLE_W; in tgsi_default_src_register()
866 src_register.SwizzleW = swizzle_w; in tgsi_build_src_register()
1212 reg->Register.SwizzleW, in tgsi_build_full_instruction()
Dtgsi_dump.c580 src->Register.SwizzleW != TGSI_SWIZZLE_W) { in iter_instruction()
585 ENM( src->Register.SwizzleW, tgsi_swizzle_names ); in iter_instruction()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c168 if ( write_mask & TGSI_WRITEMASK_W && r->Register.SwizzleW != TGSI_SWIZZLE_W) in is_unswizzled()
212 r->Register.SwizzleW = neutral; in set_neutral_element_swizzle()
214 r->Register.SwizzleW = TGSI_SWIZZLE_W; in set_neutral_element_swizzle()
226 o->SwizzleW = i->SwizzleW; in copy_src_reg()
454 swizzle_w = src_reg1->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
464 swizzle_w = src_reg2->Register.SwizzleW; in i915_fpc_optimize_mov_after_mov()
470 src_reg2->Register.SwizzleW = swizzle_w; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h255 unsigned SwizzleW : 3; /* TGSI_SWIZZLE_ */ member
/external/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()
/external/mesa3d/src/mesa/main/
Dviewport.c494 ctx->ViewportArray[i].SwizzleW = GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV; in _mesa_init_viewport()
675 viewport->SwizzleW == swizzlew) in set_viewport_swizzle()
684 viewport->SwizzleW = swizzlew; in set_viewport_swizzle()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h756 unsigned SwizzleW : 2; /* TGSI_SWIZZLE_ */ member
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h734 unsigned SwizzleW : 2; /* TGSI_SWIZZLE_ */ member
/external/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()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c432 reg->Register.SwizzleW); in lp_build_emit_fetch_src()
/external/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 …]

12