Fix node buffers not working for the rayquery polyfill shader path
Rearrange how the upload code is done for the level mesh
This commit is contained in:
parent
40509ef845
commit
757320c5bc
5 changed files with 232 additions and 187 deletions
|
|
@ -29,7 +29,7 @@ CVAR(Float, lm_scale, 1.0, CVAR_NOSAVE);
|
|||
|
||||
VkLightmap::VkLightmap(VulkanRenderDevice* fb) : fb(fb)
|
||||
{
|
||||
useRayQuery = fb->GetDevice()->PhysicalDevice.Features.RayQuery.rayQuery;
|
||||
useRayQuery = fb->GetDevice()->SupportsExtension(VK_KHR_RAY_QUERY_EXTENSION_NAME) && fb->GetDevice()->PhysicalDevice.Features.RayQuery.rayQuery;
|
||||
|
||||
templightlist.Resize(128);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue