Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h279 reg->Register.SwizzleZ = swizzleZ; in tgsi_transform_src_reg()
398 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op1_swz_inst()
447 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op2_swz_inst()
448 inst.Src[1].Register.SwizzleZ = src1_swizzle; in tgsi_transform_op2_swz_inst()
504 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op3_swz_inst()
505 inst.Src[1].Register.SwizzleZ = src1_swizzle; in tgsi_transform_op3_swz_inst()
506 inst.Src[2].Register.SwizzleZ = src2_swizzle; in tgsi_transform_op3_swz_inst()
537 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()
441 src.SwizzleZ = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h54 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
906 (reg.SwizzleZ << 4) | in ureg_swizzle()
917 reg.SwizzleZ = (swz >> (z*2)) & 0x3; in ureg_swizzle()
1098 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_array_register()
1133 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
1188 src.SwizzleZ = 0; in ureg_src_undef()
Dtgsi_build.c808 texture_offset.SwizzleZ = 0; in tgsi_default_texture_offset()
826 texture_offset.SwizzleZ = swizzle_z; in tgsi_build_texture_offset()
842 src_register.SwizzleZ = TGSI_SWIZZLE_Z; in tgsi_default_src_register()
881 src_register.SwizzleZ = swizzle_z; in tgsi_build_src_register()
1122 full_inst->TexOffsets[i].SwizzleZ, in tgsi_build_full_instruction()
1228 reg->Register.SwizzleZ, in tgsi_build_full_instruction()
Dtgsi_emulate.c97 new_inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in passthrough_edgeflag()
Dtgsi_lowering.c80 swiz[2] = src->SwizzleZ; in get_swiz()
94 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.c620 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in iter_instruction()
625 ENM( src->Register.SwizzleZ, tgsi_swizzle_names ); in iter_instruction()
650 ENM( inst->TexOffsets[i].SwizzleZ, tgsi_swizzle_names); in iter_instruction()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_util.c62 return reg->SwizzleZ; in tgsi_util_get_src_register_swizzle()
96 reg->SwizzleZ = swizzle; in tgsi_util_set_src_register_swizzle()
358 src.SwizzleZ = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h50 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
948 (reg.SwizzleZ << 4) | in ureg_swizzle()
959 reg.SwizzleZ = (swz >> (z*2)) & 0x3; in ureg_swizzle()
1093 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_register()
1121 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
1169 src.SwizzleZ = 0; in ureg_src_undef()
Dtgsi_build.c792 texture_offset.SwizzleZ = 0; in tgsi_default_texture_offset()
810 texture_offset.SwizzleZ = swizzle_z; in tgsi_build_texture_offset()
826 src_register.SwizzleZ = TGSI_SWIZZLE_Z; in tgsi_default_src_register()
865 src_register.SwizzleZ = swizzle_z; in tgsi_build_src_register()
1105 full_inst->TexOffsets[i].SwizzleZ, in tgsi_build_full_instruction()
1211 reg->Register.SwizzleZ, in tgsi_build_full_instruction()
Dtgsi_dump.c579 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in iter_instruction()
584 ENM( src->Register.SwizzleZ, tgsi_swizzle_names ); in iter_instruction()
609 ENM( inst->TexOffsets[i].SwizzleZ, tgsi_swizzle_names); in iter_instruction()
Dtgsi_scan.c194 src->Register.SwizzleZ == TGSI_SWIZZLE_Z || in tgsi_scan_shader()
525 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in tgsi_is_passthrough_shader()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c166 if ( write_mask & TGSI_WRITEMASK_Z && r->Register.SwizzleZ != TGSI_SWIZZLE_Z) in is_unswizzled()
207 r->Register.SwizzleZ = neutral; in set_neutral_element_swizzle()
209 r->Register.SwizzleZ = TGSI_SWIZZLE_Z; in set_neutral_element_swizzle()
225 o->SwizzleZ = i->SwizzleZ; in copy_src_reg()
453 swizzle_z = src_reg1->Register.SwizzleZ; in i915_fpc_optimize_mov_after_mov()
462 swizzle_z = src_reg2->Register.SwizzleZ; in i915_fpc_optimize_mov_after_mov()
469 src_reg2->Register.SwizzleZ = swizzle_z; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h254 unsigned SwizzleZ : 3; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c115 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in transform_instr()
119 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; in transform_instr()
Dst_tgsi_lower_yuv.c75 swiz[2] = src->SwizzleZ; in get_swiz()
89 src->Register.SwizzleZ = swiz[sz]; in reg_src()
163 ctx->imm[idx].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_immed()
234 ctx->tmp[i].src.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
Dst_atom_viewport.c72 … st->state.viewport[i].swizzle_z = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleZ); in st_update_viewport()
Dst_tgsi_lower_depth_clamp.c155 inst.Src[0].Register.SwizzleZ = in epilog_last_vertex_stage()
160 inst.Src[1].Register.SwizzleZ = in epilog_last_vertex_stage()
Dst_cb_drawpixels_shader.c63 inst->Src[i].Register.SwizzleZ = z; in set_src()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c431 reg->Register.SwizzleZ, in lp_build_emit_fetch_src()
473 reg.Register.SwizzleZ = off->SwizzleZ; in lp_build_emit_fetch_texoffset()
500 off->SwizzleZ, in lp_build_emit_fetch_texoffset()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h727 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_x */ member
755 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h705 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_x */ member
733 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/mesa/main/
Dviewport.c493 ctx->ViewportArray[i].SwizzleZ = GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV; in _mesa_init_viewport()
674 viewport->SwizzleZ == swizzlez && in set_viewport_swizzle()
683 viewport->SwizzleZ = swizzlez; in set_viewport_swizzle()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c1486 unsigned swizzleZ = reg->Register.SwizzleZ; in emit_src_register()
2170 reg.Register.SwizzleZ = TGSI_SWIZZLE_Z; in make_src_reg()
2193 reg.Register.SwizzleZ = in make_src_scalar_reg()
2298 return reg->Register.SwizzleZ; in get_swizzle()
2320 swizzled.Register.SwizzleZ = get_swizzle(reg, swizzleZ); in swizzle_src()
2337 swizzled.Register.SwizzleZ = in scalar_src()
2363 reg->Register.SwizzleY == reg->Register.SwizzleZ && in same_swizzle_terms()
2364 reg->Register.SwizzleZ == reg->Register.SwizzleW); in same_swizzle_terms()
2471 reg.Register.SwizzleZ = z; in make_immediate_reg_4()
2506 reg.Register.SwizzleZ = in make_immediate_reg()
[all …]
/external/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()

12