Home
last modified time | relevance | path

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

123456

/external/virglrenderer/tests/
Dtest_virgl_resource.c98 TEST(1, PIPE_BUFFER, PIPE_FORMAT_COUNT + 1, 0, 50, 1, 1, 1, 0, EINVAL),
112 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 1, 1, 0, 0),
114 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 50, 1, 1, 0, EINVAL),
116 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 5, 1, 0, EINVAL),
118 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 1, 4, 0, EINVAL),
120 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 1, 1, 4, EINVAL),
122 TEST_MIP(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, 0, 50, 1, 1, 1, 1, 4, EINVAL),
125 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, PIPE_BIND_SAMPLER_VIEW, 50, 1, 1, 1, 0, 0),
127 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, PIPE_BIND_CUSTOM, 50, 1, 1, 1, 0, 0),
129 TEST(1, PIPE_BUFFER, PIPE_FORMAT_R8_UNORM, PIPE_BIND_VERTEX_BUFFER, 50, 1, 1, 1, 0, 0),
[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_blit.h50 assert(target == PIPE_BUFFER); in nv50_blit_texture_type()
65 assert(target == PIPE_BUFFER); in nv50_blit_get_tgsi_texture_target()
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()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_resource.c12 case PIPE_BUFFER: in nvc0_resource_create()
25 if (templ->target == PIPE_BUFFER) { in nvc0_resource_from_handle()
41 if (unlikely(pres->target == PIPE_BUFFER)) in nvc0_surface_create()
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()
891 if (res->base.target == PIPE_BUFFER) { in nvc0_get_surface_dims()
924 assert(view->resource->target == PIPE_BUFFER); in nvc0_mark_image_range_valid()
1013 if (res->base.target == PIPE_BUFFER) { in nve4_set_surface_info()
1091 if (res->base.target == PIPE_BUFFER) { in nvc0_set_surface_info()
1136 if (res->base.target == PIPE_BUFFER) { in nvc0_validate_suf()
[all …]
/external/virglrenderer/src/gallium/auxiliary/util/
Du_surface.c264 assert((src->target == PIPE_BUFFER && dst->target == PIPE_BUFFER) || in util_resource_copy_region()
265 (src->target != PIPE_BUFFER && dst->target != PIPE_BUFFER)); in util_resource_copy_region()
301 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) { in util_resource_copy_region()
338 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()
89 if (res->target == PIPE_BUFFER) { in svga_can_create_resource()
Dsvga_state_sampler.c53 if (res->target == PIPE_BUFFER) { in svga_resource_handle()
159 if (texture->target == PIPE_BUFFER) { in svga_validate_pipe_sampler_view()
180 texture->target == PIPE_BUFFER) ? 1 : in svga_validate_pipe_sampler_view()
184 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/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/drivers/virgl/
Dvirgl_resource.c59 if (templ->target == PIPE_BUFFER) in virgl_resource_create()
71 if (templ->target == PIPE_BUFFER) in virgl_resource_from_handle()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c271 assert((src->target == PIPE_BUFFER && dst->target == PIPE_BUFFER) || in util_resource_copy_region()
272 (src->target != PIPE_BUFFER && dst->target != PIPE_BUFFER)); in util_resource_copy_region()
361 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) { in util_resource_copy_region()
470 if (dst->texture->target == PIPE_BUFFER) { in util_clear_render_target()
718 case PIPE_BUFFER: in is_box_inside_resource()
Du_inlines.h247 (s1->texture->target != PIPE_BUFFER || in pipe_surface_equal()
250 (s1->texture->target == PIPE_BUFFER || in pipe_surface_equal()
274 buffer.target = PIPE_BUFFER; in pipe_buffer_create()
576 case PIPE_BUFFER: in util_pipe_tex_to_tgsi_tex()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture.h138 case PIPE_BUFFER: in llvmpipe_resource_is_texture()
160 case PIPE_BUFFER: in llvmpipe_resource_is_1d()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c204 if (res->b.b.target == PIPE_BUFFER) in si_get_sampler_view_priority()
248 if (resource->target != PIPE_BUFFER) { in si_sampler_view_add_buffer()
262 if (resource->target == PIPE_BUFFER) in si_sampler_view_add_buffer()
432 bool is_buffer = rtex->resource.b.b.target == PIPE_BUFFER; in si_set_sampler_view_desc()
512 if (rtex->resource.b.b.target == PIPE_BUFFER) { in si_set_sampler_view()
604 if (res && res->target != PIPE_BUFFER) { in si_samplers_update_needs_color_decompress_mask()
670 assert(res && res->b.b.target == PIPE_BUFFER); in si_mark_image_range_valid()
687 if (res->b.b.target == PIPE_BUFFER) { in si_set_shader_image_desc()
787 if (res->b.b.target == PIPE_BUFFER) { in si_set_shader_image()
851 if (res && res->target != PIPE_BUFFER) { in si_images_update_needs_color_decompress_mask()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c197 case PIPE_BUFFER: in tex_type()
237 if (prsc->target == PIPE_BUFFER || util_format_is_pure_integer(cso->format)) in fd3_sampler_view_create()
242 if (prsc->target == PIPE_BUFFER) { in fd3_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_blitter.c41 if (dst->target == PIPE_BUFFER) in default_dst_texture()
65 if (src->target == PIPE_BUFFER) { in default_src_texture()
Dfreedreno_resource.c155 if (prsc->target == PIPE_BUFFER) in fd_try_shadow_resource()
247 case PIPE_BUFFER: in fd_try_shadow_resource()
360 if (ptrans->resource->target == PIPE_BUFFER) in fd_resource_transfer_flush_region()
524 prsc->target == PIPE_BUFFER && in fd_resource_transfer_map()
769 debug_assert(prsc->target == PIPE_BUFFER); in fd_resource_resize()
826 (tmpl->target != PIPE_BUFFER) && in fd_resource_create()
954 if (dst->target == PIPE_BUFFER || src->target == PIPE_BUFFER) in fd_blitter_pipe_copy_region()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c146 if (res->b.b.target == PIPE_BUFFER && in r600_init_resource_fields()
163 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) || in r600_init_resource_fields()
172 if (res->b.b.target == PIPE_BUFFER || in r600_init_resource_fields()
225 if (rscreen->debug_flags & DBG_VM && res->b.b.target == PIPE_BUFFER) { in r600_alloc_resource()
305 if (resource->target == PIPE_BUFFER) in r600_invalidate_resource()
629 buffer.target = PIPE_BUFFER; in r600_aligned_buffer_create()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_buffer_common.c144 if (res->b.b.target == PIPE_BUFFER && in si_init_resource_fields()
161 if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) || in si_init_resource_fields()
229 if (sscreen->debug_flags & DBG(VM) && res->b.b.target == PIPE_BUFFER) { in si_alloc_resource()
310 if (resource->target == PIPE_BUFFER) in si_invalidate_resource()
640 buffer.target = PIPE_BUFFER; in si_aligned_buffer_create()
689 if (templ->target == PIPE_BUFFER) { in si_resource_create()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py51 PIPE_BUFFER = 0 variable
199 if resource.target == PIPE_BUFFER:
615 if dst.target == PIPE_BUFFER or src.target == PIPE_BUFFER:
616 assert dst.target == PIPE_BUFFER and src.target == PIPE_BUFFER
641 if resource is not None and resource.target == PIPE_BUFFER:
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blitter.c469 if ((info->src.resource->target == PIPE_BUFFER) && in fd5_blitter_blit()
470 (info->dst.resource->target == PIPE_BUFFER)) { in fd5_blitter_blit()
476 debug_assert(info->src.resource->target != PIPE_BUFFER); in fd5_blitter_blit()
477 debug_assert(info->dst.resource->target != PIPE_BUFFER); in fd5_blitter_blit()

123456