| Age | Commit message (Collapse) | Author |
|
|
|
120 chars in error message is very conservative as error prefix and LVL
pathname alone are near 100 chars. This can easily cause layer path to get
cut off which makes for a confusing error message. Bumping this to 164
chars to account for most reasonable layer names.
|
|
|
|
The strings from the JSON file already add escape characters.
So, \ becomes \\ in the JSON file strings. However, the cJSON
library was adding \\ for ever encountered \ when converting
to a string. This became messy as C:\\vulkanSDK\\layerfile.json
became C:\\\\vulkanSDK\\\\layerfile.json.
Change-Id: I006252e33d6e91e2bef704dd5dee0777105388a7
|
|
JSON spec does not allow objects of the same name at the same
level. But, that's what we used to allow with "layer" definitions.
Update new file version to 1.0.1, add "layers" array object, and
add multiple "layer" definition warning.
Change-Id: I040f07897c689800364d243daf3c247f1b3cace7
|
|
|
|
This reverts commit 27a58419aab1bd62201e00ea5a6d822b65f99fa3.
|
|
Don't use default library for libcmt.
Change-Id: I68c0f629044713c0c875758af9a0a1dd345dad75
|
|
Change-Id: Ibbffc0bf05bcbd1aa3b9272caa0b2c1c3a54037d
|
|
Moved debug-report related items from vk_layer.h. Enums are now in
vk_layer_logging.h and DbgFunctionNode has been moved into a new
loader header file vk_loader_layer.h.
Change-Id: I6031146ba474ff01ca039da44ad5d42d054383a3
|
|
Fix the CMake code that overrides the /MD flag with the /MT flag for
the Windows demo and loader projects. The CMake debug and release
variables were set to /MTd and /MT, overriding all existing debug
and release settings.
Now replacing /MD with /MT in the debug and release variables,
without losing other debug/release settings. Also performing
the MD/MT substitution for all release and debug configurations.
Change-Id: Id4a57c38bde0d909a95e7a49d9867029829e2c61
|
|
Loader and demos now use static version of msvcrt.
Runtime Installer no longer installs msvcrt.
|
|
Clarify that a layer's
vkEnumerateInstanceLayerProperties
vkEnumerateInstanceExtensionProperties
- should enumerate the layer itself
vkEnumerateDeviceLayerProperties
- is deprecated
vkEnumerateDeviceExtensionProperties
- must handle all layers by chaining
vkCreateInstance
- `pNext` handling is covered by the spec
vkCreateDevice
- allow validation layers to validate layer and extension names
Clarify that the layer library's
vkEnumerateInstanceLayerProperties
vkEnumerateInstanceExtensionProperties
- are not used by the desktop loader
- can be aliases to the layer's versions when the layer library
contains only one layer
vkEnumerateDeviceLayerProperties
vkEnumerateDeviceExtensionProperties
- are not used by the desktop loader
vkGetInstanceProcAddr
- mention that the special cases for vkCreateDevice and device commands
are for compatibility
|
|
Change-Id: I53ff750a25fd5ea390c22f5ded2247dfbedce2aa
|
|
Change-Id: I84656754952e7488712ca5bcd4701e2e85d92cce
|
|
Also change validation layers type to be GLOBAL so they work with old loaders
prior to device layer deprecation.
Change-Id: I32788cb7788c8ad840ced15236c5ed792edfbbff
|
|
Change-Id: Ic4dd99015f5f3a07a6657f196fde89181d66c0f6
|
|
Change-Id: I43c279e36368bf1ef9a2f446007e34366bfff777
|
|
Change-Id: I027e6f9e0010074c0a83748e3724c7ef1cabb4f9
|
|
The version 0 layer did not properly address the desktop loader requirements.
Split the layer interface into an Android section and a desktop section.
Change-Id: I782bdddd13da318274ad604ee0e48208bd1dc947
|
|
Change-Id: I2f98d8de343cf3f6a30fdc223b37201b32571e99
|
|
|
|
Properties->Details on vulkan-1.dll will display valid
version and build information
Address:
https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/473
|
|
Change-Id: Ic1d0f67ec2f8ca438c4bd546e6beb4d565daf89a
|
|
1) Ninja build and QTCreator IDE support
2) Out of tree builds that aren't based on using update_external_sources and build_windows_target scripts
3) Allowing the developer to use non-default locations for glslang and SPIRV-Tools binaries and sources
4) Fix linux build when developer chooses not to rename SPIRV-Tools to spirv-tools
Change-Id: Ib6118c47dc780e6721ec0538aae1a6ee444eed78
|
|
This enables programatically specifying search directories for the
layer JSON files. This makes deploying and running compiled layers
in local and automated testing with multiple configurations a much
simpler process.
Change-Id: I0904ef230d020004d8d71cbe265e83cdb6120db8
|
|
This reverts commit b1e6b564616c40062b81d0b8b90e8689dd9aea11.
Change-Id: I9e6bfad81369912c85c3122d6d36093c3c148454
|
|
pNext/sType extension structs that are unknown to a component must
be ignored by those components (layers, loader, ICDs). Loader was
stripping off the pNext structs it added to DeviceCreateInfo and
InstanceCreateInfo. Remove this stripping as the loader passes needed
info to layers and ICDs via this.
Change-Id: I49f169660474cffba276afac0c224e1b74eaa4bc
|
|
using app provided allocation callbacks
Change-Id: Ib293934b4574864a78f975aba52c9aa5c0a24779
|
|
Change-Id: I2e5c3717dd7fa86992f617bcc0f93de8ba60759e
|
|
Change-Id: I7c149a4542623e537b44720766006652abe33948
|
|
|
|
Expand the section "Discovery of layer entry points" into "Layer Library
Interface". In general, the new section defines an interface that allows
a loader to discover and insert layers while staying compliant. Other
sections have additional guidelines for layers to follow.
|
|
Silently ignore VK_NULL_HANDLE in DestroyInstance/Device.
Change-Id: I96305088db75932b6f3f824852db9c72b8352120
|
|
Layer and ICD libraries are opened and closed as needed. No ref counting,
no knowledge of if a library contains multiple layers or ICDs.
Change-Id: Ie88b671cd1671187a42d3d838d20e3af1afc67cc
|
|
Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
|
|
|
|
|
|
This reverts commit 884065fcd89540dca9a710389641bf1c39cedce0.
|
|
This reverts commit 23b248d32c943c136589e679e1fcc3444488d906.
|
|
These are not needed since rely on OSes library loader to figure out default path.
Change-Id: Ide5eec4ed4301c51de7dc9171f7e040deb1878e7
|
|
Last several commits to loader weren't run through it.
Change-Id: I512b2df75c7831ee6433e4c60c6664db85184584
|
|
This makes it more like Linux which leaves it up to the system
LoadLibrary() call to find the .dll as specified in the .json files.
Hard-coding "C:" or any other search path creates the possibility of
picking up the wrong .dll. The LoadLibrary() implementation does the
right thing.
Change-Id: I58cbdf230a1e86481067efb4aec03447ee55f1ff
|
|
Change-Id: I68ac2681b7c4923213c65dc720f54d81a36c99ef
|
|
KHR_surface, KHR_display extension functions were not exposed properly.
Specifically, added LOOKUP_GIPA entries for:
* GetPhysicalDeviceDisplayPropertiesKHR
* GetDisplayModePropertiesKHR
* CreateDisplayPlaneSurfaceKHR
* GetPhysicalDeviceDisplayPlanePropertiesKHR
* GetDisplayPlaneSupportedDisplaysKHR
* CreateDisplayModeKHR
* GetDisplayPlaneCapabilitiesKHR
* DestroySurfaceKHR
Added missing function declaration DestroySurfaceKHR in loader_icd
struct.
Checking if KHR_surface extension is enabled before proceeding in the
terminator_CreateDisplayPlaneSurfaceKHR definition.
Change-Id: I0599efddedc5064859ae1f4e52bdbbf8788d5c12
|
|
Change-Id: If6b6b24fdf02b960c83148bd002114941eb1adc6
|
|
Change-Id: I2ff3b6dab4209b152f487649db011cdfa7c8975b
|
|
As requested by Jon -- instead of appending the expanded layers, insert
them in place of the meta layer.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
expand_... / unexpand_... scribbled on both the CreateInfo struct and
the list of layer strings, and then unscribbled them on the way back
out. This is a lousy thing to do, and just blows up if the memory isn't
writable (which it needn't be, given the API takes ptrs to const).
Instead, copy the *CreateInfo into a shadow struct on the stack, and be
careful in expand_layer_names never to scribble on the caller's layer
names array.
V2: slight tweak (missed initializer)
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Change-Id: I9a03c6ea16abe9e362ef81ee87ac217b8b3c6c92
|