Using KHR flags instead of NV
This commit is contained in:
parent
444f011a43
commit
fffdd726ad
1 changed files with 7 additions and 7 deletions
|
|
@ -39,12 +39,12 @@ extern std::vector<std::string> defaultSearchPaths;
|
||||||
#include "nvh/cameramanipulator.hpp"
|
#include "nvh/cameramanipulator.hpp"
|
||||||
#include "nvh/fileoperations.hpp"
|
#include "nvh/fileoperations.hpp"
|
||||||
#include "nvh/gltfscene.hpp"
|
#include "nvh/gltfscene.hpp"
|
||||||
|
#include "nvh/nvprint.hpp"
|
||||||
#include "nvvk/commands_vk.hpp"
|
#include "nvvk/commands_vk.hpp"
|
||||||
#include "nvvk/descriptorsets_vk.hpp"
|
#include "nvvk/descriptorsets_vk.hpp"
|
||||||
#include "nvvk/pipeline_vk.hpp"
|
#include "nvvk/pipeline_vk.hpp"
|
||||||
#include "nvvk/renderpasses_vk.hpp"
|
#include "nvvk/renderpasses_vk.hpp"
|
||||||
#include "nvvk/shaders_vk.hpp"
|
#include "nvvk/shaders_vk.hpp"
|
||||||
#include "nvh/nvprint.hpp"
|
|
||||||
|
|
||||||
#include "shaders/binding.glsl"
|
#include "shaders/binding.glsl"
|
||||||
|
|
||||||
|
|
@ -690,8 +690,8 @@ void HelloVulkan::createRtDescriptorSet()
|
||||||
vkSS::eRaygenKHR | vkSS::eClosestHitKHR)); // TLAS
|
vkSS::eRaygenKHR | vkSS::eClosestHitKHR)); // TLAS
|
||||||
m_rtDescSetLayoutBind.addBinding(
|
m_rtDescSetLayoutBind.addBinding(
|
||||||
vkDSLB(1, vkDT::eStorageImage, 1, vkSS::eRaygenKHR)); // Output image
|
vkDSLB(1, vkDT::eStorageImage, 1, vkSS::eRaygenKHR)); // Output image
|
||||||
m_rtDescSetLayoutBind.addBinding(
|
m_rtDescSetLayoutBind.addBinding(vkDSLB(
|
||||||
vkDSLB(2, vkDT::eStorageBuffer, 1, vkSS::eClosestHitNV | vkSS::eAnyHitNV)); // Primitive info
|
2, vkDT::eStorageBuffer, 1, vkSS::eClosestHitKHR | vkSS::eAnyHitKHR)); // Primitive info
|
||||||
|
|
||||||
m_rtDescPool = m_rtDescSetLayoutBind.createPool(m_device);
|
m_rtDescPool = m_rtDescSetLayoutBind.createPool(m_device);
|
||||||
m_rtDescSetLayout = m_rtDescSetLayoutBind.createLayout(m_device);
|
m_rtDescSetLayout = m_rtDescSetLayoutBind.createLayout(m_device);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue