Home
last modified time | relevance | path

Searched refs:SwizzleX (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c109 ENM( src->DimIndirect.SwizzleX, tgsi_swizzle_names ); in _dump_register_src()
128 ENM( src->Indirect.SwizzleX, tgsi_swizzle_names ); in _dump_register_src()
156 ENM( dst->DimIndirect.SwizzleX, tgsi_swizzle_names ); in _dump_register_dst()
175 ENM( dst->Indirect.SwizzleX, tgsi_swizzle_names ); in _dump_register_dst()
509 if (inst->Predicate.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
514 ENM( inst->Predicate.SwizzleX, tgsi_swizzle_names ); in iter_instruction()
565 if (src->Register.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
570 ENM( src->Register.SwizzleX, tgsi_swizzle_names ); in iter_instruction()
592 ENM( inst->TexOffsets[i].SwizzleX, tgsi_swizzle_names); in iter_instruction()
Dtgsi_build.c644 instruction_predicate.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_instruction_predicate()
668 instruction_predicate.SwizzleX = swizzleX; in tgsi_build_instruction_predicate()
749 texture_offset.SwizzleX = 0; in tgsi_default_texture_offset()
768 texture_offset.SwizzleX = swizzle_x; in tgsi_build_texture_offset()
784 src_register.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_src_register()
823 src_register.SwizzleX = swizzle_x; in tgsi_build_src_register()
999 full_inst->Predicate.SwizzleX, in tgsi_build_full_instruction()
1051 full_inst->TexOffsets[i].SwizzleX, in tgsi_build_full_instruction()
1088 reg->Indirect.SwizzleX, in tgsi_build_full_instruction()
1127 reg->DimIndirect.SwizzleX, in tgsi_build_full_instruction()
[all …]
Dtgsi_ureg.h48 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
870 unsigned swz = ( (reg.SwizzleX << 0) | in ureg_swizzle()
881 reg.SwizzleX = (swz >> (x*2)) & 0x3; in ureg_swizzle()
936 reg.IndirectSwizzle = addr.SwizzleX; in ureg_dst_indirect()
948 reg.IndirectSwizzle = addr.SwizzleX; in ureg_src_indirect()
973 reg.DimIndSwizzle = addr.SwizzleX; in ureg_src_dimension_indirect()
1008 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_register()
1035 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src()
1086 src.SwizzleX = 0; in ureg_src_undef()
Dtgsi_util.c58 return reg->SwizzleX; in tgsi_util_get_src_register_swizzle()
90 reg->SwizzleX = swizzle; in tgsi_util_set_src_register_swizzle()
Dtgsi_scan.c117 (src->Register.SwizzleX == TGSI_SWIZZLE_Z || in tgsi_scan_shader()
316 src->Register.SwizzleX != TGSI_SWIZZLE_X || in tgsi_is_passthrough_shader()
Dtgsi_ureg.c837 out[n].src.SwizzleX = src.SwizzleX; in ureg_emit_src()
850 out[n].src.SwizzleX = src.IndirectSwizzle; in ureg_emit_src()
868 out[n].src.SwizzleX = src.DimIndSwizzle; in ureg_emit_src()
915 out[n].src.SwizzleX = dst.IndirectSwizzle; in ureg_emit_dst()
974 out[1].insn_predicate.SwizzleX = pred_swizzle_x; in ureg_emit_insn()
Dtgsi_text.c713 dst->Indirect.SwizzleX = bracket[0].ind_comp; in parse_dst_operand()
799 src->Indirect.SwizzleX = bracket[0].ind_comp; in parse_src_operand()
809 src->Register.SwizzleX = swizzle[0]; in parse_src_operand()
897 inst.Predicate.SwizzleX = swizzle[0]; in parse_instruction()
Dtgsi_exec.c1537 swizzle = inst->Predicate.SwizzleX; in store_dest()
2011 inst->TexOffsets[0].SwizzleX, &index, &ZeroVec, &offset[0]); in exec_txf()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c77 if ( write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled()
128 r->Register.SwizzleX = neutral; in set_neutral_element_swizzle()
130 r->Register.SwizzleX = TGSI_SWIZZLE_X; in set_neutral_element_swizzle()
154 o->SwizzleX = i->SwizzleX; in copy_src_reg()
Di915_fpc.h252 unsigned SwizzleX : 3; /* TGSI_SWIZZLE_ */ member
Di915_fpc_translate.c265 source->Register.SwizzleX, in src_vector()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h529 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member
542 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member
572 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aapoint.c263 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in aa_transform_inst()
266 newInst.Src[1].Register.SwizzleX = TGSI_SWIZZLE_Y; in aa_transform_inst()
318 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Y; in aa_transform_inst()
354 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Z; in aa_transform_inst()
420 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Y; in aa_transform_inst()
427 newInst.Src[1].Register.SwizzleX = TGSI_SWIZZLE_W; in aa_transform_inst()
433 newInst.Src[2].Register.SwizzleX = TGSI_SWIZZLE_W; in aa_transform_inst()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c327 reg->Register.SwizzleX, in lp_build_emit_fetch()
Dlp_bld_tgsi_aos.c310 inst->Predicate.SwizzleX, in lp_emit_store_aos()
Dlp_bld_tgsi_soa.c524 unsigned swizzle = indirect_reg->SwizzleX; in get_indirect_index()
875 swizzles[0] = inst->Predicate.SwizzleX; in emit_fetch_predicate()
/external/mesa3d/src/gallium/drivers/nv30/
Dnvfx_fragprog.c402 src.swz[0] = fsrc->Register.SwizzleX; in tgsi_src()
471 || fsrc->Register.SwizzleX == PIPE_SWIZZLE_ALPHA in nvfx_fragprog_parse_instruction()
478 addend.swz[0] = fsrc->Register.SwizzleX; in nvfx_fragprog_parse_instruction()
Dnvfx_vertprog.c394 src.swz[0] = fsrc->Register.SwizzleX; in tgsi_src()
408 src.indirect_swz = fsrc->Indirect.SwizzleX; in tgsi_src()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_insn.c232 reg->Register.SwizzleX, in translate_src_register()
1176 const boolean w_tested = (reg->Register.SwizzleW == reg->Register.SwizzleX || in emit_kil()
1182 reg->Register.SwizzleX != 0 || in emit_kil()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c942 r600_src->swizzle[0] = tgsi_src->Register.SwizzleX; in tgsi_src()
951 if ((tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleY) && in tgsi_src()
952 (tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleZ) && in tgsi_src()
953 (tgsi_src->Register.SwizzleX == tgsi_src->Register.SwizzleW)) { in tgsi_src()
955 index = tgsi_src->Register.Index * 4 + tgsi_src->Register.SwizzleX; in tgsi_src()
3778 offset_x = ctx->literals[inst->TexOffsets[0].Index + inst->TexOffsets[0].SwizzleX] << 1; in tgsi_tex()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp2739 inst->tex_offsets[0].SwizzleX = GET_SWZ(offset.swizzle, 0); in visit()
4169 src.IndirectSwizzle = addr.SwizzleX; in translate_src()
4195 offset.SwizzleX = in_offset->SwizzleX; in translate_tex_offset()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_tgsi.cpp62 reg.SwizzleX = off.SwizzleX; in offsetToSrc()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_setup_tgsi_llvm.c666 bld->immediates[off->Index][off->SwizzleX], in txf_fetch_args()