/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_descriptors_lazy.c | 141 if (pg->is_compute) in zink_descriptor_program_init_lazy() 159 unsigned num_shaders = pg->is_compute ? 1 : ZINK_SHADER_COUNT; in zink_descriptor_program_init_lazy() 221 …pg->dsl[pg->num_dsl++] = push_count ? ctx->dd->push_dsl[pg->is_compute]->layout : ctx->dd->dummy_d… in zink_descriptor_program_init_lazy() 269 wd_count[0] = pg->is_compute ? 1 : (ZINK_SHADER_COUNT + !!ctx->dd->has_fbfetch); in zink_descriptor_program_init_lazy() 288 template[i].pDescriptorUpdateEntries = push_entries[pg->is_compute]; in zink_descriptor_program_init_lazy() 293 …template[i].pipelineBindPoint = pg->is_compute ? VK_PIPELINE_BIND_POINT_COMPUTE : VK_PIPELINE_BIND… in zink_descriptor_program_init_lazy() 337 …*pg, enum zink_descriptor_type type, struct zink_batch_descriptor_data_lazy *bdd, bool is_compute); 341 … enum zink_descriptor_type type, struct zink_batch_descriptor_data_lazy *bdd, bool is_compute) in check_pool_alloc() argument 351 return get_descriptor_pool_lazy(ctx, pg, type, bdd, is_compute); in check_pool_alloc() 362 …zink_screen *screen, struct zink_batch_descriptor_data_lazy *bdd, bool is_compute, bool has_fbfetc… in create_push_pool() argument [all …]
|
D | zink_descriptors.c | 536 zink_descriptor_util_image_layout_eval(const struct zink_resource *res, bool is_compute) in zink_descriptor_util_image_layout_eval() argument 544 return res->image_bind_count[is_compute] ? VK_IMAGE_LAYOUT_GENERAL : in zink_descriptor_util_image_layout_eval() 649 …ctx, struct zink_program *pg, enum zink_descriptor_type type, unsigned descs_used, bool is_compute) in allocate_desc_set() argument 653 …struct zink_descriptor_pool *pool = push_set ? ctx->dd->push_pool[is_compute] : pdd_cached(pg)->po… in allocate_desc_set() 663 …if (!zink_descriptor_util_alloc_sets(screen, push_set ? ctx->dd->push_dsl[is_compute]->layout : pg… in allocate_desc_set() 717 populate_zds_key(struct zink_context *ctx, enum zink_descriptor_type type, bool is_compute, in populate_zds_key() argument 720 if (is_compute) { in populate_zds_key() 725 key->state[0] = ctx->dd->push_state[is_compute]; in populate_zds_key() 727 assert(ctx->dd->descriptor_states[is_compute].valid[type]); in populate_zds_key() 728 key->state[0] = ctx->dd->descriptor_states[is_compute].state[type]; in populate_zds_key() [all …]
|
D | zink_draw.cpp | 352 update_barriers(struct zink_context *ctx, bool is_compute) in update_barriers() argument 354 if (!ctx->need_barriers[is_compute]->entries) in update_barriers() 356 struct set *need_barriers = ctx->need_barriers[is_compute]; in update_barriers() 357 ctx->barrier_set_idx[is_compute] = !ctx->barrier_set_idx[is_compute]; in update_barriers() 358 …ctx->need_barriers[is_compute] = &ctx->update_barriers[is_compute][ctx->barrier_set_idx[is_compute… in update_barriers() 363 if (res->bind_count[is_compute]) { in update_barriers() 364 if (res->write_bind_count[is_compute]) in update_barriers() 366 if (res->write_bind_count[is_compute] != res->bind_count[is_compute]) { in update_barriers() 367 unsigned bind_count = res->bind_count[is_compute] - res->write_bind_count[is_compute]; in update_barriers() 369 if (res->ubo_bind_count[is_compute]) { in update_barriers() [all …]
|
D | zink_descriptors.h | 222 zink_descriptor_util_image_layout_eval(const struct zink_resource *res, bool is_compute); 246 zink_descriptors_update(struct zink_context *ctx, bool is_compute); 280 zink_descriptors_update_lazy(struct zink_context *ctx, bool is_compute); 302 zink_descriptors_update_lazy_masked(struct zink_context *ctx, bool is_compute, uint8_t changed_sets…
|
D | zink_context.c | 395 get_layout_for_binding(struct zink_resource *res, enum zink_descriptor_type type, bool is_compute) in get_layout_for_binding() argument 401 return res->image_bind_count[is_compute] ? in get_layout_for_binding() 894 update_res_bind_count(struct zink_context *ctx, struct zink_resource *res, bool is_compute, bool de… in update_res_bind_count() argument 897 assert(res->bind_count[is_compute]); in update_res_bind_count() 898 if (!--res->bind_count[is_compute]) in update_res_bind_count() 899 _mesa_set_remove_key(ctx->need_barriers[is_compute], res); in update_res_bind_count() 902 res->bind_count[is_compute]++; in update_res_bind_count() 1232 update_binds_for_samplerviews(struct zink_context *ctx, struct zink_resource *res, bool is_compute) in update_binds_for_samplerviews() argument 1234 … VkImageLayout layout = get_layout_for_binding(res, ZINK_DESCRIPTOR_TYPE_SAMPLER_VIEW, is_compute); in update_binds_for_samplerviews() 1235 if (is_compute) { in update_binds_for_samplerviews() [all …]
|
D | zink_program.h | 83 bool is_compute; member 192 …num_bindings_typed(const struct zink_program *pg, enum zink_descriptor_type type, bool is_compute); 195 zink_program_num_bindings(const struct zink_program *pg, bool is_compute);
|
D | zink_screen.h | 148 void (*descriptors_update)(struct zink_context *ctx, bool is_compute); 149 void (*context_update_descriptor_states)(struct zink_context *ctx, bool is_compute);
|
D | zink_program.c | 257 if (pg->is_compute) { in zink_pipeline_layout_create() 429 comp->base.is_compute = true; in zink_create_compute_program() 532 …_num_bindings_typed(const struct zink_program *pg, enum zink_descriptor_type type, bool is_compute) in zink_program_num_bindings_typed() argument 535 if (is_compute) { in zink_program_num_bindings_typed() 548 zink_program_num_bindings(const struct zink_program *pg, bool is_compute) in zink_program_num_bindings() argument 552 num_bindings += zink_program_num_bindings_typed(pg, i, is_compute); in zink_program_num_bindings()
|
D | zink_context.h | 463 zink_flush_memory_barrier(struct zink_context *ctx, bool is_compute);
|
D | zink_batch.c | 87 if (pg->is_compute) { in zink_reset_batch_state()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_compute.c | 51 so->is_compute = true; in panfrost_create_compute_state()
|
D | pan_context.h | 281 bool is_compute; member
|
D | pan_context.c | 334 if (!cso->is_compute && cso->base.type == PIPE_SHADER_IR_NIR) in panfrost_delete_shader_state()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_sqtt.c | 966 bool is_compute) in si_sqtt_add_code_object() argument 985 if (is_compute) { in si_sqtt_add_code_object() 1034 …r_pipeline(struct si_context* sctx, uint64_t pipeline_hash, uint64_t base_address, bool is_compute) in si_sqtt_register_pipeline() argument 1048 return si_sqtt_add_code_object(sctx, pipeline_hash, is_compute); in si_sqtt_register_pipeline()
|
D | si_pipe.h | 1556 …_pipeline(struct si_context* sctx, uint64_t pipeline_hash, uint64_t base_address, bool is_compute);
|
/third_party/mesa3d/src/amd/compiler/tests/ |
D | helpers.h | 157 bool is_compute();
|
D | helpers.cpp | 442 for (unsigned i = 0; i < (is_compute() ? 1 : gfx_pipeline_info.stageCount); i++) { in ~PipelineBuilder() 589 bool PipelineBuilder::is_compute() { in is_compute() function in PipelineBuilder 843 if (is_compute()) in create_pipeline()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe.h | 1080 bool is_compute, 1084 bool is_compute,
|
D | evergreen_state.c | 4909 bool is_compute = cs_shader ? true : false; in evergreen_emit_atomic_buffer_setup_count() local 4911 for (i = 0; i < (is_compute ? 1 : EG_NUM_HW_STAGES); i++) { in evergreen_emit_atomic_buffer_setup_count() 4915 if (is_compute) in evergreen_emit_atomic_buffer_setup_count() 4947 bool is_compute, in evergreen_emit_atomic_buffer_setup() argument 4955 if (is_compute) in evergreen_emit_atomic_buffer_setup() 4976 bool is_compute, in evergreen_emit_atomic_buffer_save() argument 4988 if (is_compute) in evergreen_emit_atomic_buffer_save()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | si_cmd_buffer.c | 1335 bool is_compute = cmd_buffer->queue_family_index == RADV_QUEUE_COMPUTE; in si_emit_cache_flush() local 1337 if (is_compute) in si_emit_cache_flush()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.1.0.rst | 4368 - zink: move 'batch_id' and 'is_compute' members to fence
|