aboutsummaryrefslogtreecommitdiff
path: root/loader
AgeCommit message (Collapse)Author
2016-06-20loader: update so versionJeremy Hayes
2016-06-20loader: Increase error message lengthTobin Ehlis
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.
2016-06-20docs: Fix weird characters in Loader.md fileMark Young
2016-06-14loader: GH362 - Fix json output of escape charsMark Young
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
2016-06-14loader: Fix GH607 by adding proper array supportMark Young
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
2016-06-14loader: return ext not present when applicableJeremy Hayes
2016-06-13Revert "loader: Fix build warning on windows"Jon Ashburn
This reverts commit 27a58419aab1bd62201e00ea5a6d822b65f99fa3.
2016-06-13loader: Fix build warning on windowsJon Ashburn
Don't use default library for libcmt. Change-Id: I68c0f629044713c0c875758af9a0a1dd345dad75
2016-06-06loader: doc update for merge android and desktop layer interfaceJon Ashburn
Change-Id: Ibbffc0bf05bcbd1aa3b9272caa0b2c1c3a54037d
2016-06-06layers: Move debug action enums from vk_layer.hMark Lobodzinski
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
2016-06-02cmake: Fix MSVCRT overrideDustin Graves
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
2016-05-20winrtinstaller: remove dependency on msvcrt redistributablesDavid Pinedo
Loader and demos now use static version of msvcrt. Runtime Installer no longer installs msvcrt.
2016-05-19docs: update v0 languages for device layer deprecationChia-I Wu
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
2016-05-18doc: update layer and loader doc for device lyaer deprecationJon Ashburn
Change-Id: I53ff750a25fd5ea390c22f5ded2247dfbedce2aa
2016-05-17loader: update linux so versionJeremy Hayes
Change-Id: I84656754952e7488712ca5bcd4701e2e85d92cce
2016-05-17loader: Treat GLOBAL layers same as INSTANCE layersJon Ashburn
Also change validation layers type to be GLOBAL so they work with old loaders prior to device layer deprecation. Change-Id: I32788cb7788c8ad840ced15236c5ed792edfbbff
2016-05-16loader: reduce message level if GDPA of a layer is not foundJon Ashburn
Change-Id: Ic4dd99015f5f3a07a6657f196fde89181d66c0f6
2016-05-16loader: deprecate device layersJon Ashburn
Change-Id: I43c279e36368bf1ef9a2f446007e34366bfff777
2016-05-12loader: update linux so versionJeremy Hayes
Change-Id: I027e6f9e0010074c0a83748e3724c7ef1cabb4f9
2016-05-10loader: Update interface docJon Ashburn
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
2016-05-09loader: lvlgh204, Fix calls to secure_getenv on glibc < 2.17Jon Ashburn
Change-Id: I2f98d8de343cf3f6a30fdc223b37201b32571e99
2016-05-06doc: allow layers to ignore pAllocatorChia-I Wu
2016-05-05loader: added Windows resource file for vulkan-1.dllDavid Pinedo
Properties->Details on vulkan-1.dll will display valid version and build information Address: https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/473
2016-05-05loader: Fix issue when ICD DestroyDebugReportCallbackEXT not found.Mark Young
Change-Id: Ic1d0f67ec2f8ca438c4bd546e6beb4d565daf89a
2016-05-05CMakeLists.txt and doc changes forMark Mueller
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
2016-04-28loader: Add compile-time option for layer search paths.Jamie Madill
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
2016-04-28Revert "loader: Remove the default directory paths for ICDs and layers"Jamie Madill
This reverts commit b1e6b564616c40062b81d0b8b90e8689dd9aea11. Change-Id: I9e6bfad81369912c85c3122d6d36093c3c148454
2016-04-28loader: don't remove loader structs from CreateInfo for ICDJon Ashburn
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
2016-04-26loader: update doc to remove sentence allowing layers to skipJon Ashburn
using app provided allocation callbacks Change-Id: Ib293934b4574864a78f975aba52c9aa5c0a24779
2016-04-25loader: ghlvl#180 Support a ICD interface version negotiationJon Ashburn
Change-Id: I2e5c3717dd7fa86992f617bcc0f93de8ba60759e
2016-04-25loader: update spec doc for ICD interface versioningJon Ashburn
Change-Id: I7c149a4542623e537b44720766006652abe33948
2016-04-22doc: remove rules on vkEnumerate*Properties for layersChia-I Wu
2016-04-22doc: formalize the current loader-layer interfaceChia-I Wu
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.
2016-04-21loader: fix LX475Jeremy Hayes
Silently ignore VK_NULL_HANDLE in DestroyInstance/Device. Change-Id: I96305088db75932b6f3f824852db9c72b8352120
2016-04-20loader: ghlvl 361, Simplify library resource handlingJon Ashburn
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
2016-04-19misc: Update licenses to Apache 2.0Jon Ashburn
Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
2016-04-19Update typo in docttyio
2016-04-18doc: fix typos in docDavid Pinedo
2016-04-15Revert "loader: Temp workaround to add WSI surface extensions enumerated."Jon Ashburn
This reverts commit 884065fcd89540dca9a710389641bf1c39cedce0.
2016-04-15Revert "loader: temp workaround for advertising linux wsi surface extensions"Jon Ashburn
This reverts commit 23b248d32c943c136589e679e1fcc3444488d906.
2016-04-15loader: Remove the default directory paths for ICDs and layersJon Ashburn
These are not needed since rely on OSes library loader to figure out default path. Change-Id: Ide5eec4ed4301c51de7dc9171f7e040deb1878e7
2016-04-15loader: Run clang-formatJon Ashburn
Last several commits to loader weren't run through it. Change-Id: I512b2df75c7831ee6433e4c60c6664db85184584
2016-04-14loader: `Remove the ICD and Layers search path for WindowsPiers Daniell
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
2016-04-14loader: dont free and reallocate physical devicesJeannot Breton
Change-Id: I68ac2681b7c4923213c65dc720f54d81a36c99ef
2016-04-14loader: Added some missing function entry points to loader_icd_init_entrys.Petros Bantolas
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
2016-04-08loader: ghlvl #66, Ensure std_validationadvertises underlying layer extensionsJon Ashburn
Change-Id: If6b6b24fdf02b960c83148bd002114941eb1adc6
2016-04-07loader: Fix the std_validation version to really be loader's built versionJon Ashburn
Change-Id: I2ff3b6dab4209b152f487649db011cdfa7c8975b
2016-04-07loader: Preserve order during layer list expansionChris Forbes
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>
2016-04-07loader: Don't scribble on caller memory in CreateInstance,CreateDeviceChris Forbes
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>
2016-04-07loader: temp workaround for advertising linux wsi surface extensionsJon Ashburn
Change-Id: I9a03c6ea16abe9e362ef81ee87ac217b8b3c6c92