Home
last modified time | relevance | path

Searched refs:last_element (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_resource.c58 sf->base.u.buf.last_element = templ->u.buf.last_element; in nv50_surface_from_buffer()
65 sf->width = templ->u.buf.last_element - templ->u.buf.first_element + 1; in nv50_surface_from_buffer()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_surface.c57 psurf->u.buf.last_element = surf_tmpl->u.buf.last_element; in fd_create_surface()
Dfreedreno_batch_cache.c456 key->surf[idx].u.buf.first_element, key->surf[idx].u.buf.last_element, in batch_from_key()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c316 ps->width = surf_tmpl->u.buf.last_element - surf_tmpl->u.buf.first_element + 1; in softpipe_create_surface()
319 ps->u.buf.last_element = surf_tmpl->u.buf.last_element; in softpipe_create_surface()
320 assert(ps->u.buf.first_element <= ps->u.buf.last_element); in softpipe_create_surface()
321 assert(ps->u.buf.last_element < ps->width); in softpipe_create_surface()
Dsp_tex_sample.c3377 unsigned elem_size, first_element, last_element; in sp_get_texels() local
3386 last_element = (sp_sview->base.u.buf.offset + in sp_get_texels()
3392 last_element); in sp_get_texels()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c227 ps->width = surf_tmpl->u.buf.last_element - surf_tmpl->u.buf.first_element + 1; in llvmpipe_create_surface()
230 ps->u.buf.last_element = surf_tmpl->u.buf.last_element; in llvmpipe_create_surface()
231 assert(ps->u.buf.first_element <= ps->u.buf.last_element); in llvmpipe_create_surface()
233 (ps->u.buf.last_element + 1) <= pt->width0); in llvmpipe_create_surface()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_pbo.h49 unsigned last_element; member
Dst_pbo.c78 addr->last_element = buf_offset + skip_pixels + addr->width - 1 in st_pbo_addresses_setup()
81 if (addr->last_element - addr->first_element > st->ctx->Const.MaxTextureBufferSize - 1) in st_pbo_addresses_setup()
85 assert((addr->last_element + 1) * addr->bytes_per_pixel <= buf->width0); in st_pbo_addresses_setup()
Dst_cb_readpixels.c212 image.u.buf.size = (addr.last_element - addr.first_element + 1) * in try_pbo_readpixels()
Dst_cb_texture.c1522 templ.u.buf.size = (addr->last_element - addr->first_element + 1) * in try_pbo_upload_common()
1820 image.u.buf.size = (addr.last_element - addr.first_element + 1) * in try_pbo_download()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c255 … ps->width = surf_tmpl->u.buf.last_element - surf_tmpl->u.buf.first_element + 1; in panfrost_create_surface()
258 ps->u.buf.last_element = surf_tmpl->u.buf.last_element; in panfrost_create_surface()
259 assert(ps->u.buf.first_element <= ps->u.buf.last_element); in panfrost_create_surface()
260 assert(ps->u.buf.last_element < ps->width); in panfrost_create_surface()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h310 s1->u.buf.last_element == s2->u.buf.last_element)) && in pipe_surface_equal()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h448 unsigned last_element; member
/third_party/pulseaudio/src/modules/alsa/
Dalsa-mixer.h241 pa_alsa_element *last_element; member
Dalsa-mixer.c2029 if (p->last_element && pa_streq(p->last_element->alsa_id.name, name) && in pa_alsa_element_get()
2030 p->last_element->alsa_id.index == index) in pa_alsa_element_get()
2031 return p->last_element; in pa_alsa_element_get()
2044 PA_LLIST_INSERT_AFTER(pa_alsa_element, p->elements, p->last_element, e); in pa_alsa_element_get()
2047 p->last_element = e; in pa_alsa_element_get()
3030 p->last_element = e; in pa_alsa_path_synthesize()
3551 PA_LLIST_INSERT_AFTER(pa_alsa_element, p->elements, p->last_element, e); in pa_alsa_path_set_new()
3552 p->last_element = e; in pa_alsa_path_set_new()
/third_party/mesa3d/src/gallium/frontends/clover/core/
Dresource.cpp147 info.u.buf.last_element = pipe->width0 - 1; in bind_surface()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DOutputMerger.cpp98 desc.u.buf.last_element = pCreateRenderTargetView->Buffer.NumElements - 1 + in CreateRenderTargetView()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump_state.c644 trace_dump_member(uint, &state->u.buf, last_element); in trace_dump_surface_template()
/third_party/mesa3d/src/gallium/tests/trivial/
Dcompute.c348 tsurf.u.buf.last_element = ctx->tex[*slots]->width0 - 1; in init_compute_resources()
/third_party/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c1052 unsigned last_element, in evergreen_set_color_surface_buffer() argument
1064 width_elements = last_element - first_element + 1; in evergreen_set_color_surface_buffer()