mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-11 17:50:32 +01:00
radv: add radv_device_use_secure_compile() helper
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
d33f2165c9
commit
5d25aee005
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue