Home
last modified time | relevance | path

Searched refs:spr (Results 1 – 25 of 79) sorted by relevance

1234

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c56 struct softpipe_resource *spr, in softpipe_resource_layout() argument
59 struct pipe_resource *pt = &spr->base; in softpipe_resource_layout()
79 spr->stride[level] = util_format_get_stride(pt->format, width); in softpipe_resource_layout()
81 spr->level_offset[level] = buffer_size; in softpipe_resource_layout()
84 if ((uint64_t)spr->stride[level] * nblocksy > SP_MAX_TEXTURE_SIZE) { in softpipe_resource_layout()
89 spr->img_stride[level] = spr->stride[level] * nblocksy; in softpipe_resource_layout()
91 buffer_size += (uint64_t) spr->img_stride[level] * slices; in softpipe_resource_layout()
102 spr->data = align_malloc(buffer_size, 64); in softpipe_resource_layout()
103 return spr->data != NULL; in softpipe_resource_layout()
119 struct softpipe_resource spr; in softpipe_can_create_resource() local
[all …]
Dsp_image.c35 get_image_offset(const struct softpipe_resource *spr, in get_image_offset() argument
41 if (spr->base.target == PIPE_BUFFER) in get_image_offset()
44 if (spr->base.target == PIPE_TEXTURE_1D_ARRAY || in get_image_offset()
45 spr->base.target == PIPE_TEXTURE_2D_ARRAY || in get_image_offset()
46 spr->base.target == PIPE_TEXTURE_CUBE_ARRAY || in get_image_offset()
47 spr->base.target == PIPE_TEXTURE_CUBE || in get_image_offset()
48 spr->base.target == PIPE_TEXTURE_3D) in get_image_offset()
50 return softpipe_get_tex_image_offset(spr, iview->u.tex.level, base_layer); in get_image_offset()
148 const struct softpipe_resource *spr, in get_dimensions() argument
164 util_format_get_stride(spr->base.format, spr->base.width0)) in get_dimensions()
[all …]
Dsp_buffer.c32 const struct softpipe_resource *spr, in get_dimensions() argument
40 if (*width > spr->base.width0) in get_dimensions()
56 struct softpipe_resource *spr; in sp_tgsi_load() local
64 spr = softpipe_resource(bview->buffer); in sp_tgsi_load()
65 if (!spr) in sp_tgsi_load()
68 if (!get_dimensions(bview, spr, &width)) in sp_tgsi_load()
87 uint32_t *src = (uint32_t *)((unsigned char *)spr->data + in sp_tgsi_load()
110 struct softpipe_resource *spr; in sp_tgsi_store() local
118 spr = softpipe_resource(bview->buffer); in sp_tgsi_store()
119 if (!spr) in sp_tgsi_store()
[all …]
Dsp_texture.h120 softpipe_get_tex_image_offset(const struct softpipe_resource *spr,
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dpeephole-phi.mir18 # CHECK: %3:spr = IMPLICIT_DEF
23 # CHECK: %6:spr = VMOVSR %5, 14, $noreg
37 %3:spr = IMPLICIT_DEF
38 %4:gpr = VMOVRS %3:spr, 14, $noreg
42 %6:spr = VMOVSR %5, 14, $noreg
46 # CHECK: %6:spr = PHI %0, %bb.1, %2, %bb.2
47 # CHEKC: %7:spr = COPY %6
56 %1:spr = IMPLICIT_DEF
61 %3:spr = IMPLICIT_DEF
62 %2:gpr = VMOVRS %3:spr, 14, $noreg
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.cpp102 struct swr_resource *spr = swr_resource(resource); in swr_transfer_map() local
121 if (spr->status) { in swr_transfer_map()
140 pt->stride = spr->swr.pitch; in swr_transfer_map()
141 pt->layer_stride = spr->swr.qpitch * spr->swr.pitch; in swr_transfer_map()
146 if (usage & PIPE_MAP_READ && spr->has_depth && spr->has_stencil) { in swr_transfer_map()
149 zbase = (z * spr->swr.qpitch + box->y) * spr->swr.pitch + in swr_transfer_map()
150 spr->mip_offsets[level]; in swr_transfer_map()
151 sbase = (z * spr->secondary.qpitch + box->y) * spr->secondary.pitch + in swr_transfer_map()
152 spr->secondary_mip_offsets[level]; in swr_transfer_map()
154 if (spr->base.format == PIPE_FORMAT_Z24_UNORM_S8_UINT) { in swr_transfer_map()
[all …]
Dswr_screen.cpp948 struct swr_resource *spr = swr_resource(pt); in swr_resource_destroy() local
950 if (spr->display_target) { in swr_resource_destroy()
956 winsys->displaytarget_destroy(winsys, spr->display_target); in swr_resource_destroy()
958 if (spr->swr.numSamples > 1) { in swr_resource_destroy()
960 struct swr_resource *alt = swr_resource(spr->resolve_target); in swr_resource_destroy()
964 swr_fence_work_free(screen->flush_fence, (void*)(spr->swr.xpBaseAddress), true); in swr_resource_destroy()
970 if (spr->swr.numSamples > 1) { in swr_resource_destroy()
972 struct swr_resource *alt = swr_resource(spr->resolve_target); in swr_resource_destroy()
976 swr_fence_work_free(screen->flush_fence, (void*)(spr->swr.xpBaseAddress), true); in swr_resource_destroy()
978 (void*)(spr->secondary.xpBaseAddress), true); in swr_resource_destroy()
[all …]
Dswr_draw.cpp345 struct swr_resource *spr = swr_resource(resource); in swr_store_dirty_resource() local
350 if (renderTargets[i].xpBaseAddress == spr->swr.xpBaseAddress || in swr_store_dirty_resource()
351 (spr->secondary.xpBaseAddress && in swr_store_dirty_resource()
352 renderTargets[i].xpBaseAddress == spr->secondary.xpBaseAddress)) { in swr_store_dirty_resource()
358 if (spr->has_stencil && (i == SWR_ATTACHMENT_DEPTH)) { in swr_store_dirty_resource()
/external/wpa_supplicant_8/src/ap/
Dieee802_11_he.c274 struct ieee80211_spatial_reuse *spr; in hostapd_eid_spatial_reuse() local
278 if (!hapd->iface->conf->spr.sr_control) in hostapd_eid_spatial_reuse()
281 if (hapd->iface->conf->spr.sr_control & in hostapd_eid_spatial_reuse()
285 if (hapd->iface->conf->spr.sr_control & in hostapd_eid_spatial_reuse()
293 spr = (struct ieee80211_spatial_reuse *) pos; in hostapd_eid_spatial_reuse()
294 os_memset(spr, 0, sizeof(*spr)); in hostapd_eid_spatial_reuse()
296 spr->sr_ctrl = hapd->iface->conf->spr.sr_control; in hostapd_eid_spatial_reuse()
298 spr_param = spr->params; in hostapd_eid_spatial_reuse()
299 if (spr->sr_ctrl & SPATIAL_REUSE_NON_SRG_OFFSET_PRESENT) { in hostapd_eid_spatial_reuse()
301 hapd->iface->conf->spr.non_srg_obss_pd_max_offset; in hostapd_eid_spatial_reuse()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/GlobalISel/
Darm-instruction-select.mir400 ; CHECK: [[VREGX:%[0-9]+]]:spr = COPY $s0
403 ; CHECK: [[VREGY:%[0-9]+]]:spr = COPY $s1
406 ; CHECK: [[VREGSUM:%[0-9]+]]:spr = VADDS [[VREGX]], [[VREGY]], 14, $noreg
460 ; CHECK: [[VREGX:%[0-9]+]]:spr = COPY $s0
463 ; CHECK: [[VREGY:%[0-9]+]]:spr = COPY $s1
466 ; CHECK: [[VREGSUM:%[0-9]+]]:spr = VSUBS [[VREGX]], [[VREGY]], 14, $noreg
520 ; CHECK: [[VREGX:%[0-9]+]]:spr = COPY $s0
523 ; CHECK: [[VREGY:%[0-9]+]]:spr = COPY $s1
526 ; CHECK: [[VREGSUM:%[0-9]+]]:spr = VMULS [[VREGX]], [[VREGY]], 14, $noreg
580 ; CHECK: [[VREGX:%[0-9]+]]:spr = COPY $s0
[all …]
Darm-instruction-select-cmp.mir422 ; CHECK: [[COPY:%[0-9]+]]:spr = COPY $s0
423 ; CHECK: [[COPY1:%[0-9]+]]:spr = COPY $s1
453 ; CHECK: [[COPY:%[0-9]+]]:spr = COPY $s0
454 ; CHECK: [[COPY1:%[0-9]+]]:spr = COPY $s1
484 ; CHECK: [[COPY:%[0-9]+]]:spr = COPY $s0
485 ; CHECK: [[COPY1:%[0-9]+]]:spr = COPY $s1
515 ; CHECK: [[COPY:%[0-9]+]]:spr = COPY $s0
516 ; CHECK: [[COPY1:%[0-9]+]]:spr = COPY $s1
546 ; CHECK: [[COPY:%[0-9]+]]:spr = COPY $s0
547 ; CHECK: [[COPY1:%[0-9]+]]:spr = COPY $s1
[all …]
Darm-instruction-select-combos.mir898 ; CHECK-DAG: [[VREGX:%[0-9]+]]:spr = COPY $s0
899 ; CHECK-DAG: [[VREGY:%[0-9]+]]:spr = COPY $s1
903 ; CHECK: [[VREGR:%[0-9]+]]:spr = VNMULS [[VREGX]], [[VREGY]], 14, $noreg
929 ; CHECK-DAG: [[VREGX:%[0-9]+]]:spr = COPY $s0
930 ; CHECK-DAG: [[VREGY:%[0-9]+]]:spr = COPY $s1
934 ; CHECK: [[VREGR:%[0-9]+]]:spr = VNMULS [[VREGX]], [[VREGY]], 14, $noreg
993 ; CHECK-DAG: [[VREGX:%[0-9]+]]:spr = COPY $s0
994 ; CHECK-DAG: [[VREGY:%[0-9]+]]:spr = COPY $s1
995 ; CHECK-DAG: [[VREGZ:%[0-9]+]]:spr = COPY $s2
999 ; CHECK: [[VREGR:%[0-9]+]]:spr = VFNMAS [[VREGZ]], [[VREGX]], [[VREGY]], 14, $noreg
[all …]
Darm-select-copy_to_regclass-of-fptosi.mir21 ; CHECK: [[COPY:%[0-9]+]]:spr = COPY $s0
22 ; CHECK: [[VTOSIZS:%[0-9]+]]:spr = VTOSIZS [[COPY]], 14, $noreg
/external/skqp/src/gpu/
DGrPathRendererChain.cpp57 auto spr = sk_make_sp<GrSmallPathRenderer>(); in GrPathRendererChain() local
58 context->contextPriv().addOnFlushCallbackObject(spr.get()); in GrPathRendererChain()
59 fChain.push_back(std::move(spr)); in GrPathRendererChain()
/external/skia/src/gpu/
DGrPathRendererChain.cpp61 auto spr = sk_make_sp<GrSmallPathRenderer>(); in GrPathRendererChain() local
62 context->priv().addOnFlushCallbackObject(spr.get()); in GrPathRendererChain()
63 fChain.push_back(std::move(spr)); in GrPathRendererChain()
/external/u-boot/common/
Dbedbug.c493 unsigned short spr; in spr_name() local
502 spr = ((value >> 5) & 0x1f) | ((value & 0x1f) << 5); in spr_name()
505 if (spr == spr_map[i].spr_val) in spr_name()
509 sprintf (other, "%d", spr); in spr_name()
530 int spr; in spr_value() local
540 spr = ((i >> 5) & 0x1f) | ((i & 0x1f) << 5); in spr_value()
541 return spr; in spr_value()
553 spr = ((i >> 5) & 0x1f) | ((i & 0x1f) << 5); in spr_value()
555 return spr; in spr_value()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
D.gitignore10 ptrace-tm-spr
DMakefile4 ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey core-pkey \
/external/skia/modules/canvaskit/tests/
Dcore.spec.js26 const spr = new CanvasKit.SkPictureRecorder();
27 const rcanvas = spr.beginRecording(
39 const pic = spr.finishRecordingAsPicture();
40 spr.delete();
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dvec_vrsave.ll3 ; RUN: not grep spr %t
/external/llvm/test/CodeGen/PowerPC/
Dvec_vrsave.ll3 ; RUN: not grep spr %t
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tex.c350 R200_STATECHANGE( rmesa, spr ); in r200TexEnv()
352 rmesa->hw.spr.cmd[SPR_POINT_SPRITE_CNTL] |= R200_PS_GEN_TEX_0 << unit; in r200TexEnv()
354 rmesa->hw.spr.cmd[SPR_POINT_SPRITE_CNTL] &= ~(R200_PS_GEN_TEX_0 << unit); in r200TexEnv()
/external/u-boot/arch/arm/include/asm/arch-pxa/
Dregs-uart.h32 uint32_t spr; member
/external/v8/src/diagnostics/ppc/
Ddisasm-ppc.cc914 int spr = instr->Bits(20, 11); in DecodeExt2() local
915 if (256 == spr) { in DecodeExt2()
923 int spr = instr->Bits(20, 11); in DecodeExt2() local
924 if (256 == spr) { in DecodeExt2()
926 } else if (288 == spr) { in DecodeExt2()
/external/u-boot/board/cobra5272/bdm/
Dcobra5272_uboot.gdb14 set $spr = $mbar - 1 + 0x006 toplevelVariable
66 set *((unsigned short *) $spr) = 0xffff

1234