Lines Matching refs:ctx
180 typedef void (*pipe_draw_vertex_state_func)(struct pipe_context *ctx,
410 zink_fb_clear_enabled(const struct zink_context *ctx, unsigned idx)
413 return ctx->clears_enabled & PIPE_CLEAR_DEPTHSTENCIL;
414 return ctx->clears_enabled & (PIPE_CLEAR_COLOR0 << idx);
418 zink_fence_wait(struct pipe_context *ctx);
421 zink_wait_on_batch(struct zink_context *ctx, uint64_t batch_id);
424 zink_check_batch_completion(struct zink_context *ctx, uint64_t batch_id);
426 zink_get_cmdbuf(struct zink_context *ctx, struct zink_resource *src, struct zink_resource *dst);
428 zink_flush_queue(struct zink_context *ctx);
430 zink_update_fbfetch(struct zink_context *ctx);
435 zink_resource_buffer_barrier(struct zink_context *ctx, struct zink_resource *res, VkAccessFlags flags, VkPipelineStageFlags pipeline);
441 zink_resource_image_barrier(struct zink_context *ctx, struct zink_resource *res,
447 zink_update_descriptor_refs(struct zink_context *ctx, bool compute);
449 zink_init_vk_sample_locations(struct zink_context *ctx, VkSampleLocationsInfoEXT *loc);
452 zink_batch_rp(struct zink_context *ctx);
455 zink_batch_no_rp(struct zink_context *ctx);
458 zink_prep_fb_attachment(struct zink_context *ctx, struct zink_surface *surf, unsigned i);
460 zink_update_vk_sample_locations(struct zink_context *ctx);
484 zink_rebind_all_buffers(struct zink_context *ctx);
486 zink_rebind_all_images(struct zink_context *ctx);
489 zink_flush_memory_barrier(struct zink_context *ctx, bool is_compute);
491 zink_init_draw_functions(struct zink_context *ctx, struct zink_screen *screen);
493 zink_init_grid_functions(struct zink_context *ctx);
511 zink_context_query_init(struct pipe_context *ctx);
514 zink_blit_begin(struct zink_context *ctx, enum zink_blit_flags flags);
552 zink_resource_rebind(struct zink_context *ctx, struct zink_resource *res);
555 zink_rebind_framebuffer(struct zink_context *ctx, struct zink_resource *res);
557 zink_use_dummy_attachments(const struct zink_context *ctx);
559 zink_set_color_write_enables(struct zink_context *ctx);
561 zink_copy_buffer(struct zink_context *ctx, struct zink_resource *dst, struct zink_resource *src,
565 zink_copy_image_buffer(struct zink_context *ctx, struct zink_resource *dst, struct zink_resource *src,