Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h260 reg->Register.SwizzleY = swizzleY; in tgsi_transform_src_reg()
377 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op1_swz_inst()
425 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op2_swz_inst()
426 inst.Src[1].Register.SwizzleY = src1_swizzle; in tgsi_transform_op2_swz_inst()
481 inst.Src[0].Register.SwizzleY = src0_swizzle; in tgsi_transform_op3_swz_inst()
482 inst.Src[1].Register.SwizzleY = src1_swizzle; in tgsi_transform_op3_swz_inst()
483 inst.Src[2].Register.SwizzleY = src2_swizzle; in tgsi_transform_op3_swz_inst()
518 inst.Src[0].Register.SwizzleY = in tgsi_transform_kill_inst()
Dtgsi_util.c61 return reg->SwizzleY; in tgsi_util_get_src_register_swizzle()
92 reg->SwizzleY = swizzle; in tgsi_util_set_src_register_swizzle()
439 src.SwizzleY = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h50 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_ */ member
871 (reg.SwizzleY << 2) | in ureg_swizzle()
882 reg.SwizzleY = (swz >> (y*2)) & 0x3; in ureg_swizzle()
1061 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src_array_register()
1096 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src()
1150 src.SwizzleY = 0; in ureg_src_undef()
Dtgsi_build.c808 texture_offset.SwizzleY = 0; in tgsi_default_texture_offset()
827 texture_offset.SwizzleY = swizzle_y; in tgsi_build_texture_offset()
843 src_register.SwizzleY = TGSI_SWIZZLE_Y; in tgsi_default_src_register()
882 src_register.SwizzleY = swizzle_y; in tgsi_build_src_register()
1129 full_inst->TexOffsets[i].SwizzleY, in tgsi_build_full_instruction()
1239 reg->Register.SwizzleY, in tgsi_build_full_instruction()
Dtgsi_emulate.c96 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in passthrough_edgeflag()
Dtgsi_lowering.c79 swiz[1] = src->SwizzleY; in get_swiz()
93 src->Register.SwizzleY = swiz[sy]; in reg_src()
1229 new_inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in emit_twoside()
1235 new_inst.Src[1].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_twoside()
1241 new_inst.Src[2].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_twoside()
1275 ctx->imm.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
1289 ctx->tmp[i].src.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
Dtgsi_dump.c619 src->Register.SwizzleY != TGSI_SWIZZLE_Y || in iter_instruction()
624 ENM( src->Register.SwizzleY, tgsi_swizzle_names ); in iter_instruction()
649 ENM( inst->TexOffsets[i].SwizzleY, tgsi_swizzle_names); in iter_instruction()
Dtgsi_text.c951 src->Register.SwizzleY = swizzle[1]; in parse_src_operand()
991 src->SwizzleY = swizzle[1]; in parse_texoffset_operand()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_optimize.c164 if ( write_mask & TGSI_WRITEMASK_Y && r->Register.SwizzleY != TGSI_SWIZZLE_Y) in is_unswizzled()
202 r->Register.SwizzleY = neutral; in set_neutral_element_swizzle()
204 r->Register.SwizzleY = TGSI_SWIZZLE_Y; in set_neutral_element_swizzle()
224 o->SwizzleY = i->SwizzleY; in copy_src_reg()
452 swizzle_y = src_reg1->Register.SwizzleY; in i915_fpc_optimize_mov_after_mov()
460 swizzle_y = src_reg2->Register.SwizzleY; in i915_fpc_optimize_mov_after_mov()
468 src_reg2->Register.SwizzleY = swizzle_y; in i915_fpc_optimize_mov_after_mov()
Di915_fpc.h253 unsigned SwizzleY : 3; /* TGSI_SWIZZLE_ */ member
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_util.c60 return reg->SwizzleY; in tgsi_util_get_src_register_swizzle()
93 reg->SwizzleY = swizzle; in tgsi_util_set_src_register_swizzle()
363 src.SwizzleY = reg->Swizzle; in tgsi_util_get_src_from_ind()
Dtgsi_ureg.h49 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_ */ member
940 (reg.SwizzleY << 2) | in ureg_swizzle()
951 reg.SwizzleY = (swz >> (y*2)) & 0x3; in ureg_swizzle()
1085 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src_register()
1113 src.SwizzleY = TGSI_SWIZZLE_Y; in ureg_src()
1161 src.SwizzleY = 0; in ureg_src_undef()
Dtgsi_build.c791 texture_offset.SwizzleY = 0; in tgsi_default_texture_offset()
809 texture_offset.SwizzleY = swizzle_y; in tgsi_build_texture_offset()
825 src_register.SwizzleY = TGSI_SWIZZLE_Y; in tgsi_default_src_register()
864 src_register.SwizzleY = swizzle_y; in tgsi_build_src_register()
1104 full_inst->TexOffsets[i].SwizzleY, in tgsi_build_full_instruction()
1210 reg->Register.SwizzleY, in tgsi_build_full_instruction()
Dtgsi_dump.c578 src->Register.SwizzleY != TGSI_SWIZZLE_Y || in iter_instruction()
583 ENM( src->Register.SwizzleY, tgsi_swizzle_names ); in iter_instruction()
608 ENM( inst->TexOffsets[i].SwizzleY, tgsi_swizzle_names); in iter_instruction()
Dtgsi_scan.c193 src->Register.SwizzleY == TGSI_SWIZZLE_Z || in tgsi_scan_shader()
524 src->Register.SwizzleY != TGSI_SWIZZLE_Y || in tgsi_is_passthrough_shader()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c115 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_X; in transform_instr()
119 inst.Src[0].Register.SwizzleY = TGSI_SWIZZLE_Y; in transform_instr()
Dst_tgsi_lower_yuv.c75 swiz[1] = src->SwizzleY; in get_swiz()
89 src->Register.SwizzleY = swiz[sy]; in reg_src()
163 ctx->imm[idx].Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_immed()
234 ctx->tmp[i].src.Register.SwizzleY = TGSI_SWIZZLE_Y; in emit_decls()
Dst_cb_drawpixels_shader.c62 inst->Src[i].Register.SwizzleY = y; in set_src()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.c421 reg->Register.SwizzleY, in lp_build_emit_fetch_src()
463 reg.Register.SwizzleY = off->SwizzleY; in lp_build_emit_fetch_texoffset()
490 off->SwizzleY, in lp_build_emit_fetch_texoffset()
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h670 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_x */ member
698 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h711 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_x */ member
739 unsigned SwizzleY : 2; /* TGSI_SWIZZLE_ */ member
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_compiler.c400 swiz[1] = swiz_vals[src->SwizzleY]; in add_src_reg()
513 src->SwizzleY = TGSI_SWIZZLE_Y; in src_from_dst()
558 src->SwizzleY = TGSI_SWIZZLE_W; in get_predicate()
680 reg->SwizzleY = swiz2tgsi[swiz]; in get_immediate()
940 tmp_src.SwizzleX = tmp_src.SwizzleY = in translate_trig()
/external/virglrenderer/src/
Dvrend_shader.c1961 …vec2(%d, %d)", imd->val[inst->TexOffsets[0].SwizzleX].i, imd->val[inst->TexOffsets[0].SwizzleY].i); in fill_offset_buffer()
1964 …3(%d, %d, %d)", imd->val[inst->TexOffsets[0].SwizzleX].i, imd->val[inst->TexOffsets[0].SwizzleY].i, in fill_offset_buffer()
1993 get_swiz_char(inst->TexOffsets[0].SwizzleY)); in fill_offset_buffer()
2000 get_swiz_char(inst->TexOffsets[0].SwizzleY), in fill_offset_buffer()
2032 get_swiz_char(inst->TexOffsets[0].SwizzleY)); in fill_offset_buffer()
2039 get_swiz_char(inst->TexOffsets[0].SwizzleY), in fill_offset_buffer()
2305 idx += src->Register.SwizzleY; in create_swizzled_clipdist()
2937 src->Register.SwizzleY != TGSI_SWIZZLE_Y || in get_source_info()
2942 swizzle[swz_idx++] = get_swiz_char(src->Register.SwizzleY); in get_source_info()
3178 idx = src->Register.SwizzleY; in get_source_info()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c978 const unsigned swizzleY = reg->Register.SwizzleY; in emit_src_register()
1377 reg.Register.SwizzleY = TGSI_SWIZZLE_Y; in make_src_reg()
1481 return reg->Register.SwizzleY; in get_swizzle()
1504 swizzled.Register.SwizzleY = get_swizzle(reg, swizzleY); in swizzle_src()
1521 swizzled.Register.SwizzleY = in scalar_src()
1547 return (reg->Register.SwizzleX == reg->Register.SwizzleY && in same_swizzle_terms()
1548 reg->Register.SwizzleY == reg->Register.SwizzleZ && in same_swizzle_terms()
1629 reg.Register.SwizzleY = y; in make_immediate_reg_4()
1664 reg.Register.SwizzleY = in make_immediate_reg()
3802 assert(inst->Src[0].Register.SwizzleX == inst->Src[0].Register.SwizzleY && in emit_if()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnvfx_fragprog.c409 src.swz[1] = fsrc->Register.SwizzleY; in tgsi_src()
478 || fsrc->Register.SwizzleY == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction()
485 addend.swz[1] = fsrc->Register.SwizzleY; in nvfx_fragprog_parse_instruction()

12