Comments (4)
Looking into this issue (after it was assigned to me), this is definitely a valid issue.
Applications have no way to tell if the physical device they have will support functions VK_KHR_surface due to how instance extensions will be reported as supported when at least one ICD supports.
Unfortunately, this is not something that can be fixed very easily and requires an overhaul to the instance/physical device extension interface to support knowing which ICD supports what.
An alternative idea is to implement the logic necessary for the function, ie doing the ICD's job if the ICD doesn't support hte extension, but that is a can of worms in its own right.
from vulkan-loader.
This should be migrated to Vulkan-Docs, as there is nothing the Vulkan-Loader can do to fix this that doesn't require a new extension first.
from vulkan-loader.
After further inspection, while there may be a vulkan docs issue to create, the loader should proactively check if the extension is supported on the ICD before calling down into it.
from vulkan-loader.
In the pending autogen changes, we now have the ability to check this by modifying loader/wsi.c line 359 to:
if (!icd_term->scanned_icd->inst_ext_support.khr_surface ||
NULL == icd_term->dispatch.GetPhysicalDeviceSurfaceFormatsKHR) {
from vulkan-loader.
Related Issues (20)
- VK_LAYER_PATH equivalent for implicit layers HOT 2
- Remove vulkan-framework
- Log the origin of the manifest search paths (system, env-var, settings file, etc)
- clang-cl arguments are being passed to clang on Windows HOT 2
- VK_LOADER_DEBUG should report actual library loaded, not library attempted HOT 2
- Crash because of unload_drivers_without_physical_devices() HOT 6
- Vulkan-ICD-Loader update causes all games to crash HOT 3
- Build failing on 32 bit Windows because of some pointer-to-integer size mismatch HOT 6
- dEQP-VK.api.object_management.multithreaded_per_thread_resources.device_group crash HOT 8
- Add support for env variables inside JSON manifests HOT 4
- vkGetInstanceProcAddr returns non-NULL for unsupported functions HOT 21
- Can a VK_ extension be disabled with env vars? HOT 7
- allow GAS on MinGW HOT 2
- Vulkan HOT 2
- Unable to build Vulkan Loader from source HOT 4
- Downstream packaging best practices in combination with Vulkan-Headers HOT 5
- Failure in one ICD causes total failure of vkEnumeratePhysicalDevices HOT 3
- Calling `vkGetInstanceProcAddr(NULL, "vkEnumerateInstanceExtensionProperties")` from within a layer returns a NULL value HOT 3
- Segmentation fault at `loader_icd_destroy` on linux HOT 3
- vkEnumerateInstanceExtensionProperties is incorrectly implemented HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulkan-loader.