device->mem_cache = radv_pipeline_cache_from_handle(pc);
- if (u_cnd_monotonic_init(&device->timeline_cond)) {
- result = VK_ERROR_INITIALIZATION_FAILED;
- goto fail_mem_cache;
- }
-
device->force_aniso = MIN2(16, radv_get_int_debug_option("RADV_TEX_ANISO", -1));
if (device->force_aniso >= 0) {
fprintf(stderr, "radv: Forcing anisotropy filter to %ix\n",
*pDevice = radv_device_to_handle(device);
return VK_SUCCESS;
-fail_mem_cache:
- radv_DestroyPipelineCache(radv_device_to_handle(device), pc, NULL);
fail_meta:
radv_device_finish_meta(device);
fail:
radv_destroy_shader_arenas(device);
- u_cnd_monotonic_destroy(&device->timeline_cond);
-
radv_thread_trace_finish(device);
radv_spm_finish(device);
struct list_head queue_pending_list;
uint32_t submission_wait_count;
- struct radv_timeline_waiter *wait_nodes;
struct list_head processing_list;
};
struct radv_device_border_color_data border_color_data;
- /* Condition variable for legacy timelines, to notify waiters when a
- * new point gets submitted. */
- struct u_cnd_monotonic timeline_cond;
-
/* Thread trace. */
struct ac_thread_trace_data thread_trace;