Home
last modified time | relevance | path

Searched refs:PIPE_BUFFER (Results 1 - 25 of 196) sorted by relevance

12345678

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_resource.c13 case PIPE_BUFFER: in nvc0_resource_create()
26 case PIPE_BUFFER: in nvc0_resource_create_with_modifiers()
36 if (res->target == PIPE_BUFFER) in nvc0_resource_destroy()
120 if (templ->target == PIPE_BUFFER) { in nvc0_resource_from_handle()
134 if (unlikely(pres->target == PIPE_BUFFER)) in nvc0_surface_create()
147 assert(templ->target == PIPE_BUFFER); in nvc0_resource_from_user_memory()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_resource.c15 case PIPE_BUFFER: in nv50_resource_create()
25 if (res->target == PIPE_BUFFER) in nv50_resource_destroy()
37 if (templ->target == PIPE_BUFFER) in nv50_resource_from_handle()
81 if (unlikely(pres->target == PIPE_BUFFER)) in nv50_surface_create()
99 if (res->target == PIPE_BUFFER) in nv50_invalidate_resource()
H A Dnv50_blit.h51 assert(target == PIPE_BUFFER); in nv50_blit_texture_type()
66 assert(target == PIPE_BUFFER); in nv50_blit_get_tgsi_texture_target()
/third_party/mesa3d/src/gallium/tests/trivial/
H A 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, tru in test_input_global()
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_uniforms.c59 if (texture->target == PIPE_BUFFER) { in get_texture_size()
70 assert(texture->target != PIPE_BUFFER); in get_texture_size()
74 assert(texture->target != PIPE_BUFFER); in get_texture_size()
77 assert(texture->target != PIPE_BUFFER); in get_texture_size()
94 if (image->base.resource->target == PIPE_BUFFER) { in get_image_size()
102 assert(image->base.resource->target != PIPE_BUFFER); in get_image_size()
106 assert(image->base.resource->target != PIPE_BUFFER); in get_image_size()
110 assert(image->base.resource->target != PIPE_BUFFER); in get_image_size()
236 assert(psview->target != PIPE_BUFFER); in write_tmu_p1()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_resource.c55 case PIPE_BUFFER: in nv30_resource_create()
65 if (res->target == PIPE_BUFFER) in nv30_resource_destroy()
77 if (tmpl->target == PIPE_BUFFER) in nv30_resource_from_handle()
/third_party/mesa3d/src/gallium/drivers/svga/
H A 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()
H A Dsvga_state_sampler.c53 if (res->target == PIPE_BUFFER) { in svga_resource_handle()
153 if (target == PIPE_BUFFER) { in svga_validate_pipe_sampler_view()
155 assert(texture->target == PIPE_BUFFER); in svga_validate_pipe_sampler_view()
173 if (target == PIPE_BUFFER) { in svga_validate_pipe_sampler_view()
193 (target == PIPE_TEXTURE_3D || target == PIPE_BUFFER) ? 1 : in svga_validate_pipe_sampler_view()
197 case PIPE_BUFFER: in svga_validate_pipe_sampler_view()
H A Dsvga_image_view.c146 templ.target = PIPE_BUFFER; in svga_set_shader_images()
191 if (img->resource->target == PIPE_BUFFER) { in svga_set_shader_images()
281 if (res->target == PIPE_BUFFER) { in svga_validate_image_view_resources()
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_resource.c88 (res->b.target != PIPE_BUFFER); in virgl_can_use_staging()
191 if (res->b.target == PIPE_BUFFER && in virgl_resource_transfer_prepare()
369 align_offset = vres->b.target == PIPE_BUFFER ? in virgl_staging_map()
414 assert(vtransfer->base.resource->target != PIPE_BUFFER); in virgl_staging_read_map()
559 if (vres->b.target == PIPE_BUFFER) { in virgl_resource_transfer_map()
687 if (templ->target == PIPE_BUFFER) { in virgl_resource_create_front()
712 if (templ->target == PIPE_BUFFER) in virgl_resource_from_handle()
859 } else if (pres->target == PIPE_BUFFER) { in virgl_resource_create_transfer()
914 if (res->b.target == PIPE_BUFFER) in virgl_resource_destroy()
930 if (res->b.target == PIPE_BUFFER) in virgl_resource_get_handle()
[all...]
H A 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()
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_resource.c11 if (template->target == PIPE_BUFFER) in i915_resource_create()
26 if (template->target == PIPE_BUFFER) in i915_resource_from_handle()
H A Di915_resource.h93 assert(tex->b.target != PIPE_BUFFER); in i915_texture()
101 assert(tex->b.target == PIPE_BUFFER); in i915_buffer()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_resource.c133 case PIPE_BUFFER: in crocus_target_to_isl_surf_dim()
343 if (resource->target == PIPE_BUFFER) in crocus_resource_destroy()
370 if (templ->target == PIPE_BUFFER) in crocus_alloc_resource()
654 assert(templ->target == PIPE_BUFFER); in crocus_resource_create_for_buffer()
663 const char *name = templ->target == PIPE_BUFFER ? "buffer" : "miptree"; in crocus_resource_create_for_buffer()
775 if (templ->target == PIPE_BUFFER) in crocus_resource_create()
806 assert(templ->target == PIPE_BUFFER); in crocus_resource_from_user_memory()
827 assert(templ->target != PIPE_BUFFER); in crocus_resource_from_handle()
1154 if (resource->target != PIPE_BUFFER) in crocus_invalidate_resource()
1207 if (xfer->resource->target == PIPE_BUFFER) in crocus_flush_staging_region()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_buffer.c80 if (res->b.b.target == PIPE_BUFFER && res->b.b.flags & PIPE_RESOURCE_FLAG_MAP_PERSISTENT) { in si_init_resource_fields()
97 if ((res->b.b.target != PIPE_BUFFER && !tex->surface.is_linear) || in si_init_resource_fields()
203 if (sscreen->debug_flags & DBG(VM) && res->b.b.target == PIPE_BUFFER) { in si_alloc_resource()
216 if (buf->target == PIPE_BUFFER) { in si_resource_destroy()
309 if (resource->target == PIPE_BUFFER) in si_invalidate_resource()
345 assert(resource->target == PIPE_BUFFER); in si_buffer_transfer_map()
609 buffer.target = PIPE_BUFFER; in pipe_aligned_buffer_create()
718 if (templ->target == PIPE_BUFFER) { in si_resource_create()
750 if (resource->target == PIPE_BUFFER) in si_resource_commit()
H A Dsi_descriptors.c193 if (res->b.b.target == PIPE_BUFFER) in si_get_sampler_view_priority()
228 if (resource->target != PIPE_BUFFER && tex->is_depth && in si_sampler_view_add_buffer()
455 if (tex->buffer.b.b.target == PIPE_BUFFER) { in si_set_sampler_view_desc()
550 if (tex->buffer.b.b.target == PIPE_BUFFER) { in si_set_sampler_views()
660 if (res && res->target != PIPE_BUFFER) { in si_samplers_update_needs_color_decompress_mask()
740 if (res->b.b.target != PIPE_BUFFER) in si_mark_image_range_valid()
755 if (res->b.b.target == PIPE_BUFFER) { in si_set_shader_image_desc()
850 if (res->b.b.target == PIPE_BUFFER) { in si_set_shader_image()
930 if (res && res->target != PIPE_BUFFER) { in si_images_update_needs_color_decompress_mask()
1050 if (sview && sview->base.texture && sview->base.texture->target != PIPE_BUFFER) in si_bind_sampler_states()
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dresource.cpp73 if (pipe->target == PIPE_BUFFER) { in clear()
124 if (pipe->target == PIPE_BUFFER) { in create_image_view()
146 if (pipe->target == PIPE_BUFFER) in bind_surface()
200 if (pipe->target == PIPE_BUFFER) in root_resource()
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
H A Drbug_objects.c60 if (resource->target != PIPE_BUFFER) in rbug_resource_create()
75 if (rb_resource->base.target != PIPE_BUFFER) in rbug_resource_destroy()
188 if (rb_resource->base.target == PIPE_BUFFER) in rbug_transfer_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_texture.c132 case PIPE_BUFFER: in tex_type()
171 if (prsc->target == PIPE_BUFFER || util_format_is_pure_integer(cso->format)) in fd3_sampler_view_create()
176 if (prsc->target == PIPE_BUFFER) { in fd3_sampler_view_create()
/third_party/mesa3d/src/gallium/tools/trace/
H A Ddump_state.py53 PIPE_BUFFER = 'PIPE_BUFFER' variable
193 if resource.target == PIPE_BUFFER:
665 if dst.target == PIPE_BUFFER or src.target == PIPE_BUFFER:
666 assert dst.target == PIPE_BUFFER and src.target == PIPE_BUFFER
700 if resource is not None and resource.target == PIPE_BUFFER:
710 if resource is not None and resource.target == PIPE_BUFFER:
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_surface.c222 assert((src->target == PIPE_BUFFER && dst->target == PIPE_BUFFER) || in util_resource_copy_region()
223 (src->target != PIPE_BUFFER && dst->target != PIPE_BUFFER)); in util_resource_copy_region()
291 if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) { in util_resource_copy_region()
434 if (dst->texture->target == PIPE_BUFFER) { in util_clear_render_target()
701 case PIPE_BUFFER: in is_box_inside_resource()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_resource.c492 if (p_res->target == PIPE_BUFFER) in iris_resource_destroy()
518 if (templ->target == PIPE_BUFFER) in iris_alloc_resource()
638 case PIPE_BUFFER: in target_to_isl_surf_dim()
1102 assert(templ->target == PIPE_BUFFER); in iris_resource_create_for_buffer()
1112 const char *name = templ->target == PIPE_BUFFER ? "buffer" : "miptree"; in iris_resource_create_for_buffer()
1243 if (templ->target == PIPE_BUFFER) in iris_resource_create()
1274 if (templ->target != PIPE_BUFFER && in iris_resource_from_user_memory()
1283 if (templ->target != PIPE_BUFFER) { in iris_resource_from_user_memory()
1361 assert(templ->target != PIPE_BUFFER); in iris_resource_from_handle()
1570 if (old_res->base.b.target == PIPE_BUFFER) { in iris_reallocate_resource_inplace()
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_texture.h161 case PIPE_BUFFER: in llvmpipe_resource_is_texture()
183 case PIPE_BUFFER: in llvmpipe_resource_is_1d()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_resource.c271 assert(pdst->target == PIPE_BUFFER); in fd_replace_buffer_storage()
272 assert(psrc->target == PIPE_BUFFER); in fd_replace_buffer_storage()
400 if (prsc->target == PIPE_BUFFER)
508 case PIPE_BUFFER:
666 if (ptrans->resource->target == PIPE_BUFFER) in fd_resource_transfer_flush_region()
756 assert(prsc->target != PIPE_BUFFER);
950 } else if ((usage & PIPE_MAP_WRITE) && (rsc->b.b.target == PIPE_BUFFER) &&
1033 if (prsc->target == PIPE_BUFFER) in fd_resource_destroy()
1082 assert(prsc->target == PIPE_BUFFER); in fd_resource_resize()
1136 if (tmpl->target == PIPE_BUFFER) in alloc_resource_struct()
[all...]
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DResource.cpp133 return PIPE_BUFFER; in translate_texture_target()
273 pResource->buffer = templat.target == PIPE_BUFFER; in CreateResource()
293 if (templat.target != PIPE_BUFFER) { in CreateResource()
613 } else if (src_resource->target == PIPE_BUFFER && in areResourcesCompatible()
614 dst_resource->target == PIPE_BUFFER) { in areResourcesCompatible()

Completed in 26 milliseconds

12345678