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:
f89708c
)
radv: Only create bvh pipelines when using rt
author
Konstantin Seurer
<konstantin.seurer@gmail.com>
Thu, 1 Dec 2022 19:02:08 +0000
(20:02 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 2 Dec 2022 21:14:00 +0000
(21:14 +0000)
Saves some time when creating non-rt devices.
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20110>
src/amd/vulkan/radv_meta.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_meta.c
b/src/amd/vulkan/radv_meta.c
index
c628bd3
..
e8980d0
100644
(file)
--- a/
src/amd/vulkan/radv_meta.c
+++ b/
src/amd/vulkan/radv_meta.c
@@
-478,7
+478,7
@@
radv_device_init_meta(struct radv_device *device)
goto fail_fmask_copy;
}
- if (
radv_enable_rt(device->physical_device, false)
) {
+ if (
device->vk.enabled_extensions.KHR_acceleration_structure
) {
result = radv_device_init_accel_struct_build_state(device);
if (result != VK_SUCCESS)
goto fail_accel_struct_build;