/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_transform.h | 259 reg->Register.SwizzleX = swizzleX; in tgsi_transform_src_reg() 374 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op1_swz_inst() 421 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op2_swz_inst() 422 inst.Src[1].Register.SwizzleX = src1_swizzle; in tgsi_transform_op2_swz_inst() 476 inst.Src[0].Register.SwizzleX = src0_swizzle; in tgsi_transform_op3_swz_inst() 477 inst.Src[1].Register.SwizzleX = src1_swizzle; in tgsi_transform_op3_swz_inst() 478 inst.Src[2].Register.SwizzleX = src2_swizzle; in tgsi_transform_op3_swz_inst() 517 inst.Src[0].Register.SwizzleX = in tgsi_transform_kill_inst()
|
D | tgsi_ureg.h | 49 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() 918 reg.IndirectSwizzle = addr.SwizzleX; in ureg_dst_indirect() 929 reg.IndirectSwizzle = addr.SwizzleX; in ureg_src_indirect() 963 reg.DimIndSwizzle = addr.SwizzleX; in ureg_dst_dimension_indirect() 977 reg.DimIndSwizzle = addr.SwizzleX; in ureg_src_dimension_indirect() 1060 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_array_register() 1095 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src() 1149 src.SwizzleX = 0; in ureg_src_undef()
|
D | tgsi_util.c | 59 return reg->SwizzleX; in tgsi_util_get_src_register_swizzle() 89 reg->SwizzleX = swizzle; in tgsi_util_set_src_register_swizzle() 438 src.SwizzleX = reg->Swizzle; in tgsi_util_get_src_from_ind()
|
D | tgsi_build.c | 807 texture_offset.SwizzleX = 0; in tgsi_default_texture_offset() 826 texture_offset.SwizzleX = swizzle_x; in tgsi_build_texture_offset() 842 src_register.SwizzleX = TGSI_SWIZZLE_X; in tgsi_default_src_register() 881 src_register.SwizzleX = swizzle_x; in tgsi_build_src_register() 1128 full_inst->TexOffsets[i].SwizzleX, in tgsi_build_full_instruction() 1238 reg->Register.SwizzleX, in tgsi_build_full_instruction()
|
D | tgsi_emulate.c | 95 new_inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in passthrough_edgeflag()
|
D | tgsi_lowering.c | 78 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()
|
D | tgsi_dump.c | 618 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/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_optimize.c | 162 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()
|
D | i915_fpc.h | 252 unsigned SwizzleX : 3; /* TGSI_SWIZZLE_ */ member
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi.c | 420 reg->Register.SwizzleX, in lp_build_emit_fetch_src() 462 reg.Register.SwizzleX = off->SwizzleX; in lp_build_emit_fetch_texoffset() 489 off->SwizzleX, in lp_build_emit_fetch_texoffset() 493 off->SwizzleX); in lp_build_emit_fetch_texoffset()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_ureg.h | 48 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member 939 unsigned swz = ( (reg.SwizzleX << 0) | in ureg_swizzle() 950 reg.SwizzleX = (swz >> (x*2)) & 0x3; in ureg_swizzle() 1006 reg.IndirectSwizzle = addr.SwizzleX; in ureg_dst_indirect() 1018 reg.IndirectSwizzle = addr.SwizzleX; in ureg_src_indirect() 1043 reg.DimIndSwizzle = addr.SwizzleX; in ureg_src_dimension_indirect() 1084 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src_register() 1112 src.SwizzleX = TGSI_SWIZZLE_X; in ureg_src() 1160 src.SwizzleX = 0; in ureg_src_undef()
|
D | tgsi_util.c | 58 return reg->SwizzleX; in tgsi_util_get_src_register_swizzle() 90 reg->SwizzleX = swizzle; in tgsi_util_set_src_register_swizzle() 362 src.SwizzleX = reg->Swizzle; in tgsi_util_get_src_from_ind()
|
D | tgsi_build.c | 790 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()
|
D | tgsi_dump.c | 577 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()
|
D | tgsi_scan.c | 192 (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/mesa/state_tracker/ |
D | st_tgsi_lower_yuv.c | 74 swiz[0] = src->SwizzleX; in get_swiz() 88 src->Register.SwizzleX = swiz[sx]; in reg_src() 162 ctx->imm[idx].Register.SwizzleX = TGSI_SWIZZLE_X; in emit_immed() 233 ctx->tmp[i].src.Register.SwizzleX = TGSI_SWIZZLE_X; in emit_decls()
|
D | st_cb_bitmap_shader.c | 113 inst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; in transform_instr()
|
D | st_cb_drawpixels_shader.c | 61 inst->Src[i].Register.SwizzleX = x; in set_src()
|
/external/virglrenderer/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 669 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member 697 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
|
/external/mesa3d/src/gallium/include/pipe/ |
D | p_shader_tokens.h | 710 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_x */ member 738 unsigned SwizzleX : 2; /* TGSI_SWIZZLE_ */ member
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_compiler.c | 399 swiz[0] = swiz_vals[src->SwizzleX]; in add_src_reg() 512 src->SwizzleX = TGSI_SWIZZLE_X; in src_from_dst() 557 src->SwizzleX = TGSI_SWIZZLE_W; in get_predicate() 679 reg->SwizzleX = swiz2tgsi[swiz]; in get_immediate() 940 tmp_src.SwizzleX = tmp_src.SwizzleY = in translate_trig()
|
/external/virglrenderer/src/ |
D | vrend_shader.c | 1953 snprintf(offbuf, 25, ", int(%d)", imd->val[inst->TexOffsets[0].SwizzleX].i); in fill_offset_buffer() 1961 …snprintf(offbuf, 25, ", ivec2(%d, %d)", imd->val[inst->TexOffsets[0].SwizzleX].i, imd->val[inst->T… in fill_offset_buffer() 1964 …snprintf(offbuf, 25, ", ivec3(%d, %d, %d)", imd->val[inst->TexOffsets[0].SwizzleX].i, imd->val[ins… in fill_offset_buffer() 1981 get_swiz_char(inst->TexOffsets[0].SwizzleX)); in fill_offset_buffer() 1991 get_swiz_char(inst->TexOffsets[0].SwizzleX), in fill_offset_buffer() 1998 get_swiz_char(inst->TexOffsets[0].SwizzleX), in fill_offset_buffer() 2020 get_swiz_char(inst->TexOffsets[0].SwizzleX)); in fill_offset_buffer() 2030 get_swiz_char(inst->TexOffsets[0].SwizzleX), in fill_offset_buffer() 2037 get_swiz_char(inst->TexOffsets[0].SwizzleX), in fill_offset_buffer() 2303 idx += src->Register.SwizzleX; in create_swizzled_clipdist() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_vgpu10.c | 977 const unsigned swizzleX = reg->Register.SwizzleX; in emit_src_register() 1376 reg.Register.SwizzleX = TGSI_SWIZZLE_X; in make_src_reg() 1479 return reg->Register.SwizzleX; in get_swizzle() 1503 swizzled.Register.SwizzleX = get_swizzle(reg, swizzleX); in swizzle_src() 1520 swizzled.Register.SwizzleX = in scalar_src() 1547 return (reg->Register.SwizzleX == reg->Register.SwizzleY && in same_swizzle_terms() 1628 reg.Register.SwizzleX = x; in make_immediate_reg_4() 1663 reg.Register.SwizzleX = in make_immediate_reg() 3802 assert(inst->Src[0].Register.SwizzleX == inst->Src[0].Register.SwizzleY && in emit_if() 3803 inst->Src[0].Register.SwizzleX == inst->Src[0].Register.SwizzleZ && in emit_if() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nvfx_fragprog.c | 408 src.swz[0] = fsrc->Register.SwizzleX; in tgsi_src() 477 || fsrc->Register.SwizzleX == PIPE_SWIZZLE_W in nvfx_fragprog_parse_instruction() 484 addend.swz[0] = fsrc->Register.SwizzleX; in nvfx_fragprog_parse_instruction()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pipe_aapoint.c | 264 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_Z; in aa_transform_prolog()
|