Home
last modified time | relevance | path

Searched refs:first_element (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_resource.c48 sf->base.u.buf.first_element = templ->u.buf.first_element; in nv50_surface_from_buffer()
52 templ->u.buf.first_element * util_format_get_blocksize(sf->base.format); in nv50_surface_from_buffer()
56 sf->width = templ->u.buf.last_element - templ->u.buf.first_element + 1; in nv50_surface_from_buffer()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsliding_window_dataset_op.cc213 const Tensor& first_element = batch_elements[0][component_index]; in GetNextInternal() local
215 batch_component_shape.AppendShape(first_element.shape()); in GetNextInternal()
216 out_tensors->emplace_back(ctx->allocator({}), first_element.dtype(), in GetNextInternal()
223 first_element.shape()) { in GetNextInternal()
227 first_element.shape().DebugString(), " and element ", i, in GetNextInternal()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_surface.c59 psurf->u.buf.first_element = surf_tmpl->u.buf.first_element; in fd_create_surface()
Dfreedreno_batch_cache.c423 key->surf[idx].u.buf.first_element, key->surf[idx].u.buf.last_element, in batch_from_key()
/external/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()
318 ps->u.buf.first_element = surf_tmpl->u.buf.first_element; in softpipe_create_surface()
320 assert(ps->u.buf.first_element <= ps->u.buf.last_element); in softpipe_create_surface()
Dsp_tex_sample.c3377 unsigned elem_size, first_element, last_element; in sp_get_texels() local
3385 first_element = sp_sview->base.u.buf.offset / elem_size; in sp_get_texels()
3390 first_element, in sp_get_texels()
3391 first_element, in sp_get_texels()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h354 unsigned first_element; member
378 unsigned first_element; member
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c216 ps->width = surf_tmpl->u.buf.last_element - surf_tmpl->u.buf.first_element + 1; in llvmpipe_create_surface()
218 ps->u.buf.first_element = surf_tmpl->u.buf.first_element; in llvmpipe_create_surface()
220 assert(ps->u.buf.first_element <= ps->u.buf.last_element); in llvmpipe_create_surface()
Dlp_scene.c201 scene->cbufs[i].map += cbuf->u.buf.first_element * pixstride; in lp_scene_begin_rasterization()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.h48 unsigned first_element; member
Dst_cb_readpixels.c205 image.u.buf.offset = addr.first_element * addr.bytes_per_pixel; in try_pbo_readpixels()
206 image.u.buf.size = (addr.last_element - addr.first_element + 1) * in try_pbo_readpixels()
Dst_pbo.c86 addr->first_element = buf_offset; in st_pbo_addresses_setup()
90 if (addr->last_element - addr->first_element > st->ctx->Const.MaxTextureBufferSize - 1) in st_pbo_addresses_setup()
Dst_cb_texture.c1306 templ.u.buf.offset = addr->first_element * addr->bytes_per_pixel; in try_pbo_upload_common()
1307 templ.u.buf.size = (addr->last_element - addr->first_element + 1) * in try_pbo_upload_common()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.cpp68 - surf_tmpl->u.buf.first_element + 1; in swr_create_surface()
70 ps->u.buf.first_element = surf_tmpl->u.buf.first_element; in swr_create_surface()
72 assert(ps->u.buf.first_element <= ps->u.buf.last_element); in swr_create_surface()
/external/libcxx/include/experimental/
Diterator43 bool first_element; // exposition only
/external/llvm-project/libcxx/include/experimental/
Diterator42 bool first_element; // exposition only
/external/virglrenderer/src/gallium/auxiliary/util/
Du_inlines.h218 (s1->u.buf.first_element == s2->u.buf.first_element && in pipe_surface_equal()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c867 unsigned stage, bool *first_element) in find_and_update_named_uniform_storage() argument
912 first_element); in find_and_update_named_uniform_storage()
933 if (*first_element && !state->var_is_in_block) { in find_and_update_named_uniform_storage()
934 *first_element = false; in find_and_update_named_uniform_storage()
982 bool first_element = true; in find_and_update_previous_uniform_storage() local
987 stage, &first_element); in find_and_update_previous_uniform_storage()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.c196 … ps->width = surf_tmpl->u.buf.last_element - surf_tmpl->u.buf.first_element + 1; in panfrost_create_surface()
198 ps->u.buf.first_element = surf_tmpl->u.buf.first_element; in panfrost_create_surface()
200 assert(ps->u.buf.first_element <= ps->u.buf.last_element); in panfrost_create_surface()
/external/mesa3d/src/gallium/auxiliary/util/
Du_inlines.h260 (s1->u.buf.first_element == s2->u.buf.first_element && in pipe_surface_equal()
Du_surface.c408 dx = (dst->u.buf.first_element + dstx) * pixstride; in util_clear_render_target()
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_utils.cc855 const Tensor& first_element = (*batch_elements)[0][component_index]; in CopyBatch() local
860 TensorShape first_element_shape(first_element.shape()); in CopyBatch()
862 out_tensors->emplace_back(ctx->allocator({}), first_element.dtype(), in CopyBatch()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h434 unsigned first_element; member
/external/virglrenderer/tests/
Dtestvirgl_encode.c435 virgl_encoder_write_dword(ctx->cbuf, templat->u.buf.first_element); in virgl_encoder_create_surface()
657 virgl_encoder_write_dword(ctx->cbuf, state->u.buf.first_element); in virgl_encode_sampler_view()
/external/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump_state.c596 trace_dump_member(uint, &state->u.buf, first_element); in trace_dump_surface_template()

12