Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h261 reg->Register.SwizzleZ = swizzleZ; in tgsi_transform_src_reg()
380 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op1_swz_inst()
429 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op2_swz_inst()
430 inst.Src[1].Register.SwizzleZ = src1_swizzle; in tgsi_transform_op2_swz_inst()
486 inst.Src[0].Register.SwizzleZ = src0_swizzle; in tgsi_transform_op3_swz_inst()
487 inst.Src[1].Register.SwizzleZ = src1_swizzle; in tgsi_transform_op3_swz_inst()
488 inst.Src[2].Register.SwizzleZ = src2_swizzle; in tgsi_transform_op3_swz_inst()
519 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()
440 src.SwizzleZ = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h51 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
872 (reg.SwizzleZ << 4) | in ureg_swizzle()
883 reg.SwizzleZ = (swz >> (z*2)) & 0x3; in ureg_swizzle()
1062 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_array_register()
1097 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
1151 src.SwizzleZ = 0; in ureg_src_undef()
Dtgsi_build.c809 texture_offset.SwizzleZ = 0; in tgsi_default_texture_offset()
828 texture_offset.SwizzleZ = swizzle_z; in tgsi_build_texture_offset()
844 src_register.SwizzleZ = TGSI_SWIZZLE_Z; in tgsi_default_src_register()
883 src_register.SwizzleZ = swizzle_z; in tgsi_build_src_register()
1130 full_inst->TexOffsets[i].SwizzleZ, in tgsi_build_full_instruction()
1240 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/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/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()
364 src.SwizzleZ = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h50 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
941 (reg.SwizzleZ << 4) | in ureg_swizzle()
952 reg.SwizzleZ = (swz >> (z*2)) & 0x3; in ureg_swizzle()
1086 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src_register()
1114 src.SwizzleZ = TGSI_SWIZZLE_Z; in ureg_src()
1162 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()
Dtgsi_text.c939 src->Register.SwizzleZ = swizzle[2]; in parse_src_operand()
979 src->SwizzleZ = swizzle[2]; in parse_texoffset_operand()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c116 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_X; in transform_instr()
120 inst.Src[0].Register.SwizzleZ = TGSI_SWIZZLE_Z; in transform_instr()
Dst_tgsi_lower_yuv.c76 swiz[2] = src->SwizzleZ; in get_swiz()
90 src->Register.SwizzleZ = swiz[sz]; in reg_src()
164 ctx->imm[idx].Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_immed()
235 ctx->tmp[i].src.Register.SwizzleZ = TGSI_SWIZZLE_Z; in emit_decls()
Dst_cb_drawpixels_shader.c63 inst->Src[i].Register.SwizzleZ = z; in set_src()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c422 reg->Register.SwizzleZ, in lp_build_emit_fetch_src()
464 reg.Register.SwizzleZ = off->SwizzleZ; in lp_build_emit_fetch_texoffset()
491 off->SwizzleZ, in lp_build_emit_fetch_texoffset()
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h671 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_x */ member
699 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h712 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_x */ member
740 unsigned SwizzleZ : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c401 swiz[2] = swiz_vals[src->SwizzleZ]; in add_src_reg()
514 src->SwizzleZ = TGSI_SWIZZLE_Z; in src_from_dst()
559 src->SwizzleZ = TGSI_SWIZZLE_W; in get_predicate()
681 reg->SwizzleZ = swiz2tgsi[swiz]; in get_immediate()
941 tmp_src.SwizzleZ = tmp_src.SwizzleW = TGSI_SWIZZLE_X; in translate_trig()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c979 const unsigned swizzleZ = reg->Register.SwizzleZ; in emit_src_register()
1378 reg.Register.SwizzleZ = TGSI_SWIZZLE_Z; in make_src_reg()
1483 return reg->Register.SwizzleZ; in get_swizzle()
1505 swizzled.Register.SwizzleZ = get_swizzle(reg, swizzleZ); in swizzle_src()
1522 swizzled.Register.SwizzleZ = in scalar_src()
1548 reg->Register.SwizzleY == reg->Register.SwizzleZ && in same_swizzle_terms()
1549 reg->Register.SwizzleZ == reg->Register.SwizzleW); in same_swizzle_terms()
1630 reg.Register.SwizzleZ = z; in make_immediate_reg_4()
1665 reg.Register.SwizzleZ = in make_immediate_reg()
3803 inst->Src[0].Register.SwizzleX == inst->Src[0].Register.SwizzleZ && in emit_if()
[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()
/external/virglrenderer/src/
Dvrend_shader.c1965 imd->val[inst->TexOffsets[0].SwizzleZ].i); in fill_offset_buffer()
2002 get_swiz_char(inst->TexOffsets[0].SwizzleZ)); in fill_offset_buffer()
2041 get_swiz_char(inst->TexOffsets[0].SwizzleZ)); in fill_offset_buffer()
2307 idx += src->Register.SwizzleZ; in create_swizzled_clipdist()
2938 src->Register.SwizzleZ != TGSI_SWIZZLE_Z || in get_source_info()
2943 swizzle[swz_idx++] = get_swiz_char(src->Register.SwizzleZ); in get_source_info()
3180 idx = src->Register.SwizzleZ; in get_source_info()
3241 ctx->system_values[j].glsl_name, src->Register.SwizzleZ, in get_source_info()
3249 ctx->system_values[j].glsl_name, get_swiz_char(src->Register.SwizzleZ), in get_source_info()
3257 ctx->system_values[j].glsl_name, get_swiz_char(src->Register.SwizzleZ), in get_source_info()
[all …]

12