/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_descriptors.h | 78 struct zink_context; 200 zink_descriptor_layouts_init(struct zink_context *ctx); 203 zink_descriptor_layouts_deinit(struct zink_context *ctx); 206 zink_get_sampler_view_hash(struct zink_context *ctx, struct zink_sampler_view *sampler_view, bool i… 208 zink_get_image_view_hash(struct zink_context *ctx, struct zink_image_view *image_view, bool is_buff… 212 zink_descriptor_util_layout_get(struct zink_context *ctx, enum zink_descriptor_type type, 216 zink_descriptor_util_init_fbfetch(struct zink_context *ctx); 218 zink_descriptor_util_push_layouts_get(struct zink_context *ctx, struct zink_descriptor_layout **dsl… 220 zink_descriptor_util_init_null_set(struct zink_context *ctx, VkDescriptorSet desc_set); 224 zink_descriptors_init_bindless(struct zink_context *ctx); [all …]
|
D | zink_context.h | 186 struct zink_context { struct 218 struct zink_framebuffer *(*get_framebuffer)(struct zink_context*); argument 370 static inline struct zink_context * argument 371 zink_context(struct pipe_context *context) in zink_context() function 373 return (struct zink_context *)context; in zink_context() 377 zink_fb_clear_enabled(const struct zink_context *ctx, unsigned idx) in zink_fb_clear_enabled() 388 zink_wait_on_batch(struct zink_context *ctx, uint32_t batch_id); 391 zink_check_batch_completion(struct zink_context *ctx, uint32_t batch_id, bool have_lock); 394 zink_flush_queue(struct zink_context *ctx); 396 zink_update_fbfetch(struct zink_context *ctx); [all …]
|
D | zink_query.h | 31 struct zink_context; 40 zink_suspend_queries(struct zink_context *ctx, struct zink_batch *batch); 43 zink_resume_queries(struct zink_context *ctx, struct zink_batch *batch); 49 zink_query_update_gs_states(struct zink_context *ctx); 52 zink_start_conditional_render(struct zink_context *ctx); 55 zink_stop_conditional_render(struct zink_context *ctx); 58 zink_check_conditional_render(struct zink_context *ctx);
|
D | zink_program.h | 198 zink_program_descriptor_is_buffer(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_… 201 zink_update_gfx_program(struct zink_context *ctx, struct zink_gfx_program *prog); 204 zink_create_gfx_program(struct zink_context *ctx, 213 zink_get_gfx_pipeline(struct zink_context *ctx, 219 zink_program_init(struct zink_context *ctx); 222 zink_program_get_descriptor_usage(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_… 245 zink_create_compute_program(struct zink_context *ctx, struct zink_shader *shader); 274 zink_program_update_compute_pipeline_state(struct zink_context *ctx, struct zink_compute_program *c… 288 zink_set_fs_key(struct zink_context *ctx) in zink_set_fs_key() 295 zink_get_fs_key(struct zink_context *ctx) in zink_get_fs_key() [all …]
|
D | zink_batch.h | 42 struct zink_context; 67 struct zink_context *ctx; 127 zink_reset_batch_state(struct zink_context *ctx, struct zink_batch_state *bs); 130 zink_clear_batch_state(struct zink_context *ctx, struct zink_batch_state *bs); 133 zink_batch_reset_all(struct zink_context *ctx); 142 zink_reset_batch(struct zink_context *ctx, struct zink_batch *batch); 144 zink_start_batch(struct zink_context *ctx, struct zink_batch *batch); 147 zink_end_batch(struct zink_context *ctx, struct zink_batch *batch); 216 zink_batch_usage_check_completion(struct zink_context *ctx, const struct zink_batch_usage *u); 219 zink_batch_usage_wait(struct zink_context *ctx, struct zink_batch_usage *u);
|
D | zink_clear.h | 32 struct zink_context; 95 zink_clear_framebuffer(struct zink_context *ctx, unsigned clear_buffers); 110 zink_fb_clear_reset(struct zink_context *ctx, unsigned idx); 119 zink_clear_apply_conditionals(struct zink_context *ctx); 122 zink_fb_clears_apply(struct zink_context *ctx, struct pipe_resource *pres); 125 zink_fb_clears_discard(struct zink_context *ctx, struct pipe_resource *pres); 128 zink_fb_clears_apply_or_discard(struct zink_context *ctx, struct pipe_resource *pres, struct u_rect… 131 zink_fb_clears_apply_region(struct zink_context *ctx, struct pipe_resource *pres, struct u_rect reg…
|
D | zink_context.c | 74 check_resource_for_batch_ref(struct zink_context *ctx, struct zink_resource *res) in check_resource_for_batch_ref() 83 struct zink_context *ctx = zink_context(pctx); in zink_context_destroy() 166 check_device_lost(struct zink_context *ctx) in check_device_lost() 179 struct zink_context *ctx = zink_context(pctx); in zink_get_device_reset_status() 201 struct zink_context *ctx = zink_context(pctx); in zink_set_device_reset_callback() 213 struct zink_context *ctx = zink_context(pctx); in zink_set_context_param() 420 get_imageview_for_binding(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_descript… in get_imageview_for_binding() 439 get_bufferview_for_binding(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_descrip… in get_bufferview_for_binding() 458 update_descriptor_state_ubo(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot, … in update_descriptor_state_ubo() 484 update_descriptor_state_ssbo(struct zink_context *ctx, enum pipe_shader_type shader, unsigned slot,… in update_descriptor_state_ssbo() [all …]
|
D | zink_query.c | 65 update_qbo(struct zink_context *ctx, struct zink_query *q); 67 reset_pool(struct zink_context *ctx, struct zink_batch *batch, struct zink_query *q); 187 qbo_sync_from_prev(struct zink_context *ctx, struct zink_query *query, unsigned id_offset, unsigned… in qbo_sync_from_prev() 330 struct zink_batch *batch = &zink_context(pctx)->batch; in zink_create_query() 510 force_cpu_read(struct zink_context *ctx, struct pipe_query *pquery, enum pipe_query_value_type resu… in force_cpu_read() 549 copy_pool_results_to_buffer(struct zink_context *ctx, struct zink_query *query, VkQueryPool pool, 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() 576 reset_pool(struct zink_context *ctx, struct zink_batch *batch, struct zink_query *q) in reset_pool() 619 update_qbo(struct zink_context *ctx, struct zink_query *q) in update_qbo() 657 begin_query(struct zink_context *ctx, struct zink_batch *batch, struct zink_query *q) in begin_query() [all …]
|
D | zink_screen.h | 48 struct zink_context; 146 bool (*descriptor_program_init)(struct zink_context *ctx, struct zink_program *pg); 148 void (*descriptors_update)(struct zink_context *ctx, bool is_compute); 149 void (*context_update_descriptor_states)(struct zink_context *ctx, bool is_compute); 150 …void (*context_invalidate_descriptor_state)(struct zink_context *ctx, enum pipe_shader_type shader, 156 bool (*descriptors_init)(struct zink_context *ctx); 157 void (*descriptors_deinit)(struct zink_context *ctx);
|
D | zink_clear.c | 70 struct zink_context *ctx = zink_context(pctx); in clear_in_rp() 125 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() 173 get_clear_data(struct zink_context *ctx, struct zink_framebuffer_clear *fb_clear, const struct pipe… in get_clear_data() 198 struct zink_context *ctx = zink_context(pctx); in zink_clear() 267 zink_clear_framebuffer(struct zink_context *ctx, unsigned clear_buffers) in zink_clear_framebuffer() 384 struct zink_context *ctx = zink_context(pctx); in zink_clear_texture() 443 struct zink_context *ctx = zink_context(pctx); in zink_clear_buffer() 486 struct zink_context *ctx = zink_context(pctx); in zink_clear_render_target() 499 struct zink_context *ctx = zink_context(pctx); in zink_clear_depth_stencil() [all …]
|
D | zink_draw.cpp | 21 zink_emit_xfb_counter_barrier(struct zink_context *ctx) 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() 67 struct zink_context *ctx = zink_context(pctx); in zink_emit_stream_output_targets() 102 check_buffer_barrier(struct zink_context *ctx, struct pipe_resource *pres, VkAccessFlags flags, VkP… in check_buffer_barrier() 109 barrier_draw_buffers(struct zink_context *ctx, const struct pipe_draw_info *dinfo, in barrier_draw_buffers() 125 zink_bind_vertex_buffers(struct zink_batch *batch, struct zink_context *ctx) in zink_bind_vertex_buffers() 175 update_gfx_program(struct zink_context *ctx) in update_gfx_program() 239 update_drawid(struct zink_context *ctx, unsigned draw_id) in update_drawid() 247 draw_indexed_need_index_buffer_unref(struct zink_context *ctx, in draw_indexed_need_index_buffer_unref() 276 draw_indexed(struct zink_context *ctx, in draw_indexed() [all …]
|
D | zink_program.c | 86 get_shader_module_for_stage(struct zink_context *ctx, struct zink_screen *screen, in get_shader_module_for_stage() 158 update_shader_modules(struct zink_context *ctx, in update_shader_modules() 242 zink_update_gfx_program(struct zink_context *ctx, struct zink_gfx_program *prog) in zink_update_gfx_program() 313 zink_create_gfx_program(struct zink_context *ctx, in zink_create_gfx_program() 392 zink_program_update_compute_pipeline_state(struct zink_context *ctx, struct zink_compute_program *c… in zink_program_update_compute_pipeline_state() 421 zink_create_compute_program(struct zink_context *ctx, struct zink_shader *shader) in zink_create_compute_program() 456 zink_program_get_descriptor_usage(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_… in zink_program_get_descriptor_usage() 492 zink_program_descriptor_is_buffer(struct zink_context *ctx, enum pipe_shader_type stage, enum zink_… in zink_program_descriptor_is_buffer() 651 zink_get_gfx_pipeline(struct zink_context *ctx, in zink_get_gfx_pipeline() 765 bind_stage(struct zink_context *ctx, enum pipe_shader_type stage, in bind_stage() [all …]
|
D | zink_surface.h | 114 zink_get_surface(struct zink_context *ctx, 133 zink_rebind_surface(struct zink_context *ctx, struct pipe_surface **psurface); 136 zink_rebind_ctx_surface(struct zink_context *ctx, struct pipe_surface **psurface) in zink_rebind_ctx_surface() 143 zink_surface_create_null(struct zink_context *ctx, enum pipe_texture_target target, unsigned width,…
|
D | zink_fence.c | 85 tc_fence_finish(struct zink_context *ctx, struct zink_tc_fence *mfence, uint64_t *timeout_ns) in tc_fence_finish() 152 struct zink_context *ctx = zink_context(pctx); in zink_fence_finish() 159 zink_context(pctx)->batch.has_work = true; in zink_fence_finish() 208 zink_context(pctx)->batch.has_work = true; in zink_fence_server_sync()
|
D | zink_descriptors_lazy.c | 68 dd_lazy(struct zink_context *ctx) in dd_lazy() 96 entry->offset = offsetof(struct zink_context, di.ubos[stage][index + offset]); in init_template_entry() 101 entry->offset = offsetof(struct zink_context, di.textures[stage][index + offset]); in init_template_entry() 106 entry->offset = offsetof(struct zink_context, di.tbos[stage][index + offset]); in init_template_entry() 111 entry->offset = offsetof(struct zink_context, di.ssbos[stage][index + offset]); in init_template_entry() 116 entry->offset = offsetof(struct zink_context, di.images[stage][index + offset]); in init_template_entry() 121 entry->offset = offsetof(struct zink_context, di.texel_images[stage][index + offset]); in init_template_entry() 131 zink_descriptor_program_init_lazy(struct zink_context *ctx, struct zink_program *pg) in zink_descriptor_program_init_lazy() 337 get_descriptor_pool_lazy(struct zink_context *ctx, struct zink_program *pg, enum zink_descriptor_ty… 340 check_pool_alloc(struct zink_context *ctx, struct zink_descriptor_pool *pool, struct hash_entry *he… in check_pool_alloc() [all …]
|
D | zink_descriptors.c | 138 zink_get_sampler_view_hash(struct zink_context *ctx, struct zink_sampler_view *sampler_view, bool i… in zink_get_sampler_view_hash() 146 zink_get_image_view_hash(struct zink_context *ctx, struct zink_image_view *image_view, bool is_buff… in zink_get_image_view_hash() 155 get_descriptor_surface_hash(struct zink_context *ctx, struct zink_descriptor_surface *dsurf) in get_descriptor_surface_hash() 396 create_layout(struct zink_context *ctx, enum zink_descriptor_type type, in create_layout() 424 zink_descriptor_util_layout_get(struct zink_context *ctx, enum zink_descriptor_type type, in zink_descriptor_util_layout_get() 482 create_gfx_layout(struct zink_context *ctx, struct zink_descriptor_layout_key **layout_key, bool fb… in create_gfx_layout() 501 zink_descriptor_util_push_layouts_get(struct zink_context *ctx, struct zink_descriptor_layout **dsl… in zink_descriptor_util_push_layouts_get() 514 zink_descriptor_util_init_null_set(struct zink_context *ctx, VkDescriptorSet desc_set) in zink_descriptor_util_init_null_set() 578 descriptor_pool_get(struct zink_context *ctx, enum zink_descriptor_type type, in descriptor_pool_get() 649 allocate_desc_set(struct zink_context *ctx, struct zink_program *pg, enum zink_descriptor_type type… in allocate_desc_set() [all …]
|
D | zink_framebuffer.h | 33 struct zink_context; 94 zink_get_framebuffer_imageless(struct zink_context *ctx); 97 zink_get_framebuffer(struct zink_context *ctx);
|
D | zink_resource.h | 30 struct zink_context; 170 zink_resource_setup_transfer_layouts(struct zink_context *ctx, struct zink_resource *src, struct zi… 195 zink_resource_object_init_storage(struct zink_context *ctx, struct zink_resource *res); 244 zink_resource_usage_wait(struct zink_context *ctx, struct zink_resource *res, enum zink_resource_ac… in zink_resource_usage_wait()
|
D | zink_inlines.h | 6 zink_select_draw_vbo(struct zink_context *ctx) in zink_select_draw_vbo() 13 zink_select_launch_grid(struct zink_context *ctx) in zink_select_launch_grid()
|
D | zink_batch.c | 29 zink_reset_batch_state(struct zink_context *ctx, struct zink_batch_state *bs) in zink_reset_batch_state() 124 zink_clear_batch_state(struct zink_context *ctx, struct zink_batch_state *bs) in zink_clear_batch_state() 132 pop_batch_state(struct zink_context *ctx) in pop_batch_state() 142 zink_batch_reset_all(struct zink_context *ctx) in zink_batch_reset_all() 190 create_batch_state(struct zink_context *ctx) in create_batch_state() 263 get_batch_state(struct zink_context *ctx, struct zink_batch *batch) in get_batch_state() 299 zink_reset_batch(struct zink_context *ctx, struct zink_batch *batch) in zink_reset_batch() 308 zink_start_batch(struct zink_context *ctx, struct zink_batch *batch) in zink_start_batch() 351 struct zink_context *ctx = bs->ctx; in submit_queue() 442 struct zink_context *ctx = bs->ctx; in copy_scanout() [all …]
|
D | zink_compiler.h | 42 struct zink_context; 114 zink_shader_free(struct zink_context *ctx, struct zink_shader *shader);
|
D | zink_state.c | 174 struct zink_context *ctx = zink_context(pctx); in zink_bind_vertex_elements_state() 410 struct zink_context *ctx = zink_context(pctx); in zink_bind_blend_state() 411 struct zink_gfx_pipeline_state* state = &zink_context(pctx)->gfx_pipeline_state; in zink_bind_blend_state() 517 struct zink_context *ctx = zink_context(pctx); in zink_bind_depth_stencil_alpha_state() 675 struct zink_context *ctx = zink_context(pctx); in zink_bind_rasterizer_state()
|
D | zink_blit.c | 13 apply_dst_clears(struct zink_context *ctx, const struct pipe_blit_info *info, bool discard_only) in apply_dst_clears() 24 blit_resolve(struct zink_context *ctx, const struct pipe_blit_info *info) in blit_resolve() 116 blit_native(struct zink_context *ctx, const struct pipe_blit_info *info) in blit_native() 253 struct zink_context *ctx = zink_context(pctx); in zink_blit() 314 zink_blit_begin(struct zink_context *ctx, enum zink_blit_flags flags) in zink_blit_begin()
|
D | zink_resource.c | 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() 1052 zink_transfer_copy_bufimage(struct zink_context *ctx, in zink_transfer_copy_bufimage() 1121 create_transfer(struct zink_context *ctx, struct pipe_resource *pres, unsigned usage, const struct … in create_transfer() 1143 destroy_transfer(struct zink_context *ctx, struct zink_transfer *trans) in destroy_transfer() 1163 struct zink_context *ctx = zink_context(pctx); in zink_buffer_map() 1332 struct zink_context *ctx = zink_context(pctx); in zink_image_map() 1444 struct zink_context *ctx = zink_context(pctx); in zink_transfer_flush_region() 1482 struct zink_context *ctx = zink_context(pctx); in transfer_unmap() 1587 zink_resource_object_init_storage(struct zink_context *ctx, struct zink_resource *res) in zink_resource_object_init_storage() [all …]
|
D | zink_framebuffer.c | 120 create_framebuffer_imageless(struct zink_context *ctx, struct zink_framebuffer_state *state) in create_framebuffer_imageless() 141 zink_get_framebuffer_imageless(struct zink_context *ctx) in zink_get_framebuffer_imageless() 249 create_framebuffer(struct zink_context *ctx, in create_framebuffer() 291 zink_get_framebuffer(struct zink_context *ctx) in zink_get_framebuffer()
|