VK_KHR_acceleration_structure and VK_KHR_raytracing_pipeline aren't presented whereas they are available in vkconfig (RTX2060)

huangapple go评论60阅读模式
英文:

VK_KHR_acceleration_structure and VK_KHR_raytracing_pipeline aren't presented whereas they are available in vkconfig (RTX2060)

问题

我想在我的项目中使用VK_KHR_acceleration_structure和VK_KHR_raytracing_pipeline VkDevice扩展。问题在于vkPhysicalDeviceExtensionProperties中没有这些扩展,尽管它们在vkconfig中由vulkaninfo提供。除此之外,VkPhysicalDeviceAccelerationStructureFeaturesKHR结构中的accelerationStructure标志已启用,VkPhysicalDeviceRayTracingPipelineFeaturesKHR中的rayTracingPipeline标志也是如此。我只有一个可用的VkPhysicalDevice,所以我不知道其中的原因。

当我尝试使用这些扩展创建VkDevice时,实际发生了错误。

我的设置:

  • 系统 - Windows 10,
  • Vulkan SDK - 1.3.250.1,Volk扩展功能,API版本 - 1.3
  • 显卡 - RTX2060,驱动版本为DCH 536.67。

我尝试在没有这些扩展的情况下使用所需的功能,使用另一个API版本(从1.1到1.3),重新安装Vulkan SDK,更新驱动程序,仅使用VulkanAPI函数(不使用Volk,通过vkGetInstanceProcAddr加载函数)。

英文:

I want to use VK_KHR_acceleration_structure and VK_KHR_raytracing_pipeline VkDevice extensions in my project. The problem is that vkPhysicalDeviceExtensionProperties has no those extensions whereas they are presented by vulkaninfo in vkconfig. In addition to it accelerationStructure flag from VkPhysicalDeviceAccelerationStructureFeaturesKHR structure is enabled, same with rayTracingPipeline flag from VkPhysicalDeviceRayTracingPipelineFeaturesKHR. I have only one VkPhysicalDevice available, so I don't know any reasons for it.

An actual error occures when I'm trying to create VkDevice with these extensions.

My setup:

  • System - Windows 10,
  • Vulkan SDK - 1.3.250.1, Volk extensions functionality, API version - 1.3
  • Video card - RTX2060 with DCH 536.67 version drivers.

I tried to use required functionality without these extensions, use another API version (from 1.1 to 1.3), reinstall Vulkan SDK, update drivers, use VulkanAPI functions only (no Volk, loading functions by vkGetInstanceProcAddr).

答案1

得分: 1

问题出在VK_LAYER_RENDERDOC_Capture层,它阻止了一堆扩展。

英文:

The problem was in VK_LAYER_RENDERDOC_Capture layer, that blocked bunch of extensions.

huangapple
  • 本文由 发表于 2023年7月27日 19:36:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/76779340.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定