Update ZVulkan, rename vk_raytrace to gl_light_raytrace and support turning it on and off without a restart
This commit is contained in:
parent
d405229da1
commit
7eb9053e30
8 changed files with 26 additions and 20 deletions
|
|
@ -55,7 +55,7 @@ void VkRaytrace::SetLevelMesh(hwrenderer::LevelMesh* mesh)
|
|||
{
|
||||
Reset();
|
||||
Mesh = mesh;
|
||||
if (fb->RaytracingEnabled())
|
||||
if (fb->device->SupportsDeviceExtension(VK_KHR_RAY_QUERY_EXTENSION_NAME))
|
||||
{
|
||||
CreateVulkanObjects();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue