projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d33f216
)
radv: add radv_device_use_secure_compile() helper
author
Timothy Arceri
<tarceri@itsqueeze.com>
Thu, 24 Oct 2019 03:17:15 +0000
(14:17 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Sat, 26 Oct 2019 02:04:12 +0000
(13:04 +1100)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_private.h
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_private.h
b/src/amd/vulkan/radv_private.h
index 17e6f35ba20bd55ac1ceb2274a781dd0c73f1c32..3bfb8d11859f185afd3ebece5ae51bdcbcdc54db 100644
(file)
--- a/
src/amd/vulkan/radv_private.h
+++ b/
src/amd/vulkan/radv_private.h
@@
-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);