projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
467c562
)
radv: UseEnumerateInstanceVersion for the default version.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Tue, 1 May 2018 20:46:41 +0000
(22:46 +0200)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Wed, 2 May 2018 19:57:08 +0000
(21:57 +0200)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index ed1c35334ba9956e3990d9695c8b191620430fee..9fe415c4e05c39283b60073c08fb7d2296fe176d 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-460,7
+460,7
@@
VkResult radv_CreateInstance(
pCreateInfo->pApplicationInfo->apiVersion != 0) {
client_version = pCreateInfo->pApplicationInfo->apiVersion;
} else {
-
client_version = VK_MAKE_VERSION(1, 0, 0
);
+
radv_EnumerateInstanceVersion(&client_version
);
}
instance = vk_zalloc2(&default_alloc, pAllocator, sizeof(*instance), 8,