Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h277 reg->Register.SwizzleX = swizzleX; in tgsi_transform_src_reg()
392 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op1_swz_inst()
439 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op2_swz_inst()
440 inst.Src[1].Register.SwizzleX = src1_swizzle; in tgsi_transform_op2_swz_inst()
494 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op3_swz_inst()
495 inst.Src[1].Register.SwizzleX = src1_swizzle; in tgsi_transform_op3_swz_inst()
496 inst.Src[2].Register.SwizzleX = src2_swizzle; in tgsi_transform_op3_swz_inst()
535 inst.Src[0].Register.SwizzleX = in tgsi_transform_kill_inst()
Dtgsi_ureg.h52 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
904 unsigned swz = ( (reg.SwizzleX << 0) | in ureg_swizzle()
915 reg.SwizzleX = (swz >> (x*2)) & 0x3; in ureg_swizzle()
952 reg.IndirectSwizzle = addr.SwizzleX; in ureg_dst_indirect()
963 reg.IndirectSwizzle = addr.SwizzleX; in ureg_src_indirect()
997 reg.DimIndSwizzle = addr.SwizzleX; in ureg_dst_dimension_indirect()
1011 reg.DimIndSwizzle = addr.SwizzleX; in ureg_src_dimension_indirect()
1096 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_array_register()
1131 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src()
1186 src.SwizzleX = 0; in ureg_src_undef()
Dtgsi_util.c59 return reg->SwizzleX; in tgsi_util_get_src_register_swizzle()
89 reg->SwizzleX = swizzle; in tgsi_util_set_src_register_swizzle()
439 src.SwizzleX = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_build.c806 texture_offset.SwizzleX = 0; in tgsi_default_texture_offset()
824 texture_offset.SwizzleX = swizzle_x; in tgsi_build_texture_offset()
840 src_register.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_src_register()
879 src_register.SwizzleX = swizzle_x; in tgsi_build_src_register()
1120 full_inst->TexOffsets[i].SwizzleX, in tgsi_build_full_instruction()
1226 reg->Register.SwizzleX, in tgsi_build_full_instruction()
Dtgsi_emulate.c95 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in passthrough_edgeflag()
Dtgsi_lowering.c78 swiz[0] = src->SwizzleX; in get_swiz()
92 src->Register.SwizzleX = swiz[sx]; in reg_src()
1228 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1234 new_inst.Src[1].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1240 new_inst.Src[2].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_twoside()
1274 ctx->imm.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
1288 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
Dtgsi_dump.c618 if (src->Register.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
623 ENM( src->Register.SwizzleX, tgsi_swizzle_names ); in iter_instruction()
648 ENM( inst->TexOffsets[i].SwizzleX, tgsi_swizzle_names); in iter_instruction()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_util.c58 return reg->SwizzleX; in tgsi_util_get_src_register_swizzle()
90 reg->SwizzleX = swizzle; in tgsi_util_set_src_register_swizzle()
356 src.SwizzleX = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h48 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
946 unsigned swz = ( (reg.SwizzleX << 0) | in ureg_swizzle()
957 reg.SwizzleX = (swz >> (x*2)) & 0x3; in ureg_swizzle()
1013 reg.IndirectSwizzle = addr.SwizzleX; in ureg_dst_indirect()
1025 reg.IndirectSwizzle = addr.SwizzleX; in ureg_src_indirect()
1050 reg.DimIndSwizzle = addr.SwizzleX; in ureg_src_dimension_indirect()
1091 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_register()
1119 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src()
1167 src.SwizzleX = 0; in ureg_src_undef()
Dtgsi_build.c790 texture_offset.SwizzleX = 0; in tgsi_default_texture_offset()
808 texture_offset.SwizzleX = swizzle_x; in tgsi_build_texture_offset()
824 src_register.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_src_register()
863 src_register.SwizzleX = swizzle_x; in tgsi_build_src_register()
1103 full_inst->TexOffsets[i].SwizzleX, in tgsi_build_full_instruction()
1209 reg->Register.SwizzleX, in tgsi_build_full_instruction()
Dtgsi_dump.c577 if (src->Register.SwizzleX != TGSI_SWIZZLE_X || in iter_instruction()
582 ENM( src->Register.SwizzleX, tgsi_swizzle_names ); in iter_instruction()
607 ENM( inst->TexOffsets[i].SwizzleX, tgsi_swizzle_names); in iter_instruction()
Dtgsi_scan.c192 (src->Register.SwizzleX == TGSI_SWIZZLE_Z || in tgsi_scan_shader()
523 src->Register.SwizzleX != TGSI_SWIZZLE_X || in tgsi_is_passthrough_shader()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c162 if ( write_mask & TGSI_WRITEMASK_X && r->Register.SwizzleX != TGSI_SWIZZLE_X) in is_unswizzled()
197 r->Register.SwizzleX = neutral; in set_neutral_element_swizzle()
199 r->Register.SwizzleX = TGSI_SWIZZLE_X; in set_neutral_element_swizzle()
223 o->SwizzleX = i->SwizzleX; in copy_src_reg()
451 swizzle_x = src_reg1->Register.SwizzleX; in i915_fpc_optimize_mov_after_mov()
458 swizzle_x = src_reg2->Register.SwizzleX; in i915_fpc_optimize_mov_after_mov()
467 src_reg2->Register.SwizzleX = swizzle_x; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h252 unsigned SwizzleX : 3; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c429 reg->Register.SwizzleX, in lp_build_emit_fetch_src()
471 reg.Register.SwizzleX = off->SwizzleX; in lp_build_emit_fetch_texoffset()
498 off->SwizzleX, in lp_build_emit_fetch_texoffset()
502 off->SwizzleX); in lp_build_emit_fetch_texoffset()
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_yuv.c73 swiz[0] = src->SwizzleX; in get_swiz()
87 src->Register.SwizzleX = swiz[sx]; in reg_src()
161 ctx->imm[idx].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_immed()
232 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
Dst_atom_viewport.c70 … st->state.viewport[i].swizzle_x = viewport_swizzle_from_glenum(ctx->ViewportArray[i].SwizzleX); in st_update_viewport()
Dst_cb_bitmap_shader.c112 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in transform_instr()
Dst_tgsi_lower_depth_clamp.c153 inst.Src[0].Register.SwizzleX = in epilog_last_vertex_stage()
158 inst.Src[1].Register.SwizzleX = in epilog_last_vertex_stage()
Dst_cb_drawpixels_shader.c61 inst->Src[i].Register.SwizzleX = x; in set_src()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h725 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member
753 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h703 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member
731 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/mesa/main/
Dviewport.c491 ctx->ViewportArray[i].SwizzleX = GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV; in _mesa_init_viewport()
672 if (viewport->SwizzleX == swizzlex && in set_viewport_swizzle()
681 viewport->SwizzleX = swizzlex; in set_viewport_swizzle()
/external/virglrenderer/src/
Dvrend_shader.c2403 snprintf(offbuf, 512, ", int(%d)", imd->val[inst->TexOffsets[0].SwizzleX].i); in fill_offset_buffer()
2405 snprintf(offbuf, 512, ", ivec2(%d, 0)", imd->val[inst->TexOffsets[0].SwizzleX].i); in fill_offset_buffer()
2413 …snprintf(offbuf, 512, ", ivec2(%d, %d)", imd->val[inst->TexOffsets[0].SwizzleX].i, imd->val[inst->… in fill_offset_buffer()
2416 …snprintf(offbuf, 512, ", ivec3(%d, %d, %d)", imd->val[inst->TexOffsets[0].SwizzleX].i, imd->val[in… in fill_offset_buffer()
2433 get_swiz_char(inst->TexOffsets[0].SwizzleX)); in fill_offset_buffer()
2443 get_swiz_char(inst->TexOffsets[0].SwizzleX), in fill_offset_buffer()
2450 get_swiz_char(inst->TexOffsets[0].SwizzleX), in fill_offset_buffer()
2472 get_swiz_char(inst->TexOffsets[0].SwizzleX)); in fill_offset_buffer()
2482 get_swiz_char(inst->TexOffsets[0].SwizzleX), in fill_offset_buffer()
2489 get_swiz_char(inst->TexOffsets[0].SwizzleX), in fill_offset_buffer()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c1484 unsigned swizzleX = reg->Register.SwizzleX; in emit_src_register()
2168 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_src_reg()
2191 reg.Register.SwizzleX = in make_src_scalar_reg()
2294 return reg->Register.SwizzleX; in get_swizzle()
2318 swizzled.Register.SwizzleX = get_swizzle(reg, swizzleX); in swizzle_src()
2335 swizzled.Register.SwizzleX = in scalar_src()
2362 return (reg->Register.SwizzleX == reg->Register.SwizzleY && in same_swizzle_terms()
2469 reg.Register.SwizzleX = x; in make_immediate_reg_4()
2504 reg.Register.SwizzleX = in make_immediate_reg()
2585 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_immediate_reg_double()
[all …]

12