Home
last modified time | relevance | path

Searched refs:PIPE_BUFFER (Results 1 – 25 of 177) sorted by relevance

12345678

/external/virglrenderer/tests/
Dtest_virgl_resource.c97 TEST(1, PIPE_BUFFER, PIPE_FORMAT_COUNT + 1, 0, 50, 1, 1, 1, 0, EINVAL),
111 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 1, 1, 0, 0),
113 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 50, 1, 1, 0, EINVAL),
115 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 5, 1, 0, EINVAL),
117 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 1, 4, 0, EINVAL),
119 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 1, 1, 4, EINVAL),
121 TEST_MIP(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 1, 1, 1, 4, EINVAL),
124 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, PIPE_BIND_SAMPLER_VIEW, 50, 1, 1, 1, 0, 0),
126 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, PIPE_BIND_CUSTOM, 50, 1, 1, 1, 0, 0),
128 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, PIPE_BIND_VERTEX_BUFFER, 50, 1, 1, 1, 0, 0),
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_resource.c15 case PIPE_BUFFER: in nvc0_resource_create()
28 case PIPE_BUFFER: in nvc0_resource_create_with_modifiers()
80 if (templ->target == PIPE_BUFFER) { in nvc0_resource_from_handle()
96 if (unlikely(pres->target == PIPE_BUFFER)) in nvc0_surface_create()
109 assert(templ->target == PIPE_BUFFER); in nvc0_resource_from_user_memory()
Dnvc0_tex.c58 if (templ->target == PIPE_TEXTURE_RECT || templ->target == PIPE_BUFFER) in nvc0_create_sampler_view()
134 if (texture->target == PIPE_BUFFER) { in gm107_create_texture_view()
262 if (target == PIPE_BUFFER) { in gm107_create_texture_view_from_image()
346 if (texture->target == PIPE_BUFFER) { in gf100_create_texture_view()
459 if (res->base.target != PIPE_BUFFER) in nvc0_update_tic()
916 if (res->base.target == PIPE_BUFFER) { in nvc0_get_surface_dims()
949 assert(view->resource->target == PIPE_BUFFER); in nvc0_mark_image_range_valid()
1038 if (res->base.target == PIPE_BUFFER) { in nve4_set_surface_info()
1109 if (res->base.target == PIPE_BUFFER) { in nvc0_set_surface_info()
1154 if (res->base.target == PIPE_BUFFER) { in nvc0_validate_suf()
[all …]
/external/mesa3d/src/gallium/tests/trivial/
Dcompute.c196 int nx = (target == PIPE_BUFFER ? (w / dx) : in init_tex()
198 int ny = (target == PIPE_BUFFER ? 1 : in init_tex()
237 int nx = (tex->target == PIPE_BUFFER ? (tex->width0 / dx) : in check_tex()
239 int ny = (tex->target == PIPE_BUFFER ? 1 : in check_tex()
347 if (ctx->tex[*slots]->target == PIPE_BUFFER) in init_compute_resources()
509 init_tex(ctx, 0, PIPE_BUFFER, true, PIPE_FORMAT_R32_FLOAT, in test_system_values()
554 init_tex(ctx, 0, PIPE_BUFFER, true, PIPE_FORMAT_R32_FLOAT, in test_resource_access()
660 init_tex(ctx, 0, PIPE_BUFFER, true, PIPE_FORMAT_R32_FLOAT, 32, 0, in test_input_global()
662 init_tex(ctx, 1, PIPE_BUFFER, true, PIPE_FORMAT_R32_FLOAT, 32, 0, in test_input_global()
664 init_tex(ctx, 2, PIPE_BUFFER, true, PIPE_FORMAT_R32_FLOAT, 32, 0, in test_input_global()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_resource.c15 case PIPE_BUFFER: in nv50_resource_create()
28 if (templ->target == PIPE_BUFFER) in nv50_resource_from_handle()
72 if (unlikely(pres->target == PIPE_BUFFER)) in nv50_surface_create()
90 if (res->target == PIPE_BUFFER) in nv50_invalidate_resource()
Dnv50_tex.c53 if (templ->target == PIPE_TEXTURE_RECT || templ->target == PIPE_BUFFER) in nv50_create_sampler_view()
133 if (target == PIPE_BUFFER) { in nv50_create_texture_view()
187 case PIPE_BUFFER: in nv50_create_texture_view()
225 if (res->base.target != PIPE_BUFFER) in nv50_update_tic()
318 if (!tic || tic->pipe.target == PIPE_BUFFER) { in nv50_validate_tic()
Dnv50_blit.h51 assert(target == PIPE_BUFFER); in nv50_blit_texture_type()
66 assert(target == PIPE_BUFFER); in nv50_blit_get_tgsi_texture_target()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.c265 assert((src->target == PIPE_BUFFER && dst->target == PIPE_BUFFER) || in util_resource_copy_region()
266 (src->target != PIPE_BUFFER && dst->target != PIPE_BUFFER)); in util_resource_copy_region()
302 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) { in util_resource_copy_region()
339 case PIPE_BUFFER: in is_box_inside_resource()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource.c46 if (template->target == PIPE_BUFFER) in svga_resource_create()
66 if (template->target == PIPE_BUFFER) in svga_resource_from_handle()
90 if (res->target == PIPE_BUFFER) { in svga_can_create_resource()
Dsvga_state_sampler.c53 if (res->target == PIPE_BUFFER) { in svga_resource_handle()
152 if (texture->target == PIPE_BUFFER) { in svga_validate_pipe_sampler_view()
171 if (texture->target == PIPE_BUFFER) { in svga_validate_pipe_sampler_view()
192 texture->target == PIPE_BUFFER) ? 1 : in svga_validate_pipe_sampler_view()
196 case PIPE_BUFFER: in svga_validate_pipe_sampler_view()
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource.c12 if (template->target == PIPE_BUFFER) in i915_resource_create()
29 if (template->target == PIPE_BUFFER) in i915_resource_from_handle()
Di915_surface.c95 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) in i915_surface_copy_render()
217 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) { in i915_surface_copy_blitter()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.c133 if (res->u.b.target == PIPE_BUFFER && in virgl_resource_transfer_prepare()
297 align_offset = vres->u.b.target == PIPE_BUFFER ? in virgl_staging_map()
428 if (vres->u.b.target == PIPE_BUFFER) { in virgl_resource_transfer_map()
543 if (templ->target == PIPE_BUFFER) { in virgl_resource_create()
562 if (templ->target == PIPE_BUFFER) in virgl_resource_from_handle()
656 } else if (pres->target == PIPE_BUFFER) { in virgl_resource_create_transfer()
717 if (res->u.b.target == PIPE_BUFFER) in virgl_resource_destroy()
731 if (res->u.b.target == PIPE_BUFFER) in virgl_resource_get_handle()
742 if (res->u.b.target == PIPE_BUFFER) in virgl_resource_dirty()
Dvirgl_transfer_queue.c59 case PIPE_BUFFER: in transfer_dim()
310 if (transfer->base.resource->target == PIPE_BUFFER) { in virgl_transfer_queue_unmap()
372 assert(queued->base.resource->target == PIPE_BUFFER); in virgl_transfer_queue_extend_buffer()
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.c55 case PIPE_BUFFER: in nv30_resource_create()
68 if (tmpl->target == PIPE_BUFFER) in nv30_resource_from_handle()
/external/mesa3d/src/gallium/frontends/clover/core/
Dresource.cpp72 if (pipe->target == PIPE_BUFFER) { in clear()
123 if (pipe->target == PIPE_BUFFER) { in create_image_view()
142 if (pipe->target == PIPE_BUFFER) in bind_surface()
195 if (pipe->target == PIPE_BUFFER) in root_resource()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_resource.c49 if (pres->target == PIPE_BUFFER) in zink_resource_destroy()
109 if (templ->target == PIPE_BUFFER) { in resource_create()
180 case PIPE_BUFFER: in resource_create()
301 if (templ->target == PIPE_BUFFER) in resource_create()
322 if (templ->target == PIPE_BUFFER) in resource_create()
351 if (res->base.target != PIPE_BUFFER) { in zink_resource_get_handle()
500 if (pres->target == PIPE_BUFFER) { in zink_transfer_map()
554 templ.target = PIPE_BUFFER; in zink_transfer_map()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c216 assert((src->target == PIPE_BUFFER && dst->target == PIPE_BUFFER) || in util_resource_copy_region()
217 (src->target != PIPE_BUFFER && dst->target != PIPE_BUFFER)); in util_resource_copy_region()
306 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) { in util_resource_copy_region()
401 if (dst->texture->target == PIPE_BUFFER) { in util_clear_render_target()
670 case PIPE_BUFFER: in is_box_inside_resource()
Du_inlines.h259 (s1->texture->target != PIPE_BUFFER || in pipe_surface_equal()
262 (s1->texture->target == PIPE_BUFFER || in pipe_surface_equal()
286 buffer.target = PIPE_BUFFER; in pipe_buffer_create()
307 buffer.target = PIPE_BUFFER; in pipe_buffer_create_const0()
610 case PIPE_BUFFER: in util_pipe_tex_to_tgsi_tex()
/external/mesa3d/src/gallium/drivers/iris/
Diris_resource.c175 case PIPE_BUFFER: in target_to_isl_surf_dim()
332 case PIPE_BUFFER: in iris_get_isl_dim_layout()
362 if (resource->target == PIPE_BUFFER) in iris_resource_destroy()
388 if (templ->target == PIPE_BUFFER) in iris_alloc_resource()
860 assert(templ->target == PIPE_BUFFER); in iris_resource_create_for_buffer()
870 const char *name = templ->target == PIPE_BUFFER ? "buffer" : "miptree"; in iris_resource_create_for_buffer()
999 if (templ->target == PIPE_BUFFER) in iris_resource_create()
1030 assert(templ->target == PIPE_BUFFER); in iris_resource_from_user_memory()
1052 assert(templ->target != PIPE_BUFFER); in iris_resource_from_handle()
1309 if (resource->target != PIPE_BUFFER) in iris_invalidate_resource()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c196 if (res->b.b.target == PIPE_BUFFER) in si_get_sampler_view_priority()
231 if (resource->target != PIPE_BUFFER && tex->is_depth && in si_sampler_view_add_buffer()
238 if (resource->target == PIPE_BUFFER) in si_sampler_view_add_buffer()
451 bool is_buffer = tex->buffer.b.b.target == PIPE_BUFFER; in si_set_sampler_view_desc()
518 if (tex->buffer.b.b.target == PIPE_BUFFER) { in si_set_sampler_view()
603 if (res && res->target != PIPE_BUFFER) { in si_samplers_update_needs_color_decompress_mask()
682 if (res->b.b.target != PIPE_BUFFER) in si_mark_image_range_valid()
697 if (res->b.b.target == PIPE_BUFFER || view->shader_access & SI_IMAGE_ACCESS_AS_BUFFER) { in si_set_shader_image_desc()
777 if (res->b.b.target == PIPE_BUFFER || view->shader_access & SI_IMAGE_ACCESS_AS_BUFFER) { in si_set_shader_image()
842 if (res && res->target != PIPE_BUFFER) { in si_images_update_needs_color_decompress_mask()
[all …]
Dsi_buffer.c140 if (res->b.b.target == PIPE_BUFFER && res->b.b.flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) { in si_init_resource_fields()
157 if ((res->b.b.target != PIPE_BUFFER && !tex->surface.is_linear) || in si_init_resource_fields()
249 if (sscreen->debug_flags & DBG(VM) && res->b.b.target == PIPE_BUFFER) { in si_alloc_resource()
335 if (resource->target == PIPE_BUFFER) in si_invalidate_resource()
689 buffer.target = PIPE_BUFFER; in pipe_aligned_buffer_create()
771 if (templ->target == PIPE_BUFFER) { in si_resource_create()
804 assert(resource->target == PIPE_BUFFER); in si_resource_commit()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture.h143 case PIPE_BUFFER: in llvmpipe_resource_is_texture()
165 case PIPE_BUFFER: in llvmpipe_resource_is_1d()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c202 case PIPE_BUFFER: in tex_type()
242 if (prsc->target == PIPE_BUFFER || util_format_is_pure_integer(cso->format)) in fd3_sampler_view_create()
247 if (prsc->target == PIPE_BUFFER) { in fd3_sampler_view_create()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py51 PIPE_BUFFER = 0 variable
200 if resource.target == PIPE_BUFFER:
617 if dst.target == PIPE_BUFFER or src.target == PIPE_BUFFER:
618 assert dst.target == PIPE_BUFFER and src.target == PIPE_BUFFER
652 if resource is not None and resource.target == PIPE_BUFFER:
662 if resource is not None and resource.target == PIPE_BUFFER:

12345678