projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a70ae
)
anv/entrypoints: make vkGetDeviceProcAddr return NULL for instance commands
author
Iago Toral Quiroga
<itoral@igalia.com>
Wed, 7 Feb 2018 08:21:47 +0000
(09:21 +0100)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Tue, 20 Feb 2018 07:12:32 +0000
(08:12 +0100)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_entrypoints_gen.py
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_entrypoints_gen.py
b/src/intel/vulkan/anv_entrypoints_gen.py
index
c5a654f
..
34ffedb
100644
(file)
--- a/
src/intel/vulkan/anv_entrypoints_gen.py
+++ b/
src/intel/vulkan/anv_entrypoints_gen.py
@@
-225,7
+225,7
@@
anv_entrypoint_is_enabled(int index, uint32_t core_version,
return ${e.core_version.c_vk_version()} <= core_version;
% elif e.extension:
% if e.extension.type == 'instance':
- return instance->${e.extension.name[3:]};
+ return
!device &&
instance->${e.extension.name[3:]};
% else:
return !device || device->${e.extension.name[3:]};
% endif