History log of /external/vulkan-validation-layers/loader/loader.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f1ea418f193d10a8455cdf47e0eeeeb1f4d8b5bf 22-Mar-2016 Jon Ashburn <jon@lunarg.com> misc: Update to header version 1.0.6

Change-Id: Idf7a9d40278b796e16effa54e9b60668d275b8ec
/external/vulkan-validation-layers/loader/loader.c
fc53d906409b0a062a9d19d4c4fc39842a4fe56f 11-Mar-2016 Jon Ashburn <jon@lunarg.com> loader: make sure createDevice uses ICDs physicalDevice

Trampoline CreateDevice was using the terminator's physicalDevice instead of
the ICDs.

Change-Id: Ifdc6497fe4130e1ac1440b225401e65600b2a999
/external/vulkan-validation-layers/loader/loader.c
48cd3ae55e0a27c9877b1044a822ec8174b920fb 08-Mar-2016 Jon Ashburn <jon@lunarg.com> loader: Fix issue passing wrong instance if layer wraps instances

Change-Id: Iafd0f7dc3e4a911b165d3df1dadddf4d45fbef10
/external/vulkan-validation-layers/loader/loader.c
00df04555adf3daf71ad2cbd5ac14b9c50668849 08-Mar-2016 Jon Ashburn <jon@lunarg.com> loader: gllvl #50, Add support for the WSI extension KHR_display

Change-Id: I8d5ecc7500beba3042a6b9147b2f3fd3055b3b1d
/external/vulkan-validation-layers/loader/loader.c
b7cfe362d751c6ae07fa7f8a6c319bff2ae11000 08-Mar-2016 Karl Schultz <karl@lunarg.com> loader: VulkanTools PR 13 Resolve ...XlibPresentationSupportKHR

Change-Id: I1177e20b657ab00f41e9e4eb6f9ac997f7be459e
/external/vulkan-validation-layers/loader/loader.c
4c90acfcda7ddcc29dc56a1c81f9f3558951d9da 04-Mar-2016 Jeremy Hayes <jeremy@lunarg.com> loader: gllavl#46 add check for device extensions

Make GetInstanceProcAddr check layers for device extensions.

Change-Id: Ib23c5d42d11be415e9a6acd3b8427d0e474087a5
/external/vulkan-validation-layers/loader/loader.c
876604386e5a6b9e5177716fa0a57ff669859683 02-Mar-2016 Jon Ashburn <jon@lunarg.com> loader: ghlvl 33, ghlvl 34 Fix aliasing of VkPhysicalDevice

This fixes problems with not selecting the proper PhysicalDevice within
the loader if multiple PhysicalDevices are enumerated by the loader.
Fix involves wrapping the VkPhysicalDevice object in both trampoline code
and terminator code.

Also get rid of the ICD device_extension_cache. It is now always queried from
ICD whenever needed.
/external/vulkan-validation-layers/loader/loader.c
6c2c061d315352d95ec4e2b0412a5fc44d52ab27 29-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: refactor EnumerateDevice*Properties terminate/trampoline code

Should be no functional change.
Restructure so the terminator functions don't contain trampoline code.
/external/vulkan-validation-layers/loader/loader.c
a9c4a57699caf7daf9dbdae72a188c2c52da9d32 26-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: Better delineate trampoline and terminator functions

No functional changes!

Trampoline functions have the Vulkan API function name and are in trampoline.c.
Terminator functions have terminator_<Vulkan API name> (omitting the "vk").
Instance extension trampoline and terminator functions are in together in the
same file for the extension.
/external/vulkan-validation-layers/loader/loader.c
c50a5987320b2578adba60ae7071a099675977e8 24-Feb-2016 Karl Schultz <karl@lunarg.com> loader: Fix MSVS warnings

Apply branch 'fix-warnings' of https://github.com/null77/Vulkan-LoaderAndValidationLayers into null77-fix-warnings
/external/vulkan-validation-layers/loader/loader.c
cd0672c402ca9514ffc30a5c805db2db2a8baaa1 13-Feb-2016 Jason Ekstrand <jason.ekstrand@intel.com> loader: Fix Wayland support

All that was needed was to fix some misplaced braces, fix a couple of
copy+paste problems from Mir, and add a lookup function. Getting Mir
support working should be pretty easy.

Conflicts:
layers/swapchain.cpp
/external/vulkan-validation-layers/loader/loader.c
9255c1843a99741fee76ba2b4f33193441cfc454 19-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: Fix standard_validation enumeration on instance chain

Fixed regression and still handle no layers found case.
/external/vulkan-validation-layers/loader/loader.c
824e7647f2b46309aecca9355dba0fbae8c91749 18-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: Environment variable override got broken with recent change

This fixes that

Conflicts:
update_external_sources.bat
/external/vulkan-validation-layers/loader/loader.c
a867ee49907c70fcc8135547e17c14f034eccb3d 16-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: Add a ICD and layer search path for loader to discover JSON files

path is $HOME/.local/share/vulkan/*
/external/vulkan-validation-layers/loader/loader.c
42afe585866641e3bc695c938428f5821a5f6f80 12-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: Add better checks for malformed disable_environment in layer JSON file
/external/vulkan-validation-layers/loader/loader.c
95f37f63f34ab7cefa4432df095c55f53b48f737 14-Feb-2016 David Pinedo <david@lunarg.com> loader: check for null pointers in loader_add_layer_property_meta

Fixes vulkaninfo when only RT is installed and there are no layers
installed.
/external/vulkan-validation-layers/loader/loader.c
7d1a53db67cae03398c7dd00ad3e3bbba7053d33 12-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: For dev ext trampoline error code, add error logging
/external/vulkan-validation-layers/loader/loader.c
a0eecb28b5276feb54cccf75bc5ac51fa78c6dea 12-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: add support for standard_validation layer enabled from env var

Also fix memory corruption issue with the original std_validation patch.
/external/vulkan-validation-layers/loader/loader.c
715de5810bbd2d3b134ead3eff000c02fe3d37bc 11-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: Add feature standard-validation layer from application

Adds a validation layer grouping VK_LAYER_LUNARG_standard_validation, which
is the set of validation layers in a fixed order.

This only adds support for enumerating the meta layer and enabling it explicitly
from the app. Environment variable enablement of this layer is not yet added.
/external/vulkan-validation-layers/loader/loader.c
7ec85cdb9e8526f0eea01e1782c4c03bfbd9677c 11-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: rerun clang-format on some files
/external/vulkan-validation-layers/loader/loader.c
4870635f000bbf4946681cf5d5c8ad8a00360af1 12-Feb-2016 Mark Lobodzinski <mark@lunarg.com> layers/loader: Fix string validation error
/external/vulkan-validation-layers/loader/loader.c
5c13d4d87fd0356003a3441e887a172b991e880f 11-Feb-2016 Mark Lobodzinski <mark@lunarg.com> header: Update 1.0.3 header revision for inclusion of debug report extension

Removed vk_ext_debug_report.h (contents moved into vulkan.h)
Renamed debug report message enums
/external/vulkan-validation-layers/loader/loader.c
3cd96a2da93fa325b0d51369388f9b93798f6c80 10-Feb-2016 Karl Schultz <karl@lunarg.com> Remove Khronos confidential clause from license text.
/external/vulkan-validation-layers/loader/loader.c
624149ddf7d5844c09771bcbccf0aab4f7090c3c 09-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: Change error to warning for missing layer registry key

Continue to report an error for missing ICD registry key
/external/vulkan-validation-layers/loader/loader.c
c882eee531c883bdcb637549d9077e7dbb43b699 03-Feb-2016 Mark Lobodzinski <mark@lunarg.com> loader: Null-terminated string checks
/external/vulkan-validation-layers/loader/loader.c
d02007081061f901ebe5c1aba7b5517d53486dcd 05-Feb-2016 Courtney Goeltzenleuchter <courtneygo@google.com> loader: MR215 device extensions not enumerated

If a layer's device extension didn't define any entrypoints
it was ignored by the loader. Now add it to the
list of layer extensions.
/external/vulkan-validation-layers/loader/loader.c
3dbc4740b61a58af67156d964c873f15a1b8a2eb 04-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: filter device extensions in the terminator instead of trampoline
/external/vulkan-validation-layers/loader/loader.c
a4b3494583fa684105f870555a1e9bcf68941d32 03-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: Fix bug on pass by value for created_instance
/external/vulkan-validation-layers/loader/loader.c
44aed66f451bb8cb72e233f704aa1dd68397ffbb 03-Feb-2016 Jon Ashburn <jon@lunarg.com> loader:Update copyright and apply clang-format (no logic changes)
/external/vulkan-validation-layers/loader/loader.c
6737df0eef63c733407d148ed9201d942367cc7e 27-Jan-2016 Mark Young <marky@lunarg.com> loader: Fix 32-bit loader exception when layers enabled for Vulkan apps.

The loader_create_device_terminator had an incorrect calling convention. This
caused the ESP pointer to not get properly restored after the function was
called by a 32-bit application.
/external/vulkan-validation-layers/loader/loader.c
3869266d084fbe717aa7aaeab8f87e4bc75681ac 27-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Fix createInstance to pass pAllocator down

Also fix bug where createDevice failure removes logical device from icd
struct
/external/vulkan-validation-layers/loader/loader.c
a7a49ebcacf0d317aa3d9026ae7b2a2481349b26 27-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Don't have createInstance terminator code write the instance
object
/external/vulkan-validation-layers/loader/loader.c
2acdd158e20568e7baa634b9a12e4e78b4544c74 13-Jan-2016 Mark Young <marky@lunarg.com> Win32: Get 32-bit Windows build working
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
/external/vulkan-validation-layers/loader/loader.c
e44367a804a1e14bdb44962044cc30c7d7030f43 20-Jan-2016 Jon Ashburn <jon@lunarg.com> vktrace: Get partially working again with the new loader/layer interface
/external/vulkan-validation-layers/loader/loader.c
5e5065eaa77e5b695a6aac860909bc3f6ce99765 15-Jan-2016 Courtney Goeltzenleuchter <courtneygo@google.com> loader: remove resolved TODOs
/external/vulkan-validation-layers/loader/loader.c
38045480c207d198ec470382d686860766eec988 15-Jan-2016 Courtney Goeltzenleuchter <courtneygo@google.com> loader: Remove CreateInstance and CreateDevice

The new init mechanism always uses GetInstanceProcAddr
to query the next layer's CreateInstance or CreateDevice
function. Thus no reason to cache those function pointers
in the instance dispatch table.
/external/vulkan-validation-layers/loader/loader.c
c85fe7e8aa6be68e5ad77919ae65e181e9eb4243 15-Jan-2016 Courtney Goeltzenleuchter <courtneygo@google.com> loader: Use ICD's GetInstanceProcAddr

Appears there is some difference in behavior between
vkCreateDevice addr that we get initially vs. one
later. Not sure what difference is yet.

-------------------------------
/external/vulkan-validation-layers/loader/loader.c
f5f244db6d7a00ea8f14b30efb9910fc89947b65 15-Jan-2016 Courtney Goeltzenleuchter <courtneygo@google.com> loader: Add util to strip loader extensions
/external/vulkan-validation-layers/loader/loader.c
2bdf6da2d55b916479f90c87797ff20ddbb14fd9 08-Jan-2016 Courtney Goeltzenleuchter <courtneygo@google.com> loader: implement new layer init method

New layer init method requires the construction of
Link information for CreateInstance and CreateDevice
that is accessible to layers via the CreateInfo.pNext pointer.
The layer can then use the Get*ProcAddr from the Link
structure to initialize their dispatch table if the
call down the chain returns successfully.
This removes the need to do special initialization work
at Get*ProcAddr time.
Layer Get*ProcAddr now return their internal function
pointers regardless of the value of instance or device.
Only need to have valid instance & device when looking
up extensions or when passing the request down the chain.
This mechanism allows us to remove object wrapping used
by the loader previously. Also simplifies the dispatch table
setup.

Conflicts:
layers/device_limits.cpp
layers/draw_state.cpp
loader/loader.c
loader/trampoline.c
/external/vulkan-validation-layers/loader/loader.c
004ecf4cdba605cfe5e47894403b1d7aed7afa14 15-Jan-2016 Jon Ashburn <jon@lunarg.com> laoder: Fix phys_dev to use unwrapped version in loader_CreateDevice
/external/vulkan-validation-layers/loader/loader.c
7da19eea8b68a71d176f8d23ae1d7f9850839466 14-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Fix bad memory ref and CreateInstance fail don't write ouptut

Gitlab #58
CreateInstance shouldn't update output parameter on failure.
/external/vulkan-validation-layers/loader/loader.c
6c2fa495a2b9ac63e7cce817f38112605b112d21 13-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Add support for implicit layer device extensions enumeration

Partial fix for Bugzilla #15367. Need to do similar things for instance
extensions.

Conflicts:
loader/loader.c
/external/vulkan-validation-layers/loader/loader.c
da9d0e898898e1b66eb079562f4e6820aad5030c 12-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Fix so unwrapped instance gets used for layer instance extension dispatch
/external/vulkan-validation-layers/loader/loader.c
3f19e054f2b01db60469a6ae80641075bc9809f6 11-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Fix old ICD interface to not use vkGetInstanceProcAddr(NULL,)
/external/vulkan-validation-layers/loader/loader.c
a4ae48bfd6f2e2a80e1f92e054a007cf90a4e218 11-Jan-2016 Jon Ashburn <jon@lunarg.com> misc: Move to Vulkan header version 0.222
/external/vulkan-validation-layers/loader/loader.c
9a3c2b42336755153d683359706cc5afb67402a5 07-Jan-2016 Jon Ashburn <jon@lunarg.com> misc: make sure host memory alignment is a power of two

Use sizeof(int) as a default generally. Is that reasonable?
/external/vulkan-validation-layers/loader/loader.c
6b689946d74cbf2fce96147c46572efad5295963 07-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Find ICD entrypoints via vk_icdGetInstanceProcAddr first in ICD library
Also support prior method (now deprecated) of looking up vkGetInstanceProcAddr.
But now other globals are gotten from GetInstanceProcAddr calls.
/external/vulkan-validation-layers/loader/loader.c
5b25d9fa5ce45c31e68bea336eaabec071480789 04-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Convert getenv on Windows to use GetEnvironmentVariable

This allows loader to get updated environment variables. That is after the CRT
has been initialized.
/external/vulkan-validation-layers/loader/loader.c
babfa70a4bec33c3bb5344bc5a640cfc08919bae 04-Jan-2016 BogDan Vatra <bogdan@kdab.com> loader: MR111, Fix memleaks

[instance|dev] activated_layer_list is always allocated so, we need to always free it.
/external/vulkan-validation-layers/loader/loader.c
ec71e115b2281d1d5c100a59f2090169d4daf859 24-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Don't override VK_LAYER_PATH for implicit layers
/external/vulkan-validation-layers/loader/loader.c
59d7b686a0e3622cceb4053abbc63f76e34ab95d 24-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Fix typo in CreateDevice so ICDs see filtered device extension list
/external/vulkan-validation-layers/loader/loader.c
f843d2d5967598fe48b2825dbb2f0fa65fd57938 22-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> loader: Properly filter ICD extensions

As of NVIDIA driver 355.00.19, the ICD's CreateInstance
checks for invalid extension names and it turns out the
loader was passing on DEBUG_REPORT when it should have
been filtered out.
This change re-constructs the ICD's extension list to
do that filtering.
/external/vulkan-validation-layers/loader/loader.c
d2c905caa736e416e89fe8e06df687e4a5f91b21 18-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Add support for implicit layers
/external/vulkan-validation-layers/loader/loader.c
db68e4b61f6155cf78a88d7d33770fd67a13af4f 17-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Fix erroneous call to loader_log previously added
/external/vulkan-validation-layers/loader/loader.c
5533f6cc11f059a715c4fa9bffd83bbd7aed2349 17-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Fix compile error from rebase
/external/vulkan-validation-layers/loader/loader.c
e728d120b9ba105bfc4bc5d70f2d132711f60b53 17-Dec-2015 Courtney Goeltzenleuchter <courtney_g@comcast.net> loader: fix mismatch size warning
/external/vulkan-validation-layers/loader/loader.c
46724976d2220cc6966411de1171660677e58543 17-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> loader: correct compiler warning

Fixed compiler warning of idx potentially being
undefined. Also added test to check if the code
took that path and return an error if that happens.
/external/vulkan-validation-layers/loader/loader.c
acb1359c8e1528e5d67bb0101c94c48a07785098 09-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> debug_report: rename object type and error bits

Conflicts:
demos/tri.c
layers/device_limits.cpp
layers/draw_state.cpp
layers/image.cpp
layers/mem_tracker.cpp
layers/param_checker.cpp
layers/vk_layer_logging.h
loader/debug_report.c
tests/layer_validation_tests.cpp
/external/vulkan-validation-layers/loader/loader.c
65e31cc6d1ce20a372da2fc83e03fa99c85e9bcf 09-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> loader: save memory pointer before it's lost

The first time a library is loaded the code will
allocate space for the list. But if the dlopen fails
the pointer for that wasn't being saved and the next
call would get a segfault on a null pointer.
Now save the new pointer so it doesn't get lost.
/external/vulkan-validation-layers/loader/loader.c
05525da3618026d52191a5a6ff63c0e48b017ccf 03-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> loader: Enable callbacks from loader_log

Need to have the instance pointer to find
the list of callbacks.
Anything that happens before CreateInstance is invisible to
the application. For that reason, I've left in the
environment variable logging.
/external/vulkan-validation-layers/loader/loader.c
ebbb96d9efd5db51afa9b392c3026a4834c978e7 02-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> misc: Update copyright statements
/external/vulkan-validation-layers/loader/loader.c
03c80a622a374d9894f5e9c0dab2f721e5193a2b 02-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> loader: Adjust internal naming to match API naming

Now that we've settled on EnumerateInstance* and
EnumerateDevice* we can change the internal function
names in the loader that were global and physical_device
to instance and device to make it more clear what's
being used by the function.
/external/vulkan-validation-layers/loader/loader.c
6175e4b1345723e8c30c4dc4e29d4e22bb907cd3 30-Nov-2015 Courtney Goeltzenleuchter <courtneygo@google.com> debug_report: Add DebugReportMessage function
/external/vulkan-validation-layers/loader/loader.c
f6a6e223b7ca92b5e3c8b05331b500ab8f01116a 30-Nov-2015 Courtney Goeltzenleuchter <courtneygo@google.com> debug_report: rename and update to use CreateInfo
/external/vulkan-validation-layers/loader/loader.c
f8fe1288185e8721a9c2da2143259fad4c77eda1 25-Nov-2015 Courtney Goeltzenleuchter <courtneygo@google.com> layers: Rename DebugReport flags

Conflicts:
layers/mem_tracker.cpp

Conflicts:
layers/draw_state.cpp
/external/vulkan-validation-layers/loader/loader.c
ed158d1fb6eb92b0fc23cd7fe3be1bc9c3c0ae89 14-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Fix physical device cast for enumerate properties trampoline code

Enumerate layer and extension properties don't always call down chain
so can't just cast physical device to the loader struct. Must search for it
in cases where a layer wrapped it.
/external/vulkan-validation-layers/loader/loader.c
b3e934dd44eaf3fb9c74c1789e8d7ac71918a8b6 11-Dec-2015 Mark Lobodzinski <mark@lunarg.com> wsi: Make WSI cases more consistent, fail if not set correctly

Filled in build details for Mir, Wayland, etc.
/external/vulkan-validation-layers/loader/loader.c
bbad5a698bf2945e84928d46020f087dab47f80e 11-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Fix bug where dynamic dispatch for layer dev exts needs to come later

GetDeviceProcAddr dynamic dispatch init was happening too soon before layer
device extension was enabled. Fix it.
/external/vulkan-validation-layers/loader/loader.c
ba1f24eceea9f482f6ec45c71ddf3dd9a13169dd 11-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: In CreateDevice trampoline code allow wrapped PhysicalDevice objects

It was assuming object was not wrapped. Now look up object in instance structure
based on dispatch table pointer.
/external/vulkan-validation-layers/loader/loader.c
c21f5addabe22da8bd5e8f48485b6633c9e1e8cb 10-Dec-2015 Michael Worcester <michael.worcester@imgtec.com> Add an 'all' debug flag
/external/vulkan-validation-layers/loader/loader.c
738136f378fb25efff355e4676fc94e451ee14d9 11-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Add support for device extension entrypoints in layer JSON files

Bugzilla #15012
/external/vulkan-validation-layers/loader/loader.c
8f6be3076a34d15397a4081c22fdbc231caa7dd4 10-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Convert ext list helper functions to generic form

This allows future changes where the device and instance ext lists are different
types.
/external/vulkan-validation-layers/loader/loader.c
809d5d3fb2d5138ed2c445ac9b0e894872968d33 04-Dec-2015 Tony Barbour <tony@LunarG.com> Make sure all createInfo is used creating instance
/external/vulkan-validation-layers/loader/loader.c
fc8f38d926482942fdb9ecb6e76c899e45919392 02-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Fix layer library_path bug
/external/vulkan-validation-layers/loader/loader.c
2818eb77b6b551de956814c0b0c6b141dff3a69a 01-Dec-2015 Jon Ashburn <jon@lunarg.com> loader: Add initialization of loader dispatch table for wsi device extensions

Since we had trampoline code for these, layers were getting skipped when called
thru the trampoline code.
/external/vulkan-validation-layers/loader/loader.c
25a158f77871ae1dfe123b8c1507168a2fc236ca 26-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Add terminator functions for Create*SurfaceKHR functions

These need to call down the chain for layer intercept.

Also remove DestroySurfaceKHR from ICD table.
/external/vulkan-validation-layers/loader/loader.c
7b9f782fbaa7dca37270940334bccae51bdff3d5 25-Nov-2015 Ian Elliott <ianelliott@google.com> loader: Convert vkDestroySurfaceKHR() to have a terminator.
/external/vulkan-validation-layers/loader/loader.c
28214d93ba1f53f4c229370afd8a5bd667273dea 25-Nov-2015 Mark Lobodzinski <mark@lunarg.com> wsi: Moved definition of CreateXxxSurface extension to CMakefile

Removed component-specific definitions
/external/vulkan-validation-layers/loader/loader.c
4e309e90a9c495a4c89795df3dedfa9b7df7fca4 24-Nov-2015 Ian Elliott <ianelliott@google.com> loader: Add vkGetPhysicalDevice*PresentationSupportKHR()

These queries involve trampoline and terminator functions (the latter
of which calls the ICD's function).
/external/vulkan-validation-layers/loader/loader.c
40c4a1faa1d4b768b7ea145adbdde2d49bd8d515 23-Nov-2015 Ian Elliott <ianelliott@google.com> loader: Address Jon Ashburn's review comments.

It took a few commits (squashed down into 1) to get it correct. Includes:

Use loader_heap_{alloc|free}().

Try to deal correctly with initializing the vkCreate*SurfaceKHR()'s.
/external/vulkan-validation-layers/loader/loader.c
8cda180a628734cd8262772b5b447592426b4360 20-Nov-2015 Ian Elliott <ianelliott@google.com> loader: Add new vkGetPhysicalDeviceSurface*KHR() functions.

- vkGetPhysicalDeviceSurfaceCapabilitiesKHR()
- vkGetPhysicalDeviceSurfaceFormatsKHR()
- vkGetPhysicalDeviceSurfacePresentModesKHR()
/external/vulkan-validation-layers/loader/loader.c
a81e8ac0c34d96ed4e81c95f108e80c3e97bd9f9 30-Oct-2015 Ian Elliott <ian@lunarg.com> loader: Started porting loader to new WSI (GIPA missing).
/external/vulkan-validation-layers/loader/loader.c
dbf8cee7b6647f7795d02b6ae2ff3727797b1757 19-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Don't use ICD's VkDevice after it has been destroyed

LX # 201

Conflicts:
loader/trampoline.c
/external/vulkan-validation-layers/loader/loader.c
2869bc713b473ae7ca6cf755692da9eeb0b913ff 19-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Don't init icds if CreateInstance() from ICD fails.
/external/vulkan-validation-layers/loader/loader.c
44fe0069d8bfa361cd8d34954cf16366aaac4d5d 19-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Make version in layer JSON files consistent
bugzilla #15057 part two
/external/vulkan-validation-layers/loader/loader.c
0083b22fa3e56197daa5687cfeb03bc6bcb9066b 18-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Add parsing of api_version in ICD JSON

bugzilla #15057 part one

Also make this version for Intel sample driver be v210.
/external/vulkan-validation-layers/loader/loader.c
429e19f6db395429cd2fe1a82f7a5df05e534dd1 17-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Add dynamic dispatch for unknown device extension entrypoints

GetInstancePorcAddr() is specified to return trampoline entrypoints for all
Vulkan core and extension entrypoints that are dispatched on an instance object
or a child of that instance object. However, typically, device extensions would
be unknown to the loader (don't want to rev the loader everytime an IHV creates
a new device extension).

This patch allows loader to dynamically discover device extension entrypoints
and configure generic trampoline code for these discovered device extensions.
/external/vulkan-validation-layers/loader/loader.c
b1f6f6dc5f7d343cd7c23ea9a8022bbae9df48c7 06-Nov-2015 Piers Daniell <pdaniell@nvidia.com> Reset the "access_flags" for each loop iteration

Without out this fix the access_flags will have KEY_WOW64_32KEY set for
all iterations except the first one.
/external/vulkan-validation-layers/loader/loader.c
045654f003fa47a4a15cba6709222c75b5e72e41 05-Nov-2015 Chia-I Wu <olv@lunarg.com> bug 15085: queue creation naming issues

Manually rename arraySize and

s/queuePriorityCount/queueCount/g
s/requestedQueueCount/queueCreateInfoCount/g
s/pRequestedQueues/pQueueCreateInfos/g

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15085

Conflicts:
layers/draw_state.cpp
/external/vulkan-validation-layers/loader/loader.c
af9e4fd72c31e1080cadc3d6baa16b669af8e913 05-Nov-2015 Chia-I Wu <olv@lunarg.com> bug 15068: Use hardfp calling convention on Android for 32-bit ARM targets

Update python scripts.

s/(VKAPI \*/(VKAPI_PTR */g
s/void VKAPI\b/VKAPI_ATTR void VKAPI_CALL/g
s/VkResult VKAPI\b/VKAPI_ATTR VkResult VKAPI_CALL/g
s/PFN_vkVoidFunction VKAPI\b/VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL/g
s/void\* VKAPI\b/VKAPI_ATTR void* VKAPI_CALL/g

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15068
/external/vulkan-validation-layers/loader/loader.c
42d509c61555720631361c4f3c2c3ad7e1daca18 06-Nov-2015 David Pinedo <david@lunarg.com> Merge branch 'david_include_change_20151106'

Move header files to include/vulkan
994560074f43babedf590909b2af41aca59167ba 06-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Convert GetInstanceProcAddr and GetDeviceProcAddr over to new semantics

As per Vulkan bug 13288. Still need to handle device extensions correctly.
/external/vulkan-validation-layers/loader/loader.c
329ca9eb16cdbee7a7644fb08ade7b3d3bb32e23 06-Nov-2015 David Pinedo <david@lunarg.com> Moved header files from include to include/vulkan
/external/vulkan-validation-layers/loader/loader.c
96cd795bb585711057cd90d37a2251419384c937 30-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> misc: Update author information

Author information was added to any file
with the standard license text.
Authors were added that added/changed >= 3%
of the lines of a file.
/external/vulkan-validation-layers/loader/loader.c
8a17da586c0f31c72aefe229449d55ea18682be9 29-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> misc: switch copyright to Valve
/external/vulkan-validation-layers/loader/loader.c
50c57efd215d2bc06616b7707d460c7a1b8b7774 29-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> misc: Remove Vulkan name from Copyright
/external/vulkan-validation-layers/loader/loader.c
5202c54bd0212e17a51d6183e9a7ecd9517f233c 30-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 15045: vkGetPhysicalDeviceImageFormatProperties for unsupported formats (WIP)

Change the return type of vkGetPhysicalDeviceImageFormatProperties.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15045
/external/vulkan-validation-layers/loader/loader.c
3138d6a7fafb314644a22a854267258769c6d6a0 30-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14537: vkGetPhysicalDeviceImageFormatProperties doesn't express all limitations (WIP)

Use VkSampleCountFlagBits exclusively. Note that it can be casted to integer.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14537
/external/vulkan-validation-layers/loader/loader.c
5eca31fa20d1a7071e15d34e6b4e2869e744cb0e 30-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 12921 part 2: Memory callback (WIP)

Minor cleanups.

s/VK_SYSTEM_ALLOCATION_SCOPE_FUNCTION/VK_SYSTEM_ALLOCATION_SCOPE_COMMAND/g

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=12921
/external/vulkan-validation-layers/loader/loader.c
a8ca5c48aec2b040817dc24dcfb502d57cc4be49 03-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Resource cleanup on loaer_init_physical_device_info()
/external/vulkan-validation-layers/loader/loader.c
db5a5bcf8772a24af1c650cee13954471479f657 03-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Call down chain for vkEnumerateDeviceExtensionProperties

This allows layers to filter device extensions.
/external/vulkan-validation-layers/loader/loader.c
251258fe0eae626bb870b79715fef12209f2365f 01-Nov-2015 Jon Ashburn <jon@lunarg.com> loader: Create a VkPhysicalDevice object rather than using ICDs

This allows loader to keep some data with PhysicalDevice object needed for
looking up things.
Allows removal of loader_get_icd() which aliased VkPhysicalDevices erroneously.
Also allows removal of the fixed size array of device extensions.
/external/vulkan-validation-layers/loader/loader.c
bed84551f742de9efff0bf551cb0e9a16d55fa43 03-Nov-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Fix Windows build
/external/vulkan-validation-layers/loader/loader.c
1f85191a3a8479194ecb7b937aee284cf80cf08f 27-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14921 part 1: sed renames

Workaround header bug (ALLOC_INFO vs AllocateInfo) in vk_helper.py. This
affects the debug extensions as well.

s/NONDISP/NON_DISPATCHABLE/g
s/CmdBuffer/CommandBuffer/g
s/cmdBuffer/commandBuffer/g
s/CMD_BUFFER/COMMAND_BUFFER/g
s/AllocMemory/AllocateMemory/g
s/AllocDescriptorSets/AllocateDescriptorSets/g
s/AllocCommandBuffers/AllocateCommandBuffers/g
s/VkAllocCallbacks/VkAllocationCallbacks/g
s/VkSystemAllocScope/VkSystemAllocationScope/g
s/allocScope/allocationScope/g
s/allocType/allocationType/g
s/pfnAlloc\b/pfnAllocation/g
s/pfnRealloc\b/pfnReallocation/g
s/VK_SYSTEM_ALLOC_/VK_SYSTEM_ALLOCATION_/g
s/extName/extensionName/g
s/implVersion/implementationVersion/g
s/pAppInfo/pApplicationInfo/g
s/pMem\b/pMemory/g
s/VkMemoryAllocInfo/VkMemoryAllocateInfo/g
s/VkDescriptorSetAllocInfo/VkDescriptorSetAllocateInfo/g
s/CmdPool/CommandPool/g
s/cmdPool/commandPool/g
s/CMD_POOL/COMMAND_POOL/g
s/VkCommandBufferAllocInfo/VkCommandBufferAllocateInfo/g
s/maxTessellationGenLevel/maxTessellationGenerationLevel/g
s/maxFragmentDualSourceAttachments/maxFragmentDualSrcAttachments/g
s/destSubpass/dstSubpass/g
s/destStageMask/dstStageMask/g
s/dualSourceBlend/dualSrcBlend/g
s/destBlendColor/dstBlendColor/g
s/destBlendAlpha/dstBlendAlpha/g
s/VK_FORMAT_NUM/VK_FORMAT_RANGE_SIZE/g
s/VK_DYNAMIC_STATE_NUM/VK_DYNAMIC_STATE_RANGE_SIZE/g
s/pAppName/pApplicationName/g
s/appVersion/applicationVersion/g
s/numLevels/levelCount/g
s/numLayers/layerCount/g
s/destOffset/dstOffset/g
s/destSubresource/dstSubresource/g
s/VK_IMAGE_LAYOUT_TRANSFER_SOURCE_OPTIMAL/VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL/g
s/VK_IMAGE_LAYOUT_TRANSFER_DESTINATION_OPTIMAL/VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL/g
s/VK_IMAGE_USAGE_TRANSFER_SOURCE_BIT/VK_IMAGE_USAGE_TRANSFER_SRC_BIT/g
s/VK_IMAGE_USAGE_TRANSFER_DESTINATION_BIT/VK_IMAGE_USAGE_TRANSFER_DST_BIT/g
s/destBuffer/dstBuffer/g
s/destQueueFamilyIndex/dstQueueFamilyIndex/g
s/destSet/dstSet/g
s/destBinding/dstBinding/g
s/destArrayElement/dstArrayElement/g
s/VK_BLEND_DEST_COLOR/VK_BLEND_DST_COLOR/g
s/VK_BLEND_ONE_MINUS_DEST_COLOR/VK_BLEND_ONE_MINUS_DST_COLOR/g
s/VK_BLEND_DEST_ALPHA/VK_BLEND_DST_ALPHA/g
s/VK_BLEND_ONE_MINUS_DEST_ALPHA/VK_BLEND_ONE_MINUS_DST_ALPHA/g
s/VK_FORMAT_FEATURE_BLIT_SOURCE_BIT/VK_FORMAT_FEATURE_BLIT_SRC_BIT/g
s/VK_FORMAT_FEATURE_BLIT_DESTINATION_BIT/VK_FORMAT_FEATURE_BLIT_DST_BIT/g
s/VK_BUFFER_USAGE_TRANSFER_SOURCE_BIT/VK_BUFFER_USAGE_TRANSFER_SRC_BIT/g
s/VK_BUFFER_USAGE_TRANSFER_DESTINATION_BIT/VK_BUFFER_USAGE_TRANSFER_DST_BIT/g
s/VK_COMPARE_OP_LESS_EQUAL/VK_COMPARE_OP_LESS_OR_EQUAL/g
s/VK_COMPARE_OP_GREATER_EQUAL/VK_COMPARE_OP_GREATER_OR_EQUAL/g
s/VkPipelineRasterStateCreateInfo/VkPipelineRasterizationStateCreateInfo/g
s/rasterSamples/rasterizationSamples/g
s/pRasterState/pRasterizationState/g
s/VK_FRONT_FACE_CCW/VK_FRONT_FACE_COUNTER_CLOCKWISE/g
s/VK_FRONT_FACE_CW/VK_FRONT_FACE_CLOCKWISE/g
s/VK_PRIMITIVE_TOPOLOGY_LINE_LIST_ADJ/VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY/g
s/VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_ADJ/VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY/g
s/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_ADJ/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY/g
s/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_ADJ/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY/g
s/VK_STENCIL_OP_INC_CLAMP/VK_STENCIL_OP_INCREMENT_AND_CLAMP/g
s/VK_STENCIL_OP_DEC_CLAMP/VK_STENCIL_OP_DECREMENT_AND_CLAMP/g
s/VK_STENCIL_OP_INC_WRAP/VK_STENCIL_OP_INCREMENT_AND_WRAP/g
s/VK_STENCIL_OP_DEC_WRAP/VK_STENCIL_OP_DECREMENT_AND_WRAP/g
s/VK_LOGIC_OP_NOOP/VK_LOGIC_OP_NO_OP/g
s/VK_LOGIC_OP_EQUIV\b/VK_LOGIC_OP_EQUIVALENT/g
s/memBarrierCount/memoryBarrierCount/g
s/ppMemBarriers/ppMemoryBarriers/g
s/destImage/dstImage/g
s/destImageLayout/dstImageLayout/g
s/destCache/dstCache/g
s/memOffset/memoryOffset/g
s/vk_print_vkmemoryallocinfo/vk_print_vkmemoryallocateinfo/g
s/pAllocInfo/pAllocateInfo/g
s/memRangeCount/memoryRangeCount/g
s/pMemRanges/pMemoryRanges/g
s/VK_IMAGE_TYPE_NUM/VK_IMAGE_TYPE_RANGE_SIZE/g
s/VK_PIPELINE_BIND_POINT_NUM/VK_PIPELINE_BIND_POINT_RANGE_SIZE/g
s/vk_size_vkdescriptorsetallocinfo/vk_size_vkdescriptorsetallocateinfo/g
s/remap_cmdbuffers/remap_commandbuffers/g
s/remap_cmdpool/remap_commandpool/g
s/add_to_cmdbuffers_map/add_to_commandbuffers_map/g

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14921

a
/external/vulkan-validation-layers/loader/loader.c
69f40128cce0970d10aaa30ea8c6b56a7dda3f36 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 12921: Memory callback (WIP)

The per-object allocator is ignored for now.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=12921
/external/vulkan-validation-layers/loader/loader.c
763a749795bb4827efbbf19cbc87b959511496dd 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14892: 'count' parameters and members named inconsistently in many cases (WIP)

s/waitSemCount/waitSemaphoreCount/g
s/signalSemCount/signalSemaphoreCount/g
s/cmdBufferCount/commandBufferCount/g
s/queueFamilyCount/queueFamilyIndexCount/g
s/layerCount/enabledLayerNameCount/g
s/extensionCount/enabledExtensionNameCount/g

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892
/external/vulkan-validation-layers/loader/loader.c
2e13fca0cb928af806ecc0f202ba7d0510694352 30-Sep-2015 Daniel Dadap <ddadap@nvidia.com> loader: add helper for combining paths

Add a helper function to combine an arbitrary number of path elements,
separating them with the platform-specific directory separator, and
use it in places where path combining is currently achieved through
direct string manipulation.

As an additional cleanup, update loader_get_fullpath() to duplicate
the search path string internally, rather than relying on the caller
to do so. Since loader_get_fullpath() and loader_expand_path() no
longer modify input strings, and loader_expand_path() no longer
requires that the caller append the DIRECTORY_SYMBOL ahead of time,
acrobatics to duplicate strings to prevent modification and/or to add
directory separators are no longer necessary.

This change will result a behavior change on Windows: the existing
logic for loading an ICD that is specified as a bare filename, and
not as an absolute or relative path, is to search for a driver with
the given ICD name in the DEFAULT_VK_DRIVERS_PATH search path on
Linux, and to use the given ICD name as-is on Windows. This could
lead to DLL injection attack on Windows. Merge the Linux/Windows
behavior to limit the search for ICD filenames to the default search
path on Windows as well, which is also more consistent with the
behavior described in the loader spec.

Conflicts:
loader/loader.c
/external/vulkan-validation-layers/loader/loader.c
a6ce7b7c1da8dc8c350919b6f92cf22ff45df884 28-Oct-2015 Johannes van Waveren <janpaul.vanwaveren@oculus.com> use conditional compilation based on _WIN32 instead of WIN32 and __linux__
/external/vulkan-validation-layers/loader/loader.c
6853e7ed1733e6d330bfcd8ffaeb83998bd29b07 26-Oct-2015 Jon Ashburn <jon@lunarg.com> loader: Check for NULL ICD in CreateDevice

Related to lunargxchange #163
/external/vulkan-validation-layers/loader/loader.c
01d2ae18f05184e04eb29a2ab30480f8d4660d25 21-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> Bug 14621: Change vkGet* functions to not return VkResult
/external/vulkan-validation-layers/loader/loader.c
dfd53f5bd7048e3d538cb195e22e04f95a02507b 16-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14642: Rename queueRecordCount to requestedQueueCount
/external/vulkan-validation-layers/loader/loader.c
3798415bdf34767f7304f67e3d29ae4f55998703 22-Oct-2015 Jon Ashburn <jon@lunarg.com> loader: Fix heap_realloc function to return newly allocated memory

LunarXchange issue #162
/external/vulkan-validation-layers/loader/loader.c
35fa1a1296d3839361ea007b98ca270a430c4da2 10-Oct-2015 Jason Ekstrand <jason.ekstrand@intel.com> loader: Use loc instead of location for getting the directory

Without this, the VK_ICD_FILENAMES parameter ends up getting ignored
/external/vulkan-validation-layers/loader/loader.c
a2f21d02ba7872d88047f475fa52a034253e0674 07-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> layers: Fix Windows compile warnings
/external/vulkan-validation-layers/loader/loader.c
84492ee8d0033c268ba6a7e181e05e099b78f2b6 06-Oct-2015 Tobin Ehlis <tobin@lunarg.com> layers: In DeviceLimits move dispatch table to layer data struct

All instance dispatch calls are made via instance_dispatch_table in layer data struct.
All device dispatch calls are made via device_dispatch_table in the layer data struct.
This saves map look-ups as a single call can be made to get the per device/instance layer data, including the dispatch table.
/external/vulkan-validation-layers/loader/loader.c
f1e68106bc03a6d2447b561db3fde87c848f1c77 07-Oct-2015 Jon Ashburn <jon@lunarg.com> loader: Fix comile warning on Window
/external/vulkan-validation-layers/loader/loader.c
5d1b3b3143d2a5e68b6083757eb7c01e08ff4cda 06-Oct-2015 Mike Stroyan <mike@LunarG.com> loader, icd: correct use of _aligned_malloc

Memory allocated with _aligned_malloc on WIN32 should be released with _aligned_free.
If icd/common/icd-instance is ever used on WIN32 it will now use _aligned_free.

loader_aligned_heap_alloc and loader_aligned_alloc would require additional
matching loader_aligned*_free functions to be correct for WIN32.
But both functions are never used. Just remove those functions for now.
/external/vulkan-validation-layers/loader/loader.c
87c8fe900afb695053ca40da1e0009e9624ee243 05-Oct-2015 Jon Ashburn <jon@lunarg.com> loader: Add warning message for unreconized layer names from env var
/external/vulkan-validation-layers/loader/loader.c
0c5eea212afbc79a63f75ea5fab2526998a26e74 30-Sep-2015 Jon Ashburn <jon@lunarg.com> loader: Fixes in trampoline code to support layers which wrap objects

Loader trampoline code may see wrapped objects. Don't do value comparisons
of dispatchable objects but instead compare dispatch tables to find objects.
PhysicalDevice objects where may have multiple gpus with same instance dispatch
will be fixed in a later patch.
/external/vulkan-validation-layers/loader/loader.c
a73e50c77d3d65cfd583ea1e030766931be751d5 01-Oct-2015 Mike Stroyan <mike@LunarG.com> loader: fix use of freed memory

vkEnumerateInstanceExtensionProperties was using freed memory.
Avoid free of NULL pointers.
/external/vulkan-validation-layers/loader/loader.c
05b4ec611004b014bc39851c5ef6ebf300a2f8cb 01-Oct-2015 Jon Ashburn <jon@lunarg.com> loader: Fix vkGetInstanceProcAddr to handle debug_report extension

Need loader entrypoints for debug_report extension including the utility
functions. Don't call down the instance chain GPA for this extension.

Remove instance extensions decoding when GPA instance == NULL as don't want
to return extension entrypoints unless they are enabled.
This meant the WSI swapchain instance GPA was no longer used so remove it.
/external/vulkan-validation-layers/loader/loader.c
8aa75cbc41b2b5e9e5dd4742a49f279f55d1c028 29-Sep-2015 Jon Ashburn <jon@lunarg.com> loader: Change GetXXProcAddr to support NULL dispatchable object

Also change GetInstanceProcAddr to return the first entry down the chain rather
than global (trampoline entrys) all the time when a non-null instance is passed.
/external/vulkan-validation-layers/loader/loader.c
cc14987ac8a685e45748b6112a6832bb9c12cbb2 23-Sep-2015 Mark Lobodzinski <mark@lunarg.com> loader: Remove validation checks from loader.c

These checks are covered by ObjectTracker.
/external/vulkan-validation-layers/loader/loader.c
5ea338cc5ae904ca1b8d8c4b911a2f501f66ab25 17-Sep-2015 Mark Lobodzinski <mark@lunarg.com> intel: Removed ICD validation checks from dev.c
/external/vulkan-validation-layers/loader/loader.c
d02fc2c768807fe1d2013506c28a54bde54ea64a 22-Sep-2015 Jon Ashburn <jon@lunarg.com> loader: Add lock around cJSON so big loader lock is not needed as much

cJSON not thread safe. Add a lock around cJSON calls so instance
extension and layer queries don't need the big lock. This allows layers
to do queries from CreateInstance.
/external/vulkan-validation-layers/loader/loader.c
b8605fea3ccc8682fcd639d662aee34be81a9037 18-Sep-2015 Jon Ashburn <jon@lunarg.com> loader: Fix a few possibly unitialized variables
/external/vulkan-validation-layers/loader/loader.c
ac544f3737b45a5b35251100a3396aa8be397d8d 15-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14538: Remove validation error codes

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14538
/external/vulkan-validation-layers/loader/loader.c
74c4ce9c4fa101c0989a29cf918e799fa67adcec 15-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug 14509: Rename Layer and Extension queries

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14509
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/334
/external/vulkan-validation-layers/loader/loader.c
3324314339251650de0eca5e00a9ea3a71a24d72 07-Aug-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Need to init instance dispatch without layers

Application that enabled DEBUG_REPORT but did not register
any layers would get into a deadlock due to improperly
initialized instance dispatch table.
/external/vulkan-validation-layers/loader/loader.c
83c95f8a24c7785ab644c0dc2b2031d39e5a24d7 10-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug 14537: Improve VkImageFormatProperties
/external/vulkan-validation-layers/loader/loader.c
67b42b7bde3163f662452cd8ed20e0b69e1afa4f 07-Sep-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: Change return types of some functions to void

Functions that should be thought of as "impossible to fail in the face
of valid parameters" have had their return types changed to void.
This includes all of the vkDestroy functions, vkFreeMemory, and vkUnmapMemory.
vkUpdateDescriptorSets is also included, because of the frequency the function
is expected to be called.
/external/vulkan-validation-layers/loader/loader.c
a54b76ab3b7602bd4e7ff4ab9aaca77d388ed58e 04-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14538: Remove driver validation checks

Marked validation checks done in the driver with
TODOVV. Once we verify the check is covered in a
validation layer we can remove the driver code.
/external/vulkan-validation-layers/loader/loader.c
2db08044d7d9b09898395f53f053ba07c84cbe67 09-Sep-2015 Jon Ashburn <jon@lunarg.com> loader: Use GetProcAddr function names from layer manifest file

No longer assume vkGetInstanceProcAddr or <layerName>GetInstanceProcAddr to find
layer's instance GetProcAddrs. And similiar for device ProcAddr. Instead use
any value specified in manifest file. If none specified in manifest file then
assume vkGetInstanceProcAddr or vkGetDeviceProcAddr.
/external/vulkan-validation-layers/loader/loader.c
7dae6868682383bb8370d45784cbc94f357e745b 07-Sep-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: Refactoring physical device sparse properties and limits, bug# 13139

Part of changes for header revision V161.
/external/vulkan-validation-layers/loader/loader.c
6fb9a531b82cc9e3c603486f70ef9f60e617c3aa 28-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Fix Windows build for alloc stuff
/external/vulkan-validation-layers/loader/loader.c
413d6587475294985134aa1f9052abd697b7a4e5 28-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: make thirdparty code use allocation callbacks

Use TLS to keep instance pointer and use this for cJSON alloc/free
callback.
/external/vulkan-validation-layers/loader/loader.c
e58f1a382f472101f92b7aca05ac28e972736a53 28-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Make use of app provided allocation callbacks

Convert all heap allocs/frees to use loader_heap_alloc() or loader_heap_free().
Before CreateInstance this will use malloc/free. At (and after) CreateInstance
alloc callbacks are stored and used for any allocations.

Exceptions are thirdparty code (cJSON and dirent_on_windows) still always use
malloc/free. Plan to address these in later patch if ti makes sense.
/external/vulkan-validation-layers/loader/loader.c
e5e60dfebb9fd618f93006da696c63cbf4c44e24 27-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Add support for realloc using the app allocation callbacks.
/external/vulkan-validation-layers/loader/loader.c
e5c4872e6a045563c513d41922278d460f20b1c1 27-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: convert to using loader_stack_alloc for consistency
/external/vulkan-validation-layers/loader/loader.c
338dedb8c82676fded0ab72e32d029292875ce71 21-Aug-2015 Ian Elliott <ian@lunarg.com> WSI: Convert WSI swapchain extension usage to new KHR style
/external/vulkan-validation-layers/loader/loader.c
a01fb3e92c794a6359e8c4bd8b835eb05ad67241 27-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Fix SegFault if ICD JSON file doesn't exist to return gracefully
/external/vulkan-validation-layers/loader/loader.c
10442c1f0417f4a2458c959fcf2e4706f5013771 26-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Add support for relative pathnames in the ICD manifest file lib_path
/external/vulkan-validation-layers/loader/loader.c
e9ca8fa4307a8ccf6f40f6afa142b2172ac8d92f 21-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Make so layer manifest files are retained at CreateInstance

layer manifest files were rescanned after CreateInstance as needed for
CreateDevice and GetPhysicalDeviceXXXProperties. Now stored the device
and instance layer list in instance object.

Also fix mem leak of extension list in some cases.
Also fix bug where deep copy of instance to device layer properties was
not being done. Only a shallow copy was being done.
Also remove the lib_info struct from layer properties structure as only the
lib name field was being used. Other layer library info is stored in the
layer_library_list once the layer libraries are opened.
/external/vulkan-validation-layers/loader/loader.c
754f199e55a04ef2fcc0d3c41d565ec6ff48699d 19-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Make the ICD library scan happen as needed rather than once

Add a one time loader init routine also since this was done by ICD scan.
Add icd library struct to instance object.
/external/vulkan-validation-layers/loader/loader.c
fc01b5fc453916f46bb93f52d977deecf9e3611f 14-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Remove the device_extension list from from scanned icds, unused
/external/vulkan-validation-layers/loader/loader.c
85f98075c0bc984caec9c07dd4930f3431dd9a68 14-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Remove the global extension list from scanned_icds struct

This list is regenerated as needed and stored in the instance object.
/external/vulkan-validation-layers/loader/loader.c
cfe4e68cf6fa284ff685e479432189576f482d60 14-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Make the global/instance ext list once for each instance

Also fix some bugs in the heap_alloc/heap_free.
Also fix some memory leaks.
/external/vulkan-validation-layers/loader/loader.c
c1d1eb7da05182997d4e81c5e64e36f11dd3f284 14-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Remove global instance extension list and rebuild it as needed

This will be necessary once ICDs are rescanned at CreateInstance and prior.
/external/vulkan-validation-layers/loader/loader.c
fab6ee2a0164e4a828016848a70a281ba5866531 13-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Fix bug in heap_free function to not do double free
/external/vulkan-validation-layers/loader/loader.c
082569b4ea787fafddff980e66a6b04c65e7e977 13-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Handle multiple layers descriptions per manifest file
/external/vulkan-validation-layers/loader/loader.c
182b83038164c1512fddf9b6b44d78d801b60380 11-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Remove one time scan of layer libraries; do it as needed

Everytime get a Vulkan API call which needs layer library info rescan
all layer manifest files to get the info. This way if they change the list will
be updated.
/external/vulkan-validation-layers/loader/loader.c
ef72e2a7cf4fa5708fdbfbc1c972a24ad0dbf809 04-Aug-2015 Cody Northrop <cody@lunarg.com> v140: Bug 14251 - Inconsistencies in the definition of queries
/external/vulkan-validation-layers/loader/loader.c
c4748dc128c1449212884a15f67faeb616fd1f3b 04-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Remove extension origin and use Vulkan ext prop structure

Origin was set but unused. This allowed tghe loader_extension_property
structure to be reduced down to the VkExtensionProperties.
/external/vulkan-validation-layers/loader/loader.c
0b7280538252fca443b3c80016617506c0e5b052 04-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Make sure layer list from manifest file is all cleaned up properly
/external/vulkan-validation-layers/loader/loader.c
8e4fab4ad8e8df9ca8046671c9407bed90e67887 04-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Add accessor functions to add/delete from layer property lists.

Use these to handle building and destroying instance and device layer property
lists.
/external/vulkan-validation-layers/loader/loader.c
4b7f35fc3bb104e0607102798b4e3cff9990ade3 03-Aug-2015 Jon Ashburn <jon@lunarg.com> loader: Convert layer versions from manifest file to Vulkan int version
/external/vulkan-validation-layers/loader/loader.c
2b77916d05d6783f0e6933675454ceba043c3e1c 31-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Allow null string for CMAKE_INSTALL_PREFIX to prevent extra paths

NULL string was making loader search extra local paths such as /share/...
Also expand log buffer .
/external/vulkan-validation-layers/loader/loader.c
cdc9f0ac942a73130084f3f921e6f069c94e4496 31-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Fix alloca ro loader_stack_alloc() for Windows
/external/vulkan-validation-layers/loader/loader.c
76096e6764d643fb903ad6da16a17210c5960e75 29-Jul-2015 Tony Barbour <tony@LunarG.com> loader: get_registry_files needs to parse a list
/external/vulkan-validation-layers/loader/loader.c
893f28719e2209c2c03b3f91d6a6745a9fd32fee 29-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> xchange-94: Use VK_ prefix for environment vars

Use the Vulkan namespace (VK_ prefix) on debug environment
variables used in the loader and the Intel sample driver.
This resolves LunarXchange bug #94.
https://vulkan.lunarg.com/app/issues/55b76baa7ef24d0001000072
/external/vulkan-validation-layers/loader/loader.c
c1381edbe1e801322b293b53362f22261f58075f 31-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Fix bug in Windows for mod a static string DEFAULT_VK_LAYERS_INFO
/external/vulkan-validation-layers/loader/loader.c
6ff63e42209070ec7798135999ec9f1222be9a5d 31-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: fix typo in log message
/external/vulkan-validation-layers/loader/loader.c
f2a6ec4ddc9951431331ff81e504aa549b0cb597 24-Jul-2015 Liam Middlebrook <lmiddlebrook@nvidia.com> Added ICD loading path debug messages

Reviewed-by: James Jones <jajones@nvidia.com>
/external/vulkan-validation-layers/loader/loader.c
4e189562f7213725ba2557bf94b060c5d50f5c2a 24-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Add missing entrypoints CmdPushConstants, GetRenderArea, GetPDImgFormat

Also fix several other missing entrypoints from dispatch table related functions.
Also reorder some of these functions to better match header list order so
can more easily spot missing entry points.
/external/vulkan-validation-layers/loader/loader.c
f99e410907e8b75ea09ecb2c90c2a093171efa6f 23-Jul-2015 Dan Ginsburg <dang@valvesoftware.com> Fix win32 build
/external/vulkan-validation-layers/loader/loader.c
632564c044762779d8f8049f8cf0960dbed8d341 22-Jul-2015 mschott <mschott@nvidia.com> loader_log: add OutputDebugString("\n");
/external/vulkan-validation-layers/loader/loader.c
0bf6a185852c66a8ec022db1ee0c75fa78a0c1e3 17-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Switch to using layer manifest file info for layer extension info

Remove the direct queries for the layer extensions and properties.
/external/vulkan-validation-layers/loader/loader.c
518086f532e077be69069088c769778669234d3e 16-Jul-2015 Jon Ashburn <jon@lunarg.com> loader:Remove dead code involving layer library queries now in manifest file
/external/vulkan-validation-layers/loader/loader.c
ce7e3d9a2dcb3cd4dad74e5324d9da1c03dba451 16-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Use GetInstanceProcAddr rather than dlsym for most ICD entrypoints

Conflicts:
loader/loader.c
/external/vulkan-validation-layers/loader/loader.c
08f54e7b0e7e2fd91e148e3c7ceb76c76bca05ad 16-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: use VkDevice when initializing device table

Had ICD that actually checked the device parameter at GetProcAddr
and discovered we weren't using the device object.
/external/vulkan-validation-layers/loader/loader.c
9687cb1f25c0ffe6729203bcf1f9e1a8772bd18e 14-Jul-2015 Tony Barbour <tony@LunarG.com> Clean up warnings from release build
/external/vulkan-validation-layers/loader/loader.c
1d73e66e556d12aafd9334bb8cad971c3628c3aa 06-Jul-2015 Ian Elliott <ian@lunarg.com> loader: Changes to use new WSI swapchain extensions.

Use device extension list, not global. When validating the PhysicalDevice
extensions really need to use the device extension list not the loader's global
list.

Fix include to find aligned_alloc
/external/vulkan-validation-layers/loader/loader.c
a4c8c71cb37926b9cc4dd8e131b2ddd3f5de48d5 12-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> v127: Use PFN_vkVoidFunction for GetProcAddr
/external/vulkan-validation-layers/loader/loader.c
73a21d311a3e905b8874b08ca6a54a2a5931b240 12-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> v133: eliminate version from extension properties
/external/vulkan-validation-layers/loader/loader.c
4da96aafe97eada8c0ab939dd8a8e94760b35649 12-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> v115: remove GetPhysicalDevicePerformance
/external/vulkan-validation-layers/loader/loader.c
1d4c50fae9095a2cb0cfdc40a0fb78e8baf1c28a 09-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> vulkan: Updates to match upstream vulkan.h
/external/vulkan-validation-layers/loader/loader.c
f02f9f8606b4b6b1604f7efd62ec5fc5bd6dfef8 10-Jul-2015 Cody Northrop <cody@lunarg.com> icd: Support for command pools
/external/vulkan-validation-layers/loader/loader.c
e900517ff7b2ae6c2b61f053bb5cc62661722fbf 11-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Fix MS compile warning
/external/vulkan-validation-layers/loader/loader.c
de4124da4233d201bf1d7326acf0e8bf53d5bee5 03-Jul-2015 Tony Barbour <tony@LunarG.com> Bug 14084 - Improve type safety and remove polymorphism
/external/vulkan-validation-layers/loader/loader.c
cbb941bd4e6cfd5bee0041097af8a9f085feb50c 10-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Exit loop as soon as we know the answer
/external/vulkan-validation-layers/loader/loader.c
d2775f7f9edf1ef4dd283122323b5d69b7f61db3 09-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: use device extension list, not global

When validating the PhysicalDevice extensions really
need to use the device extension list not the loader's
global list.
/external/vulkan-validation-layers/loader/loader.c
d9a9d1abf2d06c6c8b241cdc5dc8f6470f4bcbdb 09-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Fix bug where layer default system path string needed to be copied

Resulted in segfault.
/external/vulkan-validation-layers/loader/loader.c
83d4e6a42c5757e08a950027ebf00edf8d59c67a 03-Jul-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V136 -- Vulkan Sparse Resource Issues

Totally reworked sparse resources. This commit also incorporates the
changes for bug 14237.
/external/vulkan-validation-layers/loader/loader.c
62ac1c5389a2f0a04f01b0f48cffab55bf5a3ae2 09-Jul-2015 Cody Northrop <cody@lunarg.com> loader: Build fixes for Windows
/external/vulkan-validation-layers/loader/loader.c
38144505193e28a7a944df720842c777b3027985 07-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Handle relative and filename paths in the layer manifest files
/external/vulkan-validation-layers/loader/loader.c
f2ddb73a13ab9bf6e16d08d7fb42e9413017121e 07-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Fix so device layers to enable are from global list of type device
/external/vulkan-validation-layers/loader/loader.c
1b111de2ea9550fc93c6c1a657ca515d9d338034 06-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Use layer manifest files to discovery and query layers

Conflicts:
layers/CMakeLists.txt
loader/loader.c
/external/vulkan-validation-layers/loader/loader.c
aa9faabf424b2f6e480eb4fc972080973a432239 07-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: early exit if nothing to do.
/external/vulkan-validation-layers/loader/loader.c
70db78736fb002220508fbc8aa79116cd97dc6fe 07-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: collect layer properties regardless of extension

Do not terminate the collection of layer properties from
a layer that does not define vkGetPhysicalDeviceExtensionProperties.
/external/vulkan-validation-layers/loader/loader.c
91371ffa4a5989dd04f1c99b6128ef3bc40e8522 07-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Filter extensions for ICD's CreateDevice
/external/vulkan-validation-layers/loader/loader.c
a17697f964118a6cc1129302bd23120f716f8d46 07-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Add validation checks to CreateDevice
/external/vulkan-validation-layers/loader/loader.c
5d9f29bea1609bd769a840c5f37bd26db8689e98 07-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Validate global layers requested by app
/external/vulkan-validation-layers/loader/loader.c
ab27f46f45ba912667284a1619f717961f002b44 07-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Filter extension list sent to ICD

The loader needs to filter the ppEnabledExtensionNames list
to only those supported by the ICD to prevent false failures.
(i.e. extensions bound for layers rather than the ICD.)
/external/vulkan-validation-layers/loader/loader.c
e74e5659e4d2b5c9dc384720f888ae600d783def 06-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> TODO: Add reminder for new code
/external/vulkan-validation-layers/loader/loader.c
1fcceeb61e44aaee3ded5b36fd1cdf893d7f9ae4 06-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Add error return to detect invalid layers

The code already checks that a named layer can be
found on the system, but that result was not being
returned to the caller. That is now plumbed so that
CreateInstance and CreateDevice can return an
VK_ERROR_INVALID_LAYER if a named layer cannot be
found.
/external/vulkan-validation-layers/loader/loader.c
0248b997760a17c2d9f9dc6074caa552cec00b98 06-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Use stack allocation for temp storage
/external/vulkan-validation-layers/loader/loader.c
1c22b71c8800009b8d58a6f4dfffc1cd216f085d 06-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: remove redundant log message
/external/vulkan-validation-layers/loader/loader.c
c5cf7d7adee3b54281ec1dfbb844d2de678d0261 05-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: track layer library list

It's possible for a layer library to support multiple
layer's (VkLayerProperties). Need to keep track of the
layer libraries separately from the layer properties.
This patch adds a layer library list to do that.
/external/vulkan-validation-layers/loader/loader.c
b620ace53373bb2803db70005dee39be9c184f06 05-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Save app allocation callbacks

Add host memory allocation functions that the
loader can use. Add comments of where these
allocation calls should go. Need to plumb the
instance pointer to some functions to support this.
/external/vulkan-validation-layers/loader/loader.c
18061cdee54b19cd628178d2924a7a914c62a10b 29-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: bug 12992: extension and layer support

Much of layers and loader updated to work with
final extension and layer mechanism.
Not everything is working here.
/external/vulkan-validation-layers/loader/loader.c
535bd00968e86ef2c32495566b7b61400c2aad7d 03-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Add implicit layer activation
/external/vulkan-validation-layers/loader/loader.c
a2e6efe57f9ee6eb53c581354d0a9481cbfe7826 02-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Split the instance and device layer enablement env vars into 2

Rename them VK_INSTANCE_LAYERS and VK_DEVICE_LAYERS. Also remove some
unused stuff like getting layer enablement from registry and layer enablement
names are as filenames.
/external/vulkan-validation-layers/loader/loader.c
60378418d07d6aca684766c1cc5c3159fdf61ce5 02-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Remove the merged enabled_extension list in device and instance structs

Instead layer stuff can just directly use the activate_layers_list rather
than having an intermediate list.
This simplifies the code and prepares for adding implicit layers directly.
/external/vulkan-validation-layers/loader/loader.c
c5662f6e27c0c8cbf0c17adefb9d09501852256e 02-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Add log warning if json manifest file doesn't end in .json
/external/vulkan-validation-layers/loader/loader.c
68a6392d4eb28da9c9337ae68684c4558ff9645c 02-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Make a layer properties structure for manifest file.

Make the scanned layer list use this layer properties structure.
Make the list dynamically sized so can get rid of the current static array
and it's limited fix size.
/external/vulkan-validation-layers/loader/loader.c
7a51d9001436476d50118230d5b2a4ebcc929b79 03-Jul-2015 Tobin Ehlis <tobin@lunarg.com> loader: Rename loader_platform.h -> vk_loader_platform.h
/external/vulkan-validation-layers/loader/loader.c
2d1d970ee5517436a87be5159ded60d9d18c089c 03-Jul-2015 Tobin Ehlis <tobin@lunarg.com> include: Rename vkLayer.h -> vk_layer.h and vkIcd.h -> vk_icd.h
/external/vulkan-validation-layers/loader/loader.c
622ca2f174976cc0f8aed0932348eeebe4479e0b 01-Jul-2015 Jon Ashburn <jon@lunarg.com> loader: Remove uneeded ICD and layers scanned boolean

Artifact of when layers and ICDs weren't scanned initially.
/external/vulkan-validation-layers/loader/loader.c
ee33ae76592350b8500b2a31ed83f92e819b1746 30-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Support gettting JSON ICD manifest files from registry

Windows now supports the JSON manifest file for ICDs
/external/vulkan-validation-layers/loader/loader.c
ffd5d6743859cd7f0c2a830a19808e4447cce1e0 29-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Add parsing of JSON file to find location of ICD libraries

Works on Linux not yet on Windows.
/external/vulkan-validation-layers/loader/loader.c
e76db425fc640d27a58d154ffed57bd56a1dc594 30-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Need to use ICD's GetDeviceProcAddr

The loader_GetDeviceProcAddr is the terminator
for the CreateDevice chain. It needs to call the ICD's
GetDeviceProcAddr to get the correct function pointer
not the object's current dispatch table that points
at the beginning of the chain.
Saw issue when running cube with only DRAW_STATE layer
enabled.
/external/vulkan-validation-layers/loader/loader.c
be637992d8dcf95675f46e32fa8a4da83c5fde4f 26-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Move CreateDevice to device table

Discovered an issue where a layer was doing cleanup
in it's DestroyDevice function but the CreateDevice
was never called.
This happened because the extension was only enabled
on the device chain and the device chain doesn't actually
call CreateDevice. That happens on the Instance chain.
Making it so that we can call down the device chain -
which is terminated by the ICD.
We need to know the real device object to construct the
device chain heiarchy and when calling down the device
chain it should end with the ICD doing the actual device
object creation.

This patch fixes the issue by using the
same process as CreateInstance. The loader will call
the ICD's CreateDevice and pass that in the *pDevice
argument. The layers then ignore the PhysicalDevice parameter
and use the *pDevice to access the device chain.
To prevent the ICD from being called twice needed to
stub in a special loader_GetDeviceChainProcAddr to provide
a stub for only CreateDevice as the end of the chain.

integrate review feedback.
/external/vulkan-validation-layers/loader/loader.c
a34c6347e370c08e6ec7752cb25dfd4afbf8394a 26-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Need to search device extension cache

Code was searching global extension cache for
extensions enabled at CreateDevice time. List are similar
but not identical and cause vulkaninfo to hit a segfault.
/external/vulkan-validation-layers/loader/loader.c
296bf840fa12314a7bccd1b552063523c0e93df1 26-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Add debug info
/external/vulkan-validation-layers/loader/loader.c
426b90566abae5716741aade41184dc4dafe4aa4 25-Jun-2015 Tony Barbour <tony@LunarG.com> vulkan.h: V108 -- Static Types, Bug# 13919
/external/vulkan-validation-layers/loader/loader.c
9a4f38cb6a6fbcbac91d64eeee9d64199b79685c 23-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Use loader_GetInstanceProcAddr

By using the vkGetInstanceProcAddr function in the loader's
instance dispatch table we will trace that function
during initialization of layers. Don't want to do that so
call loader internal function.
/external/vulkan-validation-layers/loader/loader.c
d757630a88456aa57e5699f42d96896f17d2f624 21-Jun-2015 Chris Forbes <chrisf@ijw.co.nz> vulkan.h: Remove vkGetFormatInfo, add features/limits (#12827, v125)

NOTES:

1/ Some layers impact from vkGetFormatInfo ->
vkGetPhysicalDeviceFormatInfo; some checks are currently disabled in
ParamChecker pending discussion on the best way to do this. Similar
checks in Image layer implemented via additional layer_data member
to link back from VkDevice -> VkPhysicalDevice.

2/ VkPhysicalDeviceFeatures, VkPhysicalDeviceLimits members all zero
for now; also some further churn to be done to the contents of these
structures.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
/external/vulkan-validation-layers/loader/loader.c
b25c9b9d8b1feba97169383a09bafd3bd57d402b 19-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug 13038: Remove support for multiple GPUs

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=13038
/external/vulkan-validation-layers/loader/loader.c
0fab78bd34481c78cc0b2bbdc552150e0845369d 24-Jun-2015 David Pinedo <david@lunarg.com> loader: Add {}'s so that loader compilers on Windows
/external/vulkan-validation-layers/loader/loader.c
4ebc09625935f63963616530a032d850369dedc6 18-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Remove support for WSI as an instance extension

WSI is now a device extension so remove loader support
/external/vulkan-validation-layers/loader/loader.c
ba4a1953733a1b26848fc8b6c75ef4eeede40ed0 16-Jun-2015 Jon Ashburn <jon@lunarg.com> misc: Remove GetDisplayInfoWSI()

This entry point was a challenge for loader to handle correctly. Since it is
going away in the new WSI proposal remove it in all components.
/external/vulkan-validation-layers/loader/loader.c
16a16d681023ae92d550a7272addae511a93da1a 16-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Fix memory free bug in destroying icd from DestroyInstance
/external/vulkan-validation-layers/loader/loader.c
6b70e3600a8a159da9c7eda1f98830c0b1636541 15-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Grab next before destroying the data
/external/vulkan-validation-layers/loader/loader.c
60699263425a65d45f706c7cfc55e40e43ad6e01 11-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Support multiple layers in one library by using <layerName>GetProcAddr

Get*ExtensionInfo string was being used to see if layer extensions are aliases.
Change this over to Get*ProcAddr pointer since that will be different in
libraries that have multiple layers/ICDs in them.

Conflicts:
loader/loader.c
/external/vulkan-validation-layers/loader/loader.c
612539ff6123c911a9f7b8d5cb57aa197a96e42a 10-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Remove the test for device layers activated; they follow create/destroy
/external/vulkan-validation-layers/loader/loader.c
cb5a5ac0fa251e3cd00b2cea2ef02a5e71d692da 10-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Add device struct so can destroy layer info at DestroyDevice

This also allows multiple logical devices per icd/gpu combo. Old code
conflated a icd/gpu combo with a logical device
/external/vulkan-validation-layers/loader/loader.c
926f39e0a7de1d963a96505b3af788089d677b0c 14-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Set some log messages as debug messages
/external/vulkan-validation-layers/loader/loader.c
b1cf33958f8a9bc6605c1fc430131e58d79a5573 09-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Fix device layer activation to properly filter out repeat layers
/external/vulkan-validation-layers/loader/loader.c
984e15e13152e5778155036b5655190fcaa6004d 09-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Move device dispatch table to CreateDevice from EnumeratePhysDev

For now just have a static array for these will fix this in later commit

Conflicts:
loader/loader.c
/external/vulkan-validation-layers/loader/loader.c
cc4dfcf6d9cf02e089f11674d4b3f837b2c7adf6 08-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Remove GetGlobalExtensionInfo from dispatch table

No way to reliably dispatch this entry point in layers; will not be recursive.

Conflicts:
loader/loader.c
/external/vulkan-validation-layers/loader/loader.c
5d2abff48740e994845c0a9f3aa266d878574f21 09-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Remove linefeed from log messages

The output function already puts in linefeeds.
/external/vulkan-validation-layers/loader/loader.c
558db31557ecf0bc9e8101e7aab4a477b110be59 09-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Use type flags not code for filter
/external/vulkan-validation-layers/loader/loader.c
9924ea77c17de4468b7d6b5121b072af0292ed34 09-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: clean up dead code
/external/vulkan-validation-layers/loader/loader.c
d8ec21dd2f6259e92c42bda97ebb829b3ec6239c 09-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: only search for layers
/external/vulkan-validation-layers/loader/loader.c
877aa22d8629ae74ace6c95425acafef76e7e1da 09-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: remove now unused hosted field
/external/vulkan-validation-layers/loader/loader.c
0dcd6191e52005c39d3e018769d8e61d318ba22f 04-Jun-2015 Jon Ashburn <jon@lunarg.com> loader: Add error messages if layer libraries fail to load
/external/vulkan-validation-layers/loader/loader.c
b40f2568bff91895d66848767fdaa540793b5162 29-May-2015 Jon Ashburn <jon@lunarg.com> loader: Make global functions (instance chain entrypoints) thread safe
/external/vulkan-validation-layers/loader/loader.c
f1acfc7c3d8cd952ec01041c2fbfec1704fa4fd1 29-May-2015 Jon Ashburn <jon@lunarg.com> loader: Remove storage of wrappedGPUs only need during layer activation
/external/vulkan-validation-layers/loader/loader.c
70c4ebce8f9d97029ce782e9b0ea264611a6c63d 08-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: add debug log message
/external/vulkan-validation-layers/loader/loader.c
8b253f9ee0d46c7b85847e6afcffcfc58eb03cee 08-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Add LOADER_DEBUG environment flags

The loader_log function now uses a global flag to
determine which log messages to echo to stderr.
The flags can be set by setting the LOADER_DEBUG
environment variable to colon separate list of
tokens.
/external/vulkan-validation-layers/loader/loader.c
3d8dc1f0b7082672757a92ddb7f5a35be6ea6be3 08-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Fix DestroyInstance
/external/vulkan-validation-layers/loader/loader.c
8afefb5096305216b66a6e18ff653fde6f1f908a 08-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Add utility to return loader instance ptr
/external/vulkan-validation-layers/loader/loader.c
d5df54db1e81b7c622dac996a8a89f6993e12cb6 29-May-2015 Jon Ashburn <jon@lunarg.com> loader: Fix EnumeratePhysDev to handle less gpus than icd has and no mem leak

Also no longer wrap gpu objs of inst objs in CreateInstance.
/external/vulkan-validation-layers/loader/loader.c
f4b430e045cc3f5367166204e039435d40b609be 08-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Only allow layer in chain once

If an application were to specify a "Validatio" layer
and the environment specified a ParamChecker layer
it was possible to load the same layer twice in
one chain. Layers don't like that can only be referenced
once and that's all they need to support multiple
extensions from the one layer.
This patch adds an alias pointer so that when putting
together the lists of available extensions the loader
can keep track of multiple extensions that are servied
by the same library. Also now create specific
activated_layers_list that contains only the list
of layers that need to be activated.
/external/vulkan-validation-layers/loader/loader.c
aa68505a430582fad8f94ed5a894726c7aa14606 01-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Fix code format, add some debug info
/external/vulkan-validation-layers/loader/loader.c
c27292a2b17b7d4631278c06c42c8e942a9462ae 01-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Remove resolved TODOs

Update comments and remove TODOs that are done.
/external/vulkan-validation-layers/loader/loader.c
3b77cd8efb9b3893e4357775338d3c3abfe19b1c 01-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Remove unused functions

Now that we are using the full VkExtensionProperties
structure to designate extensions needed new query functions
/external/vulkan-validation-layers/loader/loader.c
71cd74d2c698a645aeb5240e23d3f5aa791987bb 01-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Put static function prototypes in .c
/external/vulkan-validation-layers/loader/loader.c
23b5f8d7681a19a940ea940381557852c4c27ecd 18-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Add support for debug report
/external/vulkan-validation-layers/loader/loader.c
4f2575fd729c1ab6c0eef0a5e10c2859f3556e1c 29-May-2015 Jon Ashburn <jon@lunarg.com> loader: Support layers that don't have an extension entrypoint

Change all layers and loader interface to init dispatch tables on
GPA("GetXXXProcAddr"). After that initialization rest of dispatch
tables are inited via unwrapped object using the GPA in the dispatch
table. This also allows App generated GPA calls that the loader can't resolve
to function correctly.
/external/vulkan-validation-layers/loader/loader.c
9a9de1f9bc5f218872a81ad37c31069995481222 27-May-2015 Jon Ashburn <jon@lunarg.com> loader: Fix info string of device versus instance layer being added
/external/vulkan-validation-layers/loader/loader.c
a445e0913fdeeb422c467e399c03c19e9c968f31 26-May-2015 Jon Ashburn <jon@lunarg.com> loader: Add wsi extension to loader's list of global extensions
/external/vulkan-validation-layers/loader/loader.c
f0615e2d3a6b0b1b633f777cdb2bd03b2c20eb57 25-May-2015 Jon Ashburn <jon@lunarg.com> misc: Make DEBUG_MARKER entrypoints a device extension with separate dispatch

Right now only DrawState and ParamChecker implement this extension.
/external/vulkan-validation-layers/loader/loader.c
c0c2eff7c28fb89159587cd9dc7bce80220e1aeb 23-May-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: simplify wrapping setup
/external/vulkan-validation-layers/loader/loader.c
1c7c65d3f9d68d5869da97ceb1a365a739623fe9 11-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> extensions: begin changes for extension support

This patch starts restructuring the various components
(loader, driver, layers, etc.) to support global and
device extensions. Require GetProcAddr to access the
extension functions and related support.
/external/vulkan-validation-layers/loader/loader.c
d763c93326feced80e9db19517b355fc225a80f4 22-May-2015 Jon Ashburn <jon@lunarg.com> loader: Return NULL for WSI entrypoints if extension not enabled
/external/vulkan-validation-layers/loader/loader.c
eedbb5e6a493100cf17fb33529b3cb749e380b99 22-May-2015 Jon Ashburn <jon@lunarg.com> loader: Use ICD's GetDeviceProcAddr as end of layer chain rather than loader's

If function name is unknown to loader and layers the old gpa_internal would
recurse without terminator. Use Driver's GPA as terminator.
Also simplifies code.
/external/vulkan-validation-layers/loader/loader.c
cedc15f3b62cfe757c583fe2106fe957a9ee30f9 22-May-2015 Jon Ashburn <jon@lunarg.com> misc: Make wsi lunarg an extension rather than core entrypoints
/external/vulkan-validation-layers/loader/loader.c
a179dcf562542b8908870836635c82d4d1868e22 22-May-2015 Jon Ashburn <jon@lunarg.com> loader: Fix for CreateInstance object created being pointer to pointer to disp
/external/vulkan-validation-layers/loader/loader.c
bfa43b7050276b411e1c194b852819da78278d77 19-May-2015 Jon Ashburn <jon@lunarg.com> loader: make the instance dispatch table per instance
/external/vulkan-validation-layers/loader/loader.c
1245cec54fd74fea87bc95913788726054a91518 18-May-2015 Jon Ashburn <jon@lunarg.com> misc: Change vkGetProcAddr to vkGetDeviceProcAddr

Also cleanup layer/loader GPA's to only return device level entrypoints.
/external/vulkan-validation-layers/loader/loader.c
9de9560fada185d5af93805f4a2296f08b812563 18-May-2015 Jon Ashburn <jon@lunarg.com> loader: Remove GetGlobalExtensionInfo trampoline

Wasn't working correctly for now remove GetGlobalExtensionInfo from
the instance layer chain.
/external/vulkan-validation-layers/loader/loader.c
2666e2f1a0251dc2fb3278691218711e81b44bb1 15-May-2015 Jon Ashburn <jon@lunarg.com> misc: Loader and Layers move device chain activation to CreateDevice
/external/vulkan-validation-layers/loader/loader.c
0dd356d5ff266f7699aa13d97e3107a89cd05007 14-May-2015 Jon Ashburn <jon@lunarg.com> loader: Move lookup of icd entrypoints to CreateInstance and add more lookups

Move the icd Vulkan entrypoint address lookups to CreateInstance and icd list
rather than in the scanned_icd list. Also add more instance chain entrypoints
/external/vulkan-validation-layers/loader/loader.c
fce93d9098c3f00c94919a78b8529ccdc0fbf1a6 13-May-2015 Jon Ashburn <jon@lunarg.com> loader: Activate layers on the instance chain at CreateInstance
/external/vulkan-validation-layers/loader/loader.c
9ee1fe19ba241ed4f2a98876eae2352f5b88c3ec 08-May-2015 Jon Ashburn <jon@lunarg.com> loader: Remove unused icd/gpu_index from layer find functions
/external/vulkan-validation-layers/loader/loader.c
9a9bb644179325bb02331241c7801fcc9e9d2254 05-May-2015 Jon Ashburn <jon@lunarg.com> loader: Make VkInstance a dispatchable object and init with instance table
/external/vulkan-validation-layers/loader/loader.c
53c167777cbf86f9f05aca0404162de3b7aa543b 06-May-2015 Jon Ashburn <jon@lunarg.com> misc: Add vkGetInstanceProcAddr() entrypoint

Adding this entrypoint as this has been discussed in khronos and is needed
for the loader/layer/extension proposal.

Caveats:
1) Have not updated layers or any tests/demos yet that will come later;
2) No one including loader is using this call yet;
3) Leaving exisitng vkGetProcAddr() as is for now; later once loader
is using vkGetInstanceProcAddr call can switch vkGetProcAddr() to
vkGetDeviceProcAddr()
/external/vulkan-validation-layers/loader/loader.c
1da405deba7fe6ff0fd0ae1d1f52be9b882566d2 06-May-2015 Jon Ashburn <jon@lunarg.com> loader: logging on Windows to both debug output and stderr
/external/vulkan-validation-layers/loader/loader.c
da7c20daca7c263399a9497c57fa49c174f6d9a2 02-May-2015 Jon Ashburn <jon@lunarg.com> loader: rename a few dispatch utilties
/external/vulkan-validation-layers/loader/loader.c
464711a306ae604fac0ba49b70a67ce89df4f838 28-Apr-2015 Ian Elliott <ian@LunarG.com> loader: Eliminate compiler warnings on Windows.
/external/vulkan-validation-layers/loader/loader.c
54681560eb809fd83fc5d4535c0b3423cdec13ec 25-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: Terminate chain of GetProcAddr() in driver if gpu obj is base

Fixes issue when driver doesn't implement an entrypoint of recursing
and unwrapping gpu object too many times.
/external/vulkan-validation-layers/loader/loader.c
b67859da610951e0d84211b3480e8288673c65db 24-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: Fix bug on layer name prefix string length

Also add GetGlobalExtensionInfo to layer .def file
/external/vulkan-validation-layers/loader/loader.c
a938abb9d45b990819e37f09c3d107a461114c8e 22-Apr-2015 Tony Barbour <tony@LunarG.com> misc: Changes to fix warnings in Windows / VC++ build
/external/vulkan-validation-layers/loader/loader.c
22a30866de6210d780995dfaaae39f1a73115aa0 22-Apr-2015 Tony Barbour <tony@LunarG.com> misc: Changes to clean up warnings in Release build
/external/vulkan-validation-layers/loader/loader.c
9f530cb17880093b385cdd3c2fb9048aa4af525b 20-Apr-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Make sure max layer count is set properly
/external/vulkan-validation-layers/loader/loader.c
bb1f360c47e6276bb9c3ba0c304b2a95cf9ac9de 20-Apr-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> vkEnumerateLayers: Update to match upstream

The upstream vulkan.h header removed maxLayerCount parameter
from vkEnumerateLayers. This patch implements that change
for the sample driver and layers.
/external/vulkan-validation-layers/loader/loader.c
11e76ac8d0b8549992bc19d1c32640e33efbf873 21-Apr-2015 Tony Barbour <tony@LunarG.com> vulkan.h: Fix up warnings and use VkObject appropriately
/external/vulkan-validation-layers/loader/loader.c
230e62505478ab0d9b05003e0e48baa5f090c6a0 17-Apr-2015 Mike Stroyan <mike@LunarG.com> update to vulkan.h header version 90, bug 13529
/external/vulkan-validation-layers/loader/loader.c
72259960c84909e2efaff07bba7562e906211a26 17-Apr-2015 Chia-I Wu <olv@lunarg.com> loader: add a missing VKAPI

loader_gpa_internal() needs VKAPI.
/external/vulkan-validation-layers/loader/loader.c
8205d901f17b1c76d89c956be235cf4e7a20a546 16-Apr-2015 Tony Barbour <tony@LunarG.com> Bug 13632 Header 84 Assorted questions and comments on vulkan.h
/external/vulkan-validation-layers/loader/loader.c
07b309a0cdfca1532ad14038682716ea7f77538d 15-Apr-2015 Jon Ashburn <jon@lunarg.com> misc: Change vkEnumerateGpus to vkEnumeratePhysicalDevices

Conflicts:
loader/loader.h
/external/vulkan-validation-layers/loader/loader.c
fdf00b6edc590884fe778b8bda861f27718b04bd 15-Apr-2015 Ian Elliott <ian@LunarG.com> Win: Some compilation/link fixes.
/external/vulkan-validation-layers/loader/loader.c
4d3b75245dce0b1c2c858a8a4f064acb79a42203 14-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: Add support for loading layers that support a group

Specifically support the "Validation" group for activating any layer
which supports that name.
/external/vulkan-validation-layers/loader/loader.c
42e41037afa08a63aa1be90ec92c21a2c3bf7a66 14-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: Add check for invalid enabled extensions at CreateInstance
/external/vulkan-validation-layers/loader/loader.c
e18431b65e2a28621096f373c9d58f6f30610c2f 14-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: Fix GetProcAddr to return proper function pointers for app

Add case of handling null gpu object for global functions.
For device specifc functions use the dispatch table or the loader entrypoints
depending on if the trampoline code can be skipped or not.

Conflicts:
loader/CMakeLists.txt
vk-generate.py

v2: undo accidental rename of LayerInterceptProcSubcommand
fix WinDefFileSubcommand due to rebase (olv)
/external/vulkan-validation-layers/loader/loader.c
eb2728bbe6efe03eae35e0452e35b04b38e75559 10-Apr-2015 Jon Ashburn <jon@lunarg.com> vulkan: Add vkGetGlobalExtensionInfo entrypoint

have loader use it to enumerate all extensions from layers and drivers.
Non-gode_gen layers also updated to include vkGetGlobalExtensionInfo

Includes verion info as part of GetExtensionSupport return data.

TODO: vk-layer-generate needs work

v2: do not check for non-existing ENABLE_WSI_X11 (olv)
/external/vulkan-validation-layers/loader/loader.c
630e44f5d4936c50f0c6c883fcf893ef85571fa3 09-Apr-2015 Jon Ashburn <jon@lunarg.com> layers: Remove wrapping of GPU objects by loader and layers

Loader only wraps GPU objects for creating a layer chain. After layer activation
layers and loader use unwrapped gpu object returned by the driver.

This is a large simplification.

This fixes a nasty bug where layers intercepting entrypoints with gpu objects
but not all these entrypoints would fail. These would cause non-uniform
unwrapping of gpu objects by the time the driver was called with a gpu object.

Fixes issue in loader_get_icd where it was trying to compare a wrapped GPU
against a non-wrapped GPU.
/external/vulkan-validation-layers/loader/loader.c
65cf305fee072abe798937fe1acc4ee963632890 09-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: Don't have GetExtensionSupport as loader special case code

Allows layers to intercept GetExtensionSupport()
/external/vulkan-validation-layers/loader/loader.c
2a78e3dd525466abc6a0b689d38659865fb14b92 09-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: Activate layers at EnumerateGpus instead of CreateDevice
/external/vulkan-validation-layers/loader/loader.c
301c5f0be9ee48bb48c80ded9faad2ea3efc33f1 06-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: refactor layer activation function to handle more general inputs

Renamed structure types as well.

TODO: verify vk-layer-generate.py

v2: fix LoaderEntrypointsSubcommand (olv)
/external/vulkan-validation-layers/loader/loader.c
063cd37a4765445505cfbb3e77170d7c1ddcb90f 08-Apr-2015 Jon Ashburn <jon@lunarg.com> loader: Store the enabled extensions at CreateInstance
/external/vulkan-validation-layers/loader/loader.c
382489d723fd0d3935da0dc7e1021c56c7b721d3 10-Apr-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> vulkan: beautification changes

TODO: verify vk-layer-generate.py

TODO: need to rename object tracker generator

v2: fix "python3 vulkan.py"
fix dead cod in tri introduced by rebase
beautify wsi_null.c (olv)
/external/vulkan-validation-layers/loader/loader.c
10ec96277b441ea55078a3dd87402c726a805f86 10-Apr-2015 Ian Elliott <ian@LunarG.com> Win: Fix typo and incorrect strlen for finding/loading ICDs.
/external/vulkan-validation-layers/loader/loader.c
ddcb6192458d696a106f48eeb12fd0390a3ca63f 15-Apr-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> vulkan: API renaming

VK_DEVICE_QUEUE_CREATE_INFO => VkDeviceQueueCreateInfo
VK_DEVICE_CREATE_INFO => VkDeviceCreateInfo
VK_INSTANCE_CREATE_INFO => VkInstanceCreateInfo
VK_LAYER_CREATE_INFO => VkLayerCreateInfo
VK_MEMORY_ALLOC_INFO => VkMemoryAllocInfo
VK_MEMORY_ALLOC_IMAGE_INFO => VkMemoryAllocImageInfo
VK_MEMORY_ALLOC_BUFFER_INFO => VkMemoryAllocBufferInfo
VK_BUFFER_CREATE_INFO => VkBufferCreateInfo
VK_BUFFER_VIEW_CREATE_INFO => VkBufferViewCreateInfo
/external/vulkan-validation-layers/loader/loader.c
9cc421eb545767e22fd723dc573a7a3225261b1c 08-Apr-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> Stage 1 of rename

TODO: re-enable glave build, advance API for glave

v2: get rid of outdated code in tri introduced by rebase
rename wsi_null.c (olv)
/external/vulkan-validation-layers/loader/loader.c
29669a43755f6caa97c4c1d447f494514ba343d9 04-Apr-2015 Jon Ashburn <jon@lunarg.com> misc: Add create_info struct to CreateInstance()

Allows extnesion or layer enablement at CreateInstance
Khronos Bug 13637
/external/vulkan-validation-layers/loader/loader.c
0199e952fc763409be082ab6008639beb6adf1f1 27-Feb-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Merge extensions and layers

Update loader so that it extensions and layers work in same
basic fashion. That is, application can query for extension/layer
support by calling GetExtensionSupport. The loader will then query
the available drivers AND layers for that support. Likewise,
when the application does CreateDevice the list of "extensions"
can be both layers and extensions and the loader will figure out
the right thing to do.

Conflicts:
loader/loader.c
xgl-generate.py
/external/vulkan-validation-layers/loader/loader.c
c0db2af877997d454f3a9702f278e17cba9aa076 17-Mar-2015 Jon Ashburn <jon@lunarg.com> loader: Fix Dbg entrypoints with instance param to not loop all instances

DbgRegisterMsgCallback, DbgUnregisterMsgCallback, DbgSetGlobalOption were all
making these calls for all instances rather than just instance passed in as
parameter.
/external/vulkan-validation-layers/loader/loader.c
9d36ef43eee0571094d4b666553217aa8340d99d 13-Apr-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> xgl: update xglDbg.h for XGL_INSTANCE

Add XGL_INSTANCE as the first parameter of xglDbgRegisterMsgCallback(),
xglDbgUnregisterMsgCallback(), and xglDbgSetGlobalOption().

The loader is simplified. loader_log() is modified to always output to
stderr.

glave is modified to register its message callback after xglEnumerateGpus(),
and xglDbgUnregisterMsgCallback() is called only before xglDestroyInstance().

XGL_INSTANCE is ignored by the layers and the driver for now.

Bump up API version to XGL_MAKE_VERSION(0, 56, 1).
/external/vulkan-validation-layers/loader/loader.c
29f1c2597e6380e1cc9384c98fef724ad225b7bd 03-Apr-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Fix prefix used to find layer library.
/external/vulkan-validation-layers/loader/loader.c
7518ecd7cf4d776470f5cae6f823d9ab9dad5afb 03-Apr-2015 Ian Elliott <ian@LunarG.com> Fix NULL-pointer dereference if can't find registry entry.
/external/vulkan-validation-layers/loader/loader.c
760051384e6eb4165fcbeae764dd73f62e2597bd 31-Mar-2015 Ian Elliott <ian@LunarG.com> New loader_get_registry_value() function reads 32/64 registry ...

This version should be able to find a key/value if it exists in either the 32
or 64 bit hive. Also, it also doesn't allocate any string data until it knows
what size is needed.

Changed the "xcv_nvidia.cpp" file to also use the new registry approach.
/external/vulkan-validation-layers/loader/loader.c
d610a6ecc4b24ebbc9d9d6275264c49d1a46895b 18-Feb-2015 Jon Ashburn <jon@lunarg.com> loader: Fix merge of layer names from env and CreateDevice
/external/vulkan-validation-layers/loader/loader.c
2c2f1a2a0c1836ee58c2ca9902a2fb7dfbd11673 19-Feb-2015 Ian Elliott <ian@LunarG.com> loader: initialize result for xglCreateInstance().
/external/vulkan-validation-layers/loader/loader.c
4ee0171318e2680a684a52fbacc7226b994de479 19-Feb-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Correct layer path lookup name
/external/vulkan-validation-layers/loader/loader.c
225188f4c4d96832f1669f7dc958f8a6f2bdccc0 17-Feb-2015 Ian Elliott <ian@LunarG.com> loader: Windows now uses registry + env's (diff names)

The loader on Windows now looks in the Windows Registry + in environment
variables for the following (Note the new names--"LIB" was dropped):

- XGL_DRIVERS_PATH
- XGL_LAYERS_PATH
- XGL_LAYER_NAMES

Linux still retains the "LIB" at the start of the environment variable names.

If both are used, they are concatenated into a semi-colon-delimited list.

A generic loader_get_registry_and_env() func is used to perform this (only for
Windows, since Linux doesn't have a registry).
/external/vulkan-validation-layers/loader/loader.c
34e6667ce2d18d8c5c584a4f3412dd88f2b00e8d 17-Feb-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Enable env extensions as well as app.
/external/vulkan-validation-layers/loader/loader.c
642f89249d1c110cc7962e8fd7d2e1777d183a4d 13-Feb-2015 Ian Elliott <ian@lunarg.com> Eliminate "-Wsign-compare" warnings on Linux ...

With these being newly enabled for the loader, layers, and demos (and it turns
out, for the icd/common directory), it is appropriate to fix them.
/external/vulkan-validation-layers/loader/loader.c
20f068788a42ca7680ef0ca393e2320c0531aafd 13-Feb-2015 Ian Elliott <ian@lunarg.com> Win: Attempt to keep from using Linux functions.

This is a hopefully-temporary solution to prevent some of the problems of
people breaking the Windows build while developing on Linux (or vice-versa).

This uses macros of the names of Linux/Windows-specific functions in order to
catch people who use those functions directly, instead of using the
platform-compatibility-layer functions.

In order to avoid problems with the layers #include'ing "loader_platform.h"
before they #include system files (which can mess them up), I #include
"loader_platform.h" twice. The 2nd time, it #define's the hopefully-temporary
macros.

Note: For some reason, we can't #define LoadLibrary(). It generates warnings
on Windows.
/external/vulkan-validation-layers/loader/loader.c
ba7133b95ef5982b383a44fd92b113bb9ec913a8 11-Feb-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> icd: add loader magic word to verify ICD is compatible

We wanted a more explicit way to determine if the driver
ICD being loaded is providing compatible objects. To do
that we check for a magic dword value at the beginning
of the object. Non-compliant ICDs will assert in the loader
or the loader's dispatch functions if an object does
not have the correct value.
Dispatch checks are debug only.
/external/vulkan-validation-layers/loader/loader.c
617fdec4fa1ff9d95eaa37a7bdafac341ccb4acf 05-Feb-2015 Ian Elliott <ian@LunarG.com> Fix unitialized value in xglCreateInstance().

This causes a problem when no ICD is found. The function's "res" variable is
returned despite never being intialized. For now, I chose to return
XGL_ERROR_INCOMPATIBLE_DRIVER.
/external/vulkan-validation-layers/loader/loader.c
64f74a8ae5c9bb894fc69e82a9822745b7c74536 04-Feb-2015 Ian Elliott <ian@LunarG.com> Win: Eliminate VS2013 compiler warnings for "loader.c" ...

As part of this, eliminated some similar warnings within/across usage of
"loader_platform.h". One of these is #define'ing _CRT_SECURE_NO_WARNINGS, so
that VisualStudio won't issue warnings with our use of _snprint() (which they
don't consider secure enough; but their desired function doesn't match the
signature of snprintf()).
/external/vulkan-validation-layers/loader/loader.c
665c5634d5292c4fde20651708af14f61d644daa 04-Feb-2015 Ian Elliott <ian@LunarG.com> Win: Move some macros to "loader_platform.h"
/external/vulkan-validation-layers/loader/loader.c
81ac44ce34f01f6462ce61ff44b34de5c44304ab 14-Jan-2015 Ian Elliott <ian@LunarG.com> Can compile "loader" and "layers" on Windows and Linux ...

These directories build and are partially turned-on on Windows, using the "tri"
demo (follow-on commit) and a "NULL driver" that was created out of the
sample/Intel driver. The GetProcAddress() is not yet finding symbols in the
NULL driver.

For now:

- "C:\Windows\System32" is the default XGL driver directory. The getenv()
isn't yet working. I suggest creating your own #define in order to point to
where a driver is.

- In order to recognize a Windows driver, we must look at both its prefix and
suffix (i.e. it is named "XGL_*.dll", e.g. "XGL_i965.dll).

- We autogenerate Windows ".def" files for the layers. Additional info is:

- This is necessary in order for a DLL to export symbols that can be queried
using GetProcAddress(). We can't use the normal Windows approach of
declaring these functions using "__declspec(dllexport)", because these
functions are declared in "xgl.h".

- This involves adding and running the new "xgl-win-def-file-generate.py"
file.

- NOTE: Layers don't have the xglInitAndEnumerateGpus() entrypoint, just the
xglGetProcAddr() entrypoint (and now the xglEnumerateLayers() entrypoint).
Generating them is pretty simple.

NOTE: In order to build on a 64-bit Windows 7/8 system, I did the following:

- Install VisualStudio 2013 Professional

- Install CMake from: http://www.cmake.org/cmake/resources/software.html

- I let it add itself to the system PATH environment variable.

- Install Python 3 from: https://www.python.org/downloads

- I let it add itself to the system PATH environment variable.

- Obtain the Git repository, checkout the "ian-150127-WinBuild" branch.

- Using a Cygwin shell: I did the following:

- "cd" to the top-level directory (i.e. the one that contains the ".git"
directory).

- "mkdir _out64"

- "cd _out64"

- "cmake -G "Visual Studio 12 Win64" .."

- At this point, I used WindowsExplorer to open the "XGL.sln" file. I can
build. CMake causes the build shortcut to be "Ctrl-Shift-B" instead of the
normal "F7". I had to right-click the "ALL_BUILD" project, go to
Properties->Debugging and change the debug Command and Working Directory to
point to "tri.exe" and where the executable are. At this point, I can debug
(using the normal "F5" shortcut).
/external/vulkan-validation-layers/loader/loader.c
2cabd258cc7827a15ed417691f96ce04d09e202e 03-Feb-2015 Jon Ashburn <jon@lunarg.com> loader: Make sure loader instances get updated upon DestroyInstance()
/external/vulkan-validation-layers/loader/loader.c
457c5d18adf6d6e30bb91e78ab1c124e5ef822d4 30-Jan-2015 Jon Ashburn <jon@lunarg.com> instance: Remove xglInitAndEnumerateGpus
/external/vulkan-validation-layers/loader/loader.c
dc67ef58913b1001a8214dde415681e59755ae84 30-Jan-2015 Jon Ashburn <jon@lunarg.com> loader: Add loops for multiple instances on global debug calls
/external/vulkan-validation-layers/loader/loader.c
92e8013b79dfd425228aa51fa5c8d78c785aade6 29-Jan-2015 Jon Ashburn <jon@lunarg.com> demos: Convert to using Instancing API rather than xglInitAndEnumerateGpus()
/external/vulkan-validation-layers/loader/loader.c
3336df89c81d3edd454960b6866100a5f1fe0e1d 29-Jan-2015 Jon Ashburn <jon@lunarg.com> loader: Finish implement CreateInstance and DestroyInstance
/external/vulkan-validation-layers/loader/loader.c
b048a9b3188cda67519a85be907b7b374e505867 29-Jan-2015 Jon Ashburn <jon@lunarg.com> loader: Implement EnumerateGpus()
/external/vulkan-validation-layers/loader/loader.c
14275da630602a14168f83629b49e63d2d2023cb 28-Jan-2015 Jon Ashburn <jon@lunarg.com> loader: Place icds into the instance, scan icds prior to instance create
/external/vulkan-validation-layers/loader/loader.c
349508db4b45e990fa33da50f573c6d938fba1c1 26-Jan-2015 Jon Ashburn <jon@lunarg.com> instance: Added initial {Create|Destroy}Instance() and xglEnumerateGpus().

For now, retain the existing InitAndEnumerateGpus and have it create one
instance. New APIs aren't fully implemented yet in driver or loader.
/external/vulkan-validation-layers/loader/loader.c
e2d07a5a3810d83d0ea7ecb396d61477893b74a4 29-Jan-2015 Mark Lobodzinski <mark@lunarg.com> xgl: Remove XGL_* typedef wrappers

Part of moving to xgl.h rev#38, svn rev 29293-29302
/external/vulkan-validation-layers/loader/loader.c
c79a46bb6ed64c430507dd85421306cd9d881e31 28-Jan-2015 Chia-I Wu <olv@lunarg.com> xgl: fix constness of pointers
/external/vulkan-validation-layers/loader/loader.c
42688c35c9f91e18df1434480142d01c831d5d19 16-Jan-2015 Jon Ashburn <jon@lunarg.com> loader: Fix infinite loop on layer library scan if dlopen fails
/external/vulkan-validation-layers/loader/loader.c
953a1693fc3f4453c76d905d55de33e601b55006 09-Jan-2015 Mark Lobodzinski <mark@lunarg.com> xgl: Add xgl header changes for rev30 and 31.

Switched EnumerateLayer parameter order, added conditional definition
of xgl function prototypes, and prepended 'xgl' to all function
prototypes. This included fixes for bugs #13173 and #13180.
/external/vulkan-validation-layers/loader/loader.c
68af55ef8c0319cd5b0ec0f75f60d05870dfeb89 07-Jan-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Include layers specified in environment

If application specified layer_info in the CreateDevice call
the code would only look for layers the app specified. However,
we want to include layers specified in the environment in addition
to any specified by the application.
/external/vulkan-validation-layers/loader/loader.c
38e5a2cc3ac05284b0854fa58a8047708c34f5d3 04-Jan-2015 Chia-I Wu <olv@lunarg.com> loader: use generated dispatch table ops

This also fixes several typos in xglGetProcAddr(), such as in

else if (!strncmp("xglCreateFence", pName, sizeof ("xgllCreateFence")))
return disp_table->CreateFence;

They are generally harmless though.
/external/vulkan-validation-layers/loader/loader.c
7461fcf758fa133fe84da0c1b8f4abd776f3f385 27-Dec-2014 Chia-I Wu <olv@lunarg.com> remove unnecessary casting between XGL_CHAR/char

Many of the changed lines are generated. That should be fixed at some point.
/external/vulkan-validation-layers/loader/loader.c
99e996a4d0576f3f5b1b4e4674b723d5f05f46ad 19-Dec-2014 Jon Ashburn <jon@lunarg.com> loader: Make sure msg callbacks get registered if added before initAndEnumGpu

Fix bug where xglDbgRegisterMsgCallback wasn't working if called prior to
xglInitAndEnumerateGpus.
/external/vulkan-validation-layers/loader/loader.c
d6bfe025d46ecf39420fa1b5f867d282eaafd339 03-Dec-2014 Jon Ashburn <jon@lunarg.com> loader: handle inserting dispatch table pointer into all created objects

Remove the setDispatch calls into cid driver. Replace with inserting the
current dispatch table into created objects. Requires icd driver to
still have a slot for the dispatch table pointer in first location of
every created object.
/external/vulkan-validation-layers/loader/loader.c
688c74b4c3d8ba5c568df5001e4986b333c2d103 03-Dec-2014 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Fix missing terminator on string

strncpy does not copy the terminating null character
so were getting invalid directory names. Since we know
there is enough space for the string, just copy it and
get the terminator as well.
/external/vulkan-validation-layers/loader/loader.c
bce445acb678845050b3dfbf830c8895d8551a29 01-Dec-2014 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Make LIBXGL_LAYERS_PATH behave like LIBXGL_DRIVERS_PATH
/external/vulkan-validation-layers/loader/loader.c
b9a54acb41188f31baa3569f92ce61fb030ef6ad 02-Dec-2014 Jon Ashburn <jon@lunarg.com> loader: xglEnumerateLayers() returns layer names rather than library names

Loader's xglEnumerateLayers calls into each layer library to get their
layer names from the library.
/external/vulkan-validation-layers/loader/loader.c
8d8dad087a6c0ee330d83ad3f176bddc6ea88f8b 01-Dec-2014 Jon Ashburn <jon@lunarg.com> layers: Add Multi layer with example of multiple layers per file.
/external/vulkan-validation-layers/loader/loader.c
6847c2b53cf93b1440be043dccd73c59c85aa448 25-Nov-2014 Jon Ashburn <jon@lunarg.com> Add reserved parameter to xglEnumerateLayers for layer usage

This parameter can be used by layer for getting GPA and gpu info queries.
Also add xglEnumerateLayers() to Basic layer, to show example of only
supporting a particular GPU.
/external/vulkan-validation-layers/loader/loader.c
ead95c50b0585e759c753eeb527d4a5aefe4fd55 18-Nov-2014 Jon Ashburn <jon@lunarg.com> loader: Make layer names be independent of layer library filename

Also change env var from LIBXGL_LAYER_LIBS to LIBXGL_LAYER_NAMES
since the layer name rather than library name is given.
/external/vulkan-validation-layers/loader/loader.c
1005333a27b2aa4626d8e212047484cf82c7d3b1 17-Nov-2014 Jon Ashburn <jon@lunarg.com> loader: Change ActivateLayers name to be consistent with rest of loader
/external/vulkan-validation-layers/loader/loader.c
406a0feb5e913c97659c953ac2c0590b23a16f75 14-Nov-2014 Jon Ashburn <jon@lunarg.com> Make the Dbg xgl global calls use dispatch table for layer support

xglDbgRegisterMsgCallbacks, xglDbgUnregisterMsgCallbacks,
xglDbgSetGlobalOptions dispatched via dispatch table so layers can
intercept these calls. Also add support for these calls being dispatched
to different icd functions based on gpu for icd's which may want different
functions per gpu.
/external/vulkan-validation-layers/loader/loader.c
3b04af551c70370636f4b93b9f580a43e34a8bbe 08-Nov-2014 Chia-I Wu <olv@lunarg.com> update to the latest vertex fetch proposal

The main difference is that XGL_SLOT_VERTEX_INPUT is replaced by
xglCmdBindVertexData. This actually simplifies the driver, which can be seen
with:

$ git show icd/intel/

The new proposal also adds some new formats, but they are ignored for now
because they are marked TBD.
/external/vulkan-validation-layers/loader/loader.c
3e7c0801c467ce66ddbf56ede45ebb0052fa2ef5 24-Oct-2014 Jon Ashburn <jon@lunarg.com> Loader: GPA fixes and also properly insert wrapped gpu objs into chain

Loader wasn't properly inserting the wrapped gpu objects for activated layers
into the chain of objects. This was a problem for any calls that used
the wrapped gpu object chain after activation of layers.
/external/vulkan-validation-layers/loader/loader.c
4fbcb03de83678fd5c81273cab8e0a19b9b062bc 23-Oct-2014 Jon Ashburn <jon@lunarg.com> Loader: Fix Seg fault when layers not activated via env var
/external/vulkan-validation-layers/loader/loader.c
b4d0053be857e3243b774e0f5d7a362a06ab78ff 23-Oct-2014 Jon Ashburn <jon@lunarg.com> Fix memory leaks in loader related to layers.
/external/vulkan-validation-layers/loader/loader.c
183dfd010127f23400ccf7323ac6f7098cc352db 23-Oct-2014 Jon Ashburn <jon@lunarg.com> Make layer activation via CreateDevice struct or env variable

Also finish making all activated layers per icd and per gpu.
/external/vulkan-validation-layers/loader/loader.c
8eecd42fe25042e6229ae50bedbf1587990cce6b 22-Oct-2014 Jon Ashburn <jon@lunarg.com> Loader: fix dispatch table initialization to handle multiple layers
/external/vulkan-validation-layers/loader/loader.c
217349426200e2f72988fe7c77e3550fd7233464 17-Oct-2014 Jon Ashburn <jon@lunarg.com> Change GetProcAddr function signature to use XGL types.

Fix bug in GPA for basic_plugin.c .
/external/vulkan-validation-layers/loader/loader.c
b55278a844809ce0ce5e6ea6da57139372473633 17-Oct-2014 Jon Ashburn <jon@lunarg.com> Make layer activation per icd in loader and gets deactivated.

Fixes issue where multiple xglInitAndEnumerate were causing the layer
activation to fail and dispatch table setup in loader to fail.
/external/vulkan-validation-layers/loader/loader.c
815bddd0fdbcd050c5d67a1fe7363ba09dc5eaa4 16-Oct-2014 Jon Ashburn <jon@lunarg.com> Add function to set an icd's dispatch table for subsequently created objects.

With layers the loaders dispatch table is used instead of the drivers dispatch
table. The gpu objects were reflecting this change but not subsequent objects.
Tell the icd driver about the loader's dispatch table so it will use it on
object creation rather than the default driver dispatch table.
/external/vulkan-validation-layers/loader/loader.c
96f28fcc48d555e0ba2b76fb1f042371bdad226b 15-Oct-2014 Jon Ashburn <jon@lunarg.com> Add xglEnumerateLayers function including support in layers.

Also add this call to xglbase (init.cpp) test.
/external/vulkan-validation-layers/loader/loader.c
d43f9b6658a3cc2115fd9db118f6fd51acf09379 15-Oct-2014 Jon Ashburn <jon@lunarg.com> Layers initial prototype.

Includes an auto generated layer (GenericLayer) that wraps all api calls.
Includes a basic handwritten layer (basicLayer) that wraps a few apis.
Adds xglGetProcAddr as a new api, which is used to chain layers together.
All layers and loader implement a dispatch table.
/external/vulkan-validation-layers/loader/loader.c
6f928160a3b46db44196485cf6acb8bc902f2d08 28-Oct-2014 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: initialize memory

uninitialized use from by valgrind
/external/vulkan-validation-layers/loader/loader.c
0f45b2acd6ceca64bdd772a0c047d3873dc3b1f7 04-Oct-2014 Jon Ashburn <jon@lunarg.com> Fix loader icd_scan to Null terminate strings
/external/vulkan-validation-layers/loader/loader.c
44e423660deab562665c4e173e43a248f5c1848f 02-Sep-2014 Chia-I Wu <olvaffe@gmail.com> update copyright information

To my best knowledge.
/external/vulkan-validation-layers/loader/loader.c
74916ed7913974ee4a9d0ce4a8f72ff86c572e9e 05-Aug-2014 Chia-I Wu <olvaffe@gmail.com> loader: short cut when init with maxGpus equal to 0
/external/vulkan-validation-layers/loader/loader.c
894a117449cc27d9cbd1a5c8584d5307b4d55a82 04-Aug-2014 Chia-I Wu <olvaffe@gmail.com> loader: refactor loader_icd_scan()

Move ICD loading to loader_icd_add().
/external/vulkan-validation-layers/loader/loader.c
468e3c3b4169830b9d5225330213e93e05d0fb72 04-Aug-2014 Chia-I Wu <olvaffe@gmail.com> add and deal with -fvisibility=hidden everywhere
/external/vulkan-validation-layers/loader/loader.c
7286f5aec7375326bb8b4ac5460e7bbe7e3999ed 03-Aug-2014 Chia-I Wu <olvaffe@gmail.com> loader: ignore __icd{Load,Unload}
/external/vulkan-validation-layers/loader/loader.c
0c105349480a65752a74d2adb4fc42f953b5d0ab 03-Aug-2014 Chia-I Wu <olvaffe@gmail.com> loader: let cmake generate the source file
/external/vulkan-validation-layers/loader/loader.c
4af9bd1b2977d2e20dc93505578424f6ec571e22 01-Aug-2014 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Scans for libXGL libraries.

loader_icd_scan now scans the system default libraries
/usr/lib/i386-linux-gnu/xgl:/usr/lib/x86_64-linux-gnu/xgl
or the LIBXGL_DRIVERS_PATH environment variable looking
for a file of the form libXGL_. When found it will try to
dlopen the library and call the initialization and DbgRegister
calls to setup the ICD. The ICD is responsible for figuring out
what, if any, HW is on the system that it can manage.
/external/vulkan-validation-layers/loader/loader.c
5f72d0f7b5b691775df6071ce12ec2e4049677a2 01-Aug-2014 Chia-I Wu <olvaffe@gmail.com> loader: add a generic ICD loader
/external/vulkan-validation-layers/loader/loader.c