Home
last modified time | relevance | path

Searched refs:zink_resource (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.h90 struct zink_resource { struct
151 static inline struct zink_resource * argument
152 zink_resource(struct pipe_resource *r) in zink_resource() function
154 return (struct zink_resource *)r; in zink_resource()
165 struct zink_resource **out_z,
166 struct zink_resource **out_s);
170 …setup_transfer_layouts(struct zink_context *ctx, struct zink_resource *src, struct zink_resource *…
192 zink_resource_tmp_buffer(struct zink_screen *screen, struct zink_resource *res, unsigned offset_add…
195 zink_resource_object_init_storage(struct zink_context *ctx, struct zink_resource *res);
198 zink_resource_has_binds(const struct zink_resource *res) in zink_resource_has_binds()
[all …]
Dzink_context.h64 struct zink_resource;
151 static inline struct zink_resource *
154 …return ds->is_buffer ? (struct zink_resource*)ds->bufferview->pres : (struct zink_resource*)ds->su… in zink_descriptor_surface_resource()
327 … struct zink_resource *descriptor_res[ZINK_DESCRIPTOR_TYPES][PIPE_SHADER_TYPES][PIPE_MAX_SAMPLERS];
401 zink_resource_buffer_barrier(struct zink_context *ctx, struct zink_resource *res, VkAccessFlags fla…
403 zink_fake_buffer_barrier(struct zink_resource *res, VkAccessFlags flags, VkPipelineStageFlags pipel…
405 zink_resource_image_needs_barrier(struct zink_resource *res, VkImageLayout new_layout, VkAccessFlag…
407 zink_resource_image_barrier_init(VkImageMemoryBarrier *imb, struct zink_resource *res, VkImageLayou…
409 zink_resource_image_barrier(struct zink_context *ctx, struct zink_resource *res,
413 zink_resource_needs_barrier(struct zink_resource *res, VkImageLayout layout, VkAccessFlags flags, V…
[all …]
Dzink_context.c74 check_resource_for_batch_ref(struct zink_context *ctx, struct zink_resource *res) in check_resource_for_batch_ref()
395 get_layout_for_binding(struct zink_resource *res, enum zink_descriptor_type type, bool is_compute) in get_layout_for_binding()
457 ALWAYS_INLINE static struct zink_resource *
458 …o(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot, struct zink_resource *res) in update_descriptor_state_ubo()
470 VkBuffer null_buffer = zink_resource(ctx->dummy_vertex_buffer)->obj->buffer; in update_descriptor_state_ubo()
483 ALWAYS_INLINE static struct zink_resource *
484 …o(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot, struct zink_resource *res) in update_descriptor_state_ssbo()
495 VkBuffer null_buffer = zink_resource(ctx->dummy_vertex_buffer)->obj->buffer; in update_descriptor_state_ssbo()
502 ALWAYS_INLINE static struct zink_resource *
503 …r(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot, struct zink_resource *res) in update_descriptor_state_sampler()
[all …]
Dzink_surface.c36 struct zink_resource *res, in create_ivci()
107 init_surface_info(struct zink_surface *surface, struct zink_resource *res, VkImageViewCreateInfo *i… in init_surface_info()
125 struct zink_resource *res = zink_resource(pres); in create_surface()
144 surface->obj = zink_resource(pres)->obj; in create_surface()
172 struct zink_resource *res = zink_resource(pres); in zink_get_surface()
219 zink_resource(pres), templ, pres->target); in zink_create_surface()
234 …struct zink_resource *transient = zink_resource(pctx->screen->resource_create(pctx->screen, &rtemp… in zink_create_surface()
281 struct zink_resource *res = zink_resource(psurface->texture); in zink_destroy_surface()
320 struct zink_resource *res = zink_resource((*psurface)->texture); in zink_rebind_surface()
325zink_resource((*psurface)->texture), (*psurface), surface->base.texture->target); in zink_rebind_surface()
[all …]
Dzink_draw.cpp35 struct zink_resource *res = zink_resource(t->counter_buffer); in zink_emit_xfb_counter_barrier()
47 zink_emit_xfb_vertex_input_barrier(struct zink_context *ctx, struct zink_resource *res) in zink_emit_xfb_vertex_input_barrier()
77 buffers[i] = zink_resource(ctx->dummy_xfb_buffer)->obj->buffer; in zink_emit_stream_output_targets()
82 struct zink_resource *res = zink_resource(t->base.buffer); in zink_emit_stream_output_targets()
104 struct zink_resource *res = zink_resource(pres); in check_buffer_barrier()
147 zink_batch_resource_usage_set(&ctx->batch, zink_resource(vb->buffer.resource), false); in zink_bind_vertex_buffers()
149 buffers[i] = zink_resource(ctx->dummy_vertex_buffer)->obj->buffer; in zink_bind_vertex_buffers()
360 struct zink_resource *res = (struct zink_resource *)he->key; in update_barriers()
505 zink_batch_reference_resource_move(batch, zink_resource(index_buffer)); in zink_draw_vbo()
508 zink_batch_reference_resource_rw(batch, zink_resource(index_buffer), false); in zink_draw_vbo()
[all …]
Dzink_resource.c107 struct zink_resource *res = zink_resource(pres); in zink_resource_destroy()
730 struct zink_resource *res = rzalloc(NULL, struct zink_resource); in resource_create()
845 struct zink_resource *res = zink_resource(pres); in zink_resource_get_param()
939 struct zink_resource *res = zink_resource(tex); in zink_resource_get_handle()
1008 invalidate_buffer(struct zink_context *ctx, struct zink_resource *res) in invalidate_buffer()
1048 invalidate_buffer(zink_context(pctx), zink_resource(pres)); in zink_resource_invalidate()
1053 struct zink_resource *dst, in zink_transfer_copy_bufimage()
1054 struct zink_resource *src, in zink_transfer_copy_bufimage()
1108 map_resource(struct zink_screen *screen, struct zink_resource *res) in map_resource()
1115 unmap_resource(struct zink_screen *screen, struct zink_resource *res) in unmap_resource()
[all …]
Dzink_batch.h47 struct zink_resource;
150 zink_batch_resource_usage_set(struct zink_batch *batch, struct zink_resource *res, bool write);
154 struct zink_resource *res,
157 zink_batch_reference_resource(struct zink_batch *batch, struct zink_resource *res);
160 zink_batch_reference_resource_move(struct zink_batch *batch, struct zink_resource *res);
Dzink_blit.c42 struct zink_resource *src = zink_resource(info->src.resource); in blit_resolve()
43 struct zink_resource *dst = zink_resource(info->dst.resource); in blit_resolve()
108 get_resource_features(struct zink_screen *screen, struct zink_resource *res) in get_resource_features()
136 struct zink_resource *src = zink_resource(info->src.resource); in blit_native()
137 struct zink_resource *dst = zink_resource(info->dst.resource); in blit_native()
277 struct zink_resource *src = zink_resource(info->src.resource); in zink_blit()
278 struct zink_resource *dst = zink_resource(info->dst.resource); in zink_blit()
Dzink_query.c60 struct zink_resource *predicate;
197 zink_copy_buffer(ctx, zink_resource(query->curr_qbo->buffer), zink_resource(prev->buffer), 0, in qbo_sync_from_prev()
550 unsigned query_id, struct zink_resource *res, unsigned offset, in copy_pool_results_to_buffer()
570 copy_results_to_buffer(struct zink_context *ctx, struct zink_query *query, struct zink_resource *re… in copy_results_to_buffer()
628 copy_pool_results_to_buffer(ctx, q, q->query_pool, query_id, zink_resource(qbo->buffer), in update_qbo()
638zink_resource(qbo->xfb_buffers[0] ? qbo->xfb_buffers[0] : qbo->buffer), in update_qbo()
645 …copy_pool_results_to_buffer(ctx, q, q->xfb_query_pool[i], query_id, zink_resource(qbo->xfb_buffers… in update_qbo()
963 query->predicate = zink_resource(pres); in zink_render_condition()
966 struct zink_resource *res = query->predicate; in zink_render_condition()
1001 struct zink_resource *res = zink_resource(pres); in zink_get_query_result_resource()
[all …]
Dzink_clear.c125 clear_color_no_rp(struct zink_context *ctx, struct zink_resource *res, const union pipe_color_union… in clear_color_no_rp()
150 clear_zs_no_rp(struct zink_context *ctx, struct zink_resource *res, VkImageAspectFlags aspects, dou… in clear_zs_no_rp()
385 struct zink_resource *res = zink_resource(pres); in zink_clear_texture()
444 struct zink_resource *res = zink_resource(pres); in zink_clear_buffer()
545 struct zink_resource *res = zink_resource(pres); in fb_clears_apply_internal()
603 if (zink_resource(pres)->aspect == VK_IMAGE_ASPECT_COLOR_BIT) { in zink_fb_clears_apply()
619 if (zink_resource(pres)->aspect == VK_IMAGE_ASPECT_COLOR_BIT) { in zink_fb_clears_discard()
693 if (zink_resource(pres)->aspect == VK_IMAGE_ASPECT_COLOR_BIT) { in zink_fb_clears_apply_or_discard()
709 if (zink_resource(pres)->aspect == VK_IMAGE_ASPECT_COLOR_BIT) { in zink_fb_clears_apply_region()
Dzink_descriptors.h81 struct zink_resource;
222 zink_descriptor_util_image_layout_eval(const struct zink_resource *res, bool is_compute);
256 struct zink_resource *
Dzink_batch.c399 struct zink_resource *flush_res = zink_resource(bs->flush_res); in submit_queue()
438 copy_scanout(struct zink_batch_state *bs, struct zink_resource *res) in copy_scanout()
576 copy_scanout(batch->state, zink_resource(batch->state->flush_res)); in zink_end_batch()
633 zink_batch_resource_usage_set(struct zink_batch *batch, struct zink_resource *res, bool write) in zink_batch_resource_usage_set()
646 zink_batch_reference_resource_rw(struct zink_batch *batch, struct zink_resource *res, bool write) in zink_batch_reference_resource_rw()
676 zink_batch_reference_resource(struct zink_batch *batch, struct zink_resource *res) in zink_batch_reference_resource()
687 zink_batch_reference_resource_move(struct zink_batch *batch, struct zink_resource *res) in zink_batch_reference_resource_move()
Dzink_clear.h33 struct zink_resource;
Dzink_surface.h109 struct zink_resource *res,
Dzink_descriptors.c78 struct zink_resource **res;
529 zink_resource(ctx->dummy_vertex_buffer)->obj->buffer; in zink_descriptor_util_init_null_set()
536 zink_descriptor_util_image_layout_eval(const struct zink_resource *res, bool is_compute) in zink_descriptor_util_image_layout_eval()
959 zink_resource_desc_set_add(struct zink_resource *res, struct zink_descriptor_set *zds, unsigned idx) in zink_resource_desc_set_add()
1135 desc_set_res_add(struct zink_descriptor_set *zds, struct zink_resource *res, unsigned int i, bool c… in desc_set_res_add()
1262 buffer_infos[i].buffer = zink_resource(ctx->dummy_vertex_buffer)->obj->buffer; in update_push_ubo_descriptors()
1344 struct zink_resource *res = ctx->di.descriptor_res[type][stage][index]; in update_descriptors_internal()
1526 struct zink_resource *res = ctx->di.descriptor_res[ZINK_DESCRIPTOR_TYPE_UBO][shader][idx]; in calc_descriptor_state_hash_ubo()
1540 struct zink_resource *res = ctx->di.descriptor_res[ZINK_DESCRIPTOR_TYPE_SSBO][shader][idx]; in calc_descriptor_state_hash_ssbo()
Dzink_bo.h202 zink_bo_commit(struct zink_screen *screen, struct zink_resource *res, uint32_t offset, uint32_t siz…
Dmeson.build41 'zink_resource.c',
Dzink_bo.c679 do_commit_single(struct zink_screen *screen, struct zink_resource *res, struct zink_bo *bo, uint32_… in do_commit_single()
707 zink_bo_commit(struct zink_screen *screen, struct zink_resource *res, uint32_t offset, uint32_t siz… in zink_bo_commit()
Dzink_screen.c1235 struct zink_resource *res = zink_resource(pres); in zink_flush_frontbuffer()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst3141 - zink: remove bind_stages and bind_history from zink_resource
3278 - zink: only reset zink_resource::so_valid on buffer rebind
/third_party/mesa3d/ohos/
Ddependency_inputs.gni3877 ../src/gallium/drivers/zink/zink_resource.c
3878 ../src/gallium/drivers/zink/zink_resource.h