radv: add radv_device_use_secure_compile() helper
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
@@ -364,6 +364,12 @@ struct radv_instance {
|
||||
struct driOptionCache available_dri_options;
|
||||
};
|
||||
|
||||
static inline
|
||||
bool radv_device_use_secure_compile(struct radv_instance *instance)
|
||||
{
|
||||
return instance->num_sc_threads;
|
||||
}
|
||||
|
||||
VkResult radv_init_wsi(struct radv_physical_device *physical_device);
|
||||
void radv_finish_wsi(struct radv_physical_device *physical_device);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user