History log of /external/vulkan-validation-layers/loader/trampoline.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
97937d379a695575bdce6c218dd5627163a83cda 19-Jan-2018 Lenny Komow <lenny@lunarg.com> loader: Fix static library initialization

Fix the loader's global initialization being skipped when the loader
is built as a static library on windows

Change-Id: I492f87104fb3bf32aed3c7d251dee2caeb4f00ba
/external/vulkan-validation-layers/loader/trampoline.c
a2be059bbd655014ae210d34dd627cf0be67c2f7 15-Jan-2018 Lenny Komow <lenny@lunarg.com> loader: Clean up mutexes on destruction

Change-Id: I7d1524da9167a576420c109ebbce8ebb5121cad0
/external/vulkan-validation-layers/loader/trampoline.c
8f324b0d98c2c9a0cff37bdfc27e9b5eac3621c3 20-Dec-2017 Lenny Komow <lenny@lunarg.com> loader: Add pre-instance functions for layers

Allow implicit layers (not explicit) to intercept calls before an
instance has been created.

Change-Id: I41f5bb0f5a6314fbab8003ebe71059dd04afc860
/external/vulkan-validation-layers/loader/trampoline.c
8f9d7ca19ea3ec0b45de929de561e5e4b3e79183 10-Nov-2017 Lenny Komow <lenny@lunarg.com> loader: Fix pre-instance proc addresses

Fix a bug where vkGetInstanceProcAddr would return a null pointer for
any command that does not require an instance if an instance was
given

Change-Id: Iec5766f9c37104c36852f758d391a9b0b54ec0ec
/external/vulkan-validation-layers/loader/trampoline.c
6d0fa220fed1e762b22cb92fbd69c15eecc976ef 06-Jul-2017 Jean-Francois Roy <jfroy@google.com> loader: Do not enumerate extensions from disabled implicit layers

This patch adds a check to vkEnumerateInstanceExtensionProperties to
omit extensions provided by disabled implicit layers. Per section 31.2
(1.0.51), "When pLayerName parameter is NULL, only extensions provided
by the Vulkan implementation or by implicitly enabled layers are
returned." Arguably, implicit layers that have been disabled are not
"implicitly enabled".
/external/vulkan-validation-layers/loader/trampoline.c
e3cf46b4c953fdfa8b0ff2eb19d18d8aa69c96e4 19-Apr-2017 Mark Young <marky@lunarg.com> loader: Add validation for apiVersion

Add a check to determine if the API version being requested can be
handled by the loader. If it can't, then we return incompatible driver.
If we can, we continue along our merry way.

An addendum is that we also bumped the Loader/ICD interface version.
This was requested by Nvidia so that the ICDs know that we pay attention
to the version in the loader. If they don't see the new Loader/ICD
interface version, they will handle the failing on all non-1.0 API
requests.

Change-Id: Icb7dd45e754c9f6a6c8186198333bacc68077b93
/external/vulkan-validation-layers/loader/trampoline.c
d660c139f540f669a964a4466f709a7cd777333e 15-Jun-2017 Mark Young <marky@lunarg.com> loader: Fix alloc issue

We were allocating the wrong struct for the dispatch table object
when creating the instance. This left us using invalid memory
when using the physical device extension trampolines.

Change-Id: I9939a8c9fe320b0d07592ab4beb5b6faaba40383
/external/vulkan-validation-layers/loader/trampoline.c
13c98366fc98551c0635d81a770fa660ed9fab97 04-May-2017 Mark Young <marky@lunarg.com> loader: Fix layer Enumerate bug

This fixes a bug found by Timothee Besset regarding calling
vkEnumerateDeviceLayerProperties when no layers are present. This
resulted in a negative number being filled into a uint32_t which
caused an invalid number of layers to be returned.

Now that we have meta-layers implemented instead of hard-coded,
I created two lists: an application provided list of layers, and
an expanded list of layers (where meta-layers are broken up into
their component layers). The former is used when working with the
enumerate calls, but the later is used internally for final layer
activation.

Change-Id: If723fdfb5acb1dc57923282d2c641c582870ad1c
/external/vulkan-validation-layers/loader/trampoline.c
43c5e81e909a1847fae30ac9f7d509b8ec913605 02-May-2017 Mark Young <marky@lunarg.com> loader: Meta-layer support

Integrate Lenny and my changes for Meta-layers.
Includes adding initial JSON file for standard_validation.

Change-Id: Ibc1da464fad4949e14e171dbc7dd9990621e1081
/external/vulkan-validation-layers/loader/trampoline.c
61ff81af2702610eb1121f3a392f4f73d79a3b28 11-Mar-2017 Mark Young <marky@lunarg.com> loader: Fix vkEnumeratePhysicalDeviceGroupsKHX

vkEnumeratePhysicalDeviceGroupsKHX was not properly generating the
physical device information or groups. Several changes resolve
most of the issue, however, I'm still seeing issues when certain
layers enabled.

Change-Id: Id8d4553da25491a3d0a97e8d44e21340b41bc09c
/external/vulkan-validation-layers/loader/trampoline.c
c89bef400b298e4aa7106c942f71b1f82801bf4b 03-Mar-2017 Mark Young <marky@lunarg.com> loader: Fix several leaks

Fix several leaks caught by Valgrind. This change should fix all
memory leaks caught by David Hubbard in pull-request #811.

Change-Id: I55d7f3a6abbc32fde182702c4b9cf1041107c6df
/external/vulkan-validation-layers/loader/trampoline.c
7b06221f2c4cb2205e0363afe1ce59b81aa144a1 28-Feb-2017 Mark Young <marky@lunarg.com> vulkan: update to header 1.0.42

Updated all necessary files to 1.0.42. This includes the various
headers as well as the loader, and the parameter validation, object
tracking, and threading layers. Additionally, bump all layer JSON
files to 1.0.42.

Also, in this change:
- Enable loader extension automation so that the loader now
generates all extension entry-points automatically during build
to reduce likelihood of missing a critical piece on header
update.
- Enable layer dispatch table extension automation for the same
reason.
- Fixes from Mark Lobodzinski and Tony Barbour to resolve crash
in loader when working with Intel's Windows driver due to
GetInstanceProcAddr getting called on inappropriate command
names.

Change-Id: Ic18d3fac2e145c386c0192031deb5089c91a00d8
/external/vulkan-validation-layers/loader/trampoline.c
cc7c305c82f6443c324165edb7af59f60fc87eeb 26-Jan-2017 Mark Lobodzinski <mark@lunarg.com> repo: Clang-format LVL source files using Google

Switch clang-format standard from the LLVM style to the
Google style for more consistency.

Change-Id: I247c4abc275d7873a91522e1e234198adaa24033
/external/vulkan-validation-layers/loader/trampoline.c
bc9caa57c5583dfdf05198e78b78a7cb361da16c 26-Jan-2017 Mark Lobodzinski <mark@lunarg.com> repo: Clang-format c/cpp/h LVL files using LLVM

Bring all source files in the repo up to date with consistent
coding style/standard.

Change-Id: Iceedbc17109974d3a0437fc4995441c9ad7e0c23
/external/vulkan-validation-layers/loader/trampoline.c
a0e9f396a87159e1a99a6b455d2e555b6d2e5689 24-Jan-2017 Mark Young <marky@lunarg.com> loader: Fix EnumPhysDev bug

Fix a bug found by Piers with regards to vkEnumeratePhysicalDevices.
Basically, if the application called the function without first
calling it with NULL pPhysicalDevices, the count would be wrong.

Change-Id: If3a4ba60b17c64df2133d31d3692ee6da21c6a01
/external/vulkan-validation-layers/loader/trampoline.c
b5f087aec8b42faee128c5c3dd1cb11b662d85aa 20-Jan-2017 Mark Young <marky@lunarg.com> loader: Update the loader to 1.0.39

Add new extensions for 1.0.39. Also, updated layers to include
minimal set of functionality for 1.0.39 extensions. Extensions include:
- VK_KHR_get_physical_device_properties2
- VK_KHR_shader_draw_parameters
- VK_EXT_direct_mode_display
- VK_EXT_display_surface_counter
- VK_EXT_display_control

Also, redo the LoaderAndLayerIf document.

Change-Id: I10412086da7a798afe832a3892e18f606259b5af
/external/vulkan-validation-layers/loader/trampoline.c
d4dc58b9ae008d6fad2eb24602b61a75b3186423 12-Jan-2017 Mark Young <marky@lunarg.com> loader: Modify EnumPhysDev functions

Modify the loader's trampoline and terminator
vkEnumeratePhysicalDevice functions to utilize helper functions.
Also, fix the failure in CTS.

Change-Id: Id9356fffd42f878c660ac8ee831e7527cce608bd
/external/vulkan-validation-layers/loader/trampoline.c
3d3bb162302a23672ce71af893250ccdaaec5385 10-Jan-2017 Mark Young <marky@lunarg.com> loader: Add more logging messages

Add more logging messages on Error cases to help debugging.

Change-Id: I78b6bd7c73d7234283bf94d745c8733d59752422
/external/vulkan-validation-layers/loader/trampoline.c
ce02a4431c7958f24f32fc2c4a1795da2924228c 24-Dec-2016 Mark Young <marky@lunarg.com> loader: EnumPhysDev fixes

Found a few issues, and I had some concerns about the physical
device values enduring over multiple queries.

Change-Id: Ifaa94a4ecf9edfc79bdd3b3d473db068952e3264
/external/vulkan-validation-layers/loader/trampoline.c
3660dc2c9ae17454a59267f301666c2aadab84bc 19-Dec-2016 Michael Jurka <mikejurka@google.com> loader: clean up comment and variable

Make one variable's name plural to clarify that it
contains more than one layer. Also, clean up a
comment that wrapped prematurely to the next line.
/external/vulkan-validation-layers/loader/trampoline.c
a4d7761efc52dd067d0d8a13688075e0df1f4bb7 22-Dec-2016 Lenny Komow <lenny@lunarg.com> loader: Fix out of memory in enumerate phys devs

Change-Id: I9f25875f065f7db58f9c8841965ba1f2f974de90
/external/vulkan-validation-layers/loader/trampoline.c
916eef7baab2463a0688cd88ed02ace6daa503a4 20-Dec-2016 Lenny Komow <lenny@lunarg.com> loader: Update tramp phys devices dynamically

Change-Id: I693598b5c9f72ecee10661e3af9420941b2bd67c
/external/vulkan-validation-layers/loader/trampoline.c
566fa17b074af651bc173f7cf87978ec053345b3 14-Nov-2016 Mark Young <marky@lunarg.com> loader: Fix pointer dereference issue.

I was setting a value after the object containing it was deleted.

Change-Id: I8c41d454d3f9c89144e876c5b9feaf32af6e2500
/external/vulkan-validation-layers/loader/trampoline.c
9510c1446e1a9891b57de0baba6cb298b2890893 07-Nov-2016 Mark Young <marky@lunarg.com> loader: gh1120/gh1134 - Object wrapping issues

First issue was that we needed to override vkGetDeviceProcAddr. Instead
of allowing this to always go directly to the ICD, we needed to intercept
a few commands because they require a loader trampoline and terminator
call. Most commands still return a pointer directly to ICD command.

GH1120 - Unwrap both the physical device handles and the
KHR_surface handles in the loader during both the trampoline and
terminator calls for DebugMarker commands. This has to be done since the
values given to an application are the loader trampoline versions, and the
values given to the last layer is the loader terminator versions.

GH1134 - We were passing down the wrong device object to the ICD functions
when querying the ICD command function address and comparing it in the
override functions.

Thanks to Baldur (Mr. Renderdoc) for discovering this, testing my
fixes, and resolving several bugs.

Change-Id: I7618d71ffee6c53d9842758210a9261f6b3a1797
/external/vulkan-validation-layers/loader/trampoline.c
9df25fd79d24280e2cd3e86e3d56ed135d807d70 03-Nov-2016 Mark Young <marky@lunarg.com> loader: Rename icd and physical device vars

Clean up the names of the icd and physical device structs, lists, and
variables used throughout the loader. Before, it was hard to tell where
the item was to be used appropriately. Now, the names include a hint as
to where they are expected to be allocated, freed, and used.

Also, fixed a bug where we were using a trampoline item in a terminator
function, which caused issues. Thanks to Piers @ Nvidia for discovering
this.

Change-Id: If98628a5496e9f645eff94b73e80ae7f8408f7b4
/external/vulkan-validation-layers/loader/trampoline.c
609c7c1f222f3243f313bb59cf9210466a719530 16-Sep-2016 Mark Young <marky@lunarg.com> loader: More changes for gh181

With Piers' fix, another path was broke because we still needed
to intercept the call before it went to the ICD. Now, with his
change and this change, all paths work.

Also, clean up some code based on comments from Ian and Courtney
reviews.

Finally, update docs to indicate behavior of new loader 3
interface with ICDs.

Change-Id: I2d3f962baffb21c1edeb93b132ffad40f298c8e7
/external/vulkan-validation-layers/loader/trampoline.c
bc1d21da9899fec48f60166a1a1bff23f7d02317 14-Sep-2016 Piers Daniell <pdaniell@nvidia.com> loader: Fixes for ICD vk{Create|Destroy}SurfaceKHR

Need to keep VkIcdSurface private to the loader.

The definition may conflict with some redefinitions of
VK_DEFINE_NON_DISPATCHABLE_HANDLE and it's not necessary to make public
anyway.

Change-Id: I30e166f0ecce2fd3ea36c745dc073b705973d75f
/external/vulkan-validation-layers/loader/trampoline.c
c1ee6940c9aef4be9b8d391dca2ca1ac7361a4c4 28-Jun-2016 Mark Young <marky@lunarg.com> loader: gh181 use ICD for SurfaceKHR

Use the ICD to create and destroy VkSurfaceKHR objects instead
of just performing the work in the ICD. This only occurs if the ICD
exports the appropriate entry-points, and exposes version 3 of the
loader/icd interface.

Change-Id: I5e7bf9506318823c57ad75cf19d3f53fdfa6451e
/external/vulkan-validation-layers/loader/trampoline.c
4b0c7df3980851c6e872437860ac88a98b34c8c5 25-Aug-2016 Mark Young <marky@lunarg.com> loader: gh851 wrap debug report callbacks

Allow layers to wrap the debug report callbacks so they can
enable more messaging than the application, but also filter
the items returned.

Change-Id: I3fe8feecfa1838869de8a7338ff610e5ebca2e61
/external/vulkan-validation-layers/loader/trampoline.c
7cb441ad98af7d515d934db466d07e16ff624a31 29-Aug-2016 Mark Lobodzinski <mark@lunarg.com> loader: Add support for NV instance extension

Added vkGetPhysicalDeviceExternalImageFormat API from the
VK_NV_external_memory_capabilities extension to the loader.

Change-Id: Ib87df7bae333d7944a4e181556bc2f99e1e19416
/external/vulkan-validation-layers/loader/trampoline.c
6823cbc749c03381b1ff8af6ff9f467aed78e540 19-Aug-2016 Mark Young <marky@lunarg.com> loader: Fix CTS failures in simulate_oom tests.

The simulate_oom tests continue the trend of testing what happens
when the user-provided allocators fail. It validates two things:
1) That the loader returns the proper error message when this
occurs.
2) That the loader cleans up any allocated items prior to
returning.

Change-Id: Ic80ff4345e1f3524d5e11ce787b10c391a37d760
/external/vulkan-validation-layers/loader/trampoline.c
d57cbc6d873724166440455215d4672aa589e5d7 01-Aug-2016 Mark Young <marky@lunarg.com> loader : Fix segfault in vulkaninfo

Last commit introduced a segfault in VulkanInfo. This corrects it.

Change-Id: Ie4115bbe24191bdad9f539e5d9b1658982417f51
/external/vulkan-validation-layers/loader/trampoline.c
8304a3146414ae4f43fb0e110f27c4b16c9eab52 28-Jul-2016 davidhubbard <davidhubbard@users.noreply.github.com> loader: gh571 vkEnumerateInstanceLayerProperties()

This fixed a memory leak.

Steps to reproduce:
Run valgrind --leak_check=full on a this test file:
```

int main() {
uint32_t layerCount = 0;
vkEnumerateInstanceLayerProperties(&layerCount, nullptr);
printf("layerCount=%u\n", layerCount);
return 0;
}
```

valgrind output will look like:
```
==PID==
==PID== 49,920 bytes in 6 blocks are definitely lost in loss record 57 of 58
==PID== at 0x40307C4: malloc (vg_replace_malloc.c:270)
==PID== by 0x4A2B5F3: loader_instance_heap_alloc (loader/loader.c:178)
==PID== by 0x4A2CB0D: loader_init_generic_list (loader/loader.c:858)
==PID== by 0x4A2CBDE: loader_add_to_ext_list (loader/loader.c:889)
==PID== by 0x4A30A32: loader_read_json_layer (loader/loader.c:2311)
==PID== by 0x4A31373: loader_add_layer_properties (loader/loader.c:2509)
==PID== by 0x4A3286F: loader_layer_scan (loader/loader.c:3032)
==PID== by 0x4A38DFC: vkEnumerateInstanceLayerProperties (loader/trampoline.c:239)
==PID==
```

The fix is simple: vkEnumerateInstanceLayerProperties() in loader/trampoline.c should call loader_delete_layer_properties(), not loader_destroy_layer_list() in both places it frees resources associated with the instance_layer_list.

Change-Id: I3275195dd27703c2747971288327d546efe5ed25
/external/vulkan-validation-layers/loader/trampoline.c
fecd6dc267cfb15c5fca6af789058ca511e99124 06-Jul-2016 Jeremy Hayes <jeremy@lunarg.com> loader: return incomplete when count < available

The list was being destroyed before the check.

Change-Id: I500a22c8e2fffa8c852235f688026cd80f84088d
/external/vulkan-validation-layers/loader/trampoline.c
6fab3cddff1a279fcc1dc74e5b1ff28a3fb0a9b7 11-Jul-2016 Karl Schultz <karl@lunarg.com> misc: Update to Vulkan header version 20

Changes:
vulkan.h
json files
linux SO version
loader and tests to reflect API change in vkCmdUpdateBuffer
vk.xml to match Vulkan-Docs

Change-Id: I1763bca6fccf619ad8e76c0363f68fa38ad69900
/external/vulkan-validation-layers/loader/trampoline.c
74d013a5438f47a66a77d5375d1cdeef3f0beca7 30-Jun-2016 Mark Young <marky@lunarg.com> loader: GH370 - re-enable allocator usage

This reverts commit 5876cc2b7563f909c8ac8cb49f51f7ef715877f8.

This adds the previous fixes as well as additional fixes if Implicit
layers aren't present. This is not a case that gets tested on Windows
as most SDK installs have at least 1 Implicit layer (RenderDoc).

This change passes an individual run on Jenkins Linux system.

Change-Id: I466cc54b72946e2a9f6477bd4c3d4e4e72eb9579
/external/vulkan-validation-layers/loader/trampoline.c
5876cc2b7563f909c8ac8cb49f51f7ef715877f8 30-Jun-2016 Mark Young <marky@lunarg.com> Revert "loader: GH370 - re-enable allocator usage"

This reverts commit 0860f9dbac51b241a9690d23b53db14f307b0181.
/external/vulkan-validation-layers/loader/trampoline.c
0860f9dbac51b241a9690d23b53db14f307b0181 30-Jun-2016 Mark Young <marky@lunarg.com> loader: GH370 - re-enable allocator usage

Re-enable reverted changes done in commit
d6f491b88eaf11f6953c02638d079f6a76806658. But also include
fixes for the Linux and Windows release runs.

Change-Id: I7644bb305faab068b3229eb9c1d8a67b052af165
/external/vulkan-validation-layers/loader/trampoline.c
d6f491b88eaf11f6953c02638d079f6a76806658 30-Jun-2016 Chris Forbes <chrisforbes@google.com> Revert "loader: GH370 - re-enable allocator usage"

This reverts commit aa32dbbf147d86257a0c9e091258e0ea2be5a013.

This is broken in both debug and release 64bit linux.
/external/vulkan-validation-layers/loader/trampoline.c
aa32dbbf147d86257a0c9e091258e0ea2be5a013 03-Jun-2016 Mark Young <marky@lunarg.com> loader: GH370 - re-enable allocator usage

Re-enable the allocator usage in the loader. Also, fix several
memory leaks. The leaks were especially noticeable during the Vulkan
conformance object_management.alloc_callback_fail.instance and
object_management.alloc_callback_fail.device tests because the
tests were designed to intentionally fail the Alloc calls.

This change now fully passes the Vulkan CTS
object_management.alloc_callback_fail tests when the loader
uses application-provided Allocators.

Change-Id: I03f2a09bc33259442e02c917a34d78f8937808d8
/external/vulkan-validation-layers/loader/trampoline.c
7a5e4c7b7aa31bb361d14525586407d173f6dac9 16-May-2016 Jon Ashburn <jon@lunarg.com> loader: deprecate device layers

Change-Id: I43c279e36368bf1ef9a2f446007e34366bfff777
/external/vulkan-validation-layers/loader/trampoline.c
386171115bf6db105c2231030f3e14a380a41ad9 21-Apr-2016 Jeremy Hayes <jeremy@lunarg.com> loader: fix LX475

Silently ignore VK_NULL_HANDLE in DestroyInstance/Device.

Change-Id: I96305088db75932b6f3f824852db9c72b8352120
/external/vulkan-validation-layers/loader/trampoline.c
9f3ab1b81e51be8645af662e473231af1fef5098 20-Apr-2016 Jon Ashburn <jon@lunarg.com> loader: ghlvl 361, Simplify library resource handling

Layer and ICD libraries are opened and closed as needed. No ref counting,
no knowledge of if a library contains multiple layers or ICDs.

Change-Id: Ie88b671cd1671187a42d3d838d20e3af1afc67cc
/external/vulkan-validation-layers/loader/trampoline.c
43b53e83705f02245da6ae61e31273866a35b833 19-Apr-2016 Jon Ashburn <jon@lunarg.com> misc: Update licenses to Apache 2.0

Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
/external/vulkan-validation-layers/loader/trampoline.c
9b2a8c927eea827c93a84f73a15dba37b8a7ef0a 15-Apr-2016 Jon Ashburn <jon@lunarg.com> loader: Run clang-format

Last several commits to loader weren't run through it.

Change-Id: I512b2df75c7831ee6433e4c60c6664db85184584
/external/vulkan-validation-layers/loader/trampoline.c
8f57724afa5d892c209a8129af846da4e8773389 12-Apr-2016 Jeannot Breton <jbreton@nvidia.com> loader: dont free and reallocate physical devices

Change-Id: I68ac2681b7c4923213c65dc720f54d81a36c99ef
/external/vulkan-validation-layers/loader/trampoline.c
e178310139ec28195838ce8c2dd91a72d79c5bcb 08-Apr-2016 Jon Ashburn <jon@lunarg.com> loader: ghlvl #66, Ensure std_validationadvertises underlying layer extensions

Change-Id: If6b6b24fdf02b960c83148bd002114941eb1adc6
/external/vulkan-validation-layers/loader/trampoline.c
eef20d02b312161d67ea0a27d8ddbbae34831363 06-Apr-2016 Chris Forbes <chrisforbes@google.com> loader: Don't scribble on caller memory in CreateInstance,CreateDevice

expand_... / unexpand_... scribbled on both the CreateInfo struct and
the list of layer strings, and then unscribbled them on the way back
out. This is a lousy thing to do, and just blows up if the memory isn't
writable (which it needn't be, given the API takes ptrs to const).

Instead, copy the *CreateInfo into a shadow struct on the stack, and be
careful in expand_layer_names never to scribble on the caller's layer
names array.

V2: slight tweak (missed initializer)

Signed-off-by: Chris Forbes <chrisforbes@google.com>
/external/vulkan-validation-layers/loader/trampoline.c
0005c0c8d472740a215bb82d5a639442bd7e7001 01-Apr-2016 Jeremy Hayes <jeremy@lunarg.com> loader: report implicit instance extensions

GL74: vkEnumerateInstanceExtensionProperties should report implicit
instance extensions when pLayerName is NULL or an implicit layer name.

Change-Id: Iba7664a168e146c4b862468b6255cdc752cc8c77
/external/vulkan-validation-layers/loader/trampoline.c
01b7832181f630089b0ead23580d38595ec8437e 31-Mar-2016 Ian Elliott <ianelliott@google.com> loader: vk{Create|Destroy}Instance can have multiple tmp callbacks

During code review of the Android version of the temporary debug_report
callbacks code, it was decided to allow an array of
VkDebugReportCallbackCreateInfoEXT structs to be passed to vkCreateInstance().
This code implements that, using some new utility functions in order to help
keep the code clean.
/external/vulkan-validation-layers/loader/trampoline.c
fc50041e3c1158ef23e590f3ebc9fbaa712b7393 29-Mar-2016 Piers Daniell <pdaniell@nvidia.com> loader: Remove trampoline/terminator dependency in vkEnumeratePhysicalDevices

There was a dependency between the trampoline vkEnumeratePhysicalDevices
and the terminator vkEnumeratePhysicalDevices via the
loader_instance.phys_devs_term array which may break layers that
manipulate the enumerated VkPhysicalDevice list. This dependency assumed
the devices in loader_instance.phys_devs_term and
loader_instance.phys_devs were in the same order and that it could
assume the index of one corresponding to the same VkPhysicalDevice of
the other.

Breaking this dependency allows layers to modify or reorder the
VkPhysicalDevice list by intercepting the vkEnumeratePhysicalDevices
function without causing the loader to crash. In general, there should
never be a dependency between the trampoline code and the terminator
code because it has the potential to break unknown layers between them.

Conflicts:
loader/loader.c
loader/trampoline.c

Change-Id: Iafefd6e8b7dd58d398a76533f957123242c01b56
/external/vulkan-validation-layers/loader/trampoline.c
906f865e625fcf671009f6fb8c2c108977e2611e 31-Mar-2016 Piers Daniell <pdaniell@nvidia.com> loader: Trampoline vkEnumeratePhysDev should use layer-returned physDev count

Modify the trampoline vkEnumeratePhysicalDevices() implementation to
enumerate the number of physical devices based on what the top-most
layer reports and not what the terminator_EnumeratePhysicalDevices
counted. This allows intermediate layers to modify the physical device
count.

Change-Id: Ifd5c3c8c4db53cf97b976feefe18de7cfef47e35
/external/vulkan-validation-layers/loader/trampoline.c
a8615162dc9650e595c6a8b95a84395bad471d80 25-Mar-2016 Ian Elliott <ianelliott@google.com> loader: Fix bugs found in code review.
/external/vulkan-validation-layers/loader/trampoline.c
1c3b1862baa457d78010b3e1d9e8eacd5fa5a314 25-Mar-2016 Ian Elliott <ianelliott@google.com> loader: Setup temporary callback for vkDestroyInstance
/external/vulkan-validation-layers/loader/trampoline.c
3c4a114050d5a9edd1b01a1a2a47be905c8be21f 24-Mar-2016 Jon Ashburn <jon@lunarg.com> loader: ghlvl 116 Fix CreateDevice to use the proper ICDs PhysDev

This is needed for querying extensoins from the ICD.

Change-Id: I5655d33d15bf0ea6de506f81821a30dd81ca3d5a
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.c
7ec85cdb9e8526f0eea01e1782c4c03bfbd9677c 11-Feb-2016 Jon Ashburn <jon@lunarg.com> loader: rerun clang-format on some files
/external/vulkan-validation-layers/loader/trampoline.c
3cd96a2da93fa325b0d51369388f9b93798f6c80 10-Feb-2016 Karl Schultz <karl@lunarg.com> Remove Khronos confidential clause from license text.
/external/vulkan-validation-layers/loader/trampoline.c
c882eee531c883bdcb637549d9077e7dbb43b699 03-Feb-2016 Mark Lobodzinski <mark@lunarg.com> loader: Null-terminated string checks
/external/vulkan-validation-layers/loader/trampoline.c
4a54a7431f95f841bcec7d4c1bc79d818ac721d4 03-Feb-2016 Andrzej Kotlowski <Andrzej.Kotlowski@intel.com> loader: GL120, move critical section to cover loader_get_icd_and_device
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.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/trampoline.c
d13241aec02359da536d0d9951827d365ae065c8 25-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Disable using CreateInstance allocation callbacks

Workaround for cts to work.
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
5e5065eaa77e5b695a6aac860909bc3f6ce99765 15-Jan-2016 Courtney Goeltzenleuchter <courtneygo@google.com> loader: remove resolved TODOs
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
ebbfd5b20d7db4cd8b16e50d777b0529e65ccb61 18-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Return the loader created instance rather than from the instance chain

Fix's issue with layers that wrap instance.
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
2954dae5bddd8d0686e5baff6f4f3dc7b4e3d2bc 12-Jan-2016 Jon Ashburn <jon@lunarg.com> loader: Fix so unwrapped instance gets used for layer instance extension dispatch

Conflicts:
loader/trampoline.c
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
a4ae48bfd6f2e2a80e1f92e054a007cf90a4e218 11-Jan-2016 Jon Ashburn <jon@lunarg.com> misc: Move to Vulkan header version 0.222
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
f25165255ccfd9bce7c80b77942fc4f2132947a2 30-Dec-2015 Jon Ashburn <jon@lunarg.com> misc: rename startXXX to firstXXX and add firstXXX param to setviewport/scissor

Header file changes going to 213 version
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
6d8be2d0c311c6faad596822ca641cc02eca1b67 03-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> loader: use callbacks from CreateInstance

If an application links a VkDebugReportCreateInfo
structure to the InstanceCreateInfo structure the
loader will log the callback for the duration of
the CreateInstance call. This allows the app
to catch any loader issues detected at CreateInstance
time.
/external/vulkan-validation-layers/loader/trampoline.c
15436c1ce3f69268ce3aeea520c16935f9f597e8 02-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> loader: utils for managing debug report events

Now need to create & destroy callbacks as part of
vkCreateInstance, so refactor debug_report entries
into API function and work function that can be
used from the loader.

Conflicts:
loader/debug_report.c
/external/vulkan-validation-layers/loader/trampoline.c
ebbb96d9efd5db51afa9b392c3026a4834c978e7 02-Dec-2015 Courtney Goeltzenleuchter <courtneygo@google.com> misc: Update copyright statements
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
a81e8ac0c34d96ed4e81c95f108e80c3e97bd9f9 30-Oct-2015 Ian Elliott <ian@lunarg.com> loader: Started porting loader to new WSI (GIPA missing).
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
0ee0ca095d9dfff2b0493047fd74f3bae0160305 11-Nov-2015 Chia-I Wu <olv@lunarg.com> bug 15120: rename vkCmdPushConstants "values" to "pValues"

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15120
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.c
8a17da586c0f31c72aefe229449d55ea18682be9 29-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> misc: switch copyright to Valve
/external/vulkan-validation-layers/loader/trampoline.c
50c57efd215d2bc06616b7707d460c7a1b8b7774 29-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> misc: Remove Vulkan name from Copyright
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.c
062ad15850af42c5e45ec9dfb961ff243a6e8923 30-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14608: VkShaderModule object lifetime (WIP)

Remove VkShader. We add a simple cache to intel_shader_module in place of
intel_shader.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14608
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.c
c51b121913d6f21ccefb3f7595178d3c87e11de4 27-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14918 part 3: sed renames

s/VK_MAX_PHYSICAL_DEVICE_NAME\b/VK_MAX_PHYSICAL_DEVICE_NAME_SIZE/g
s/VK_UUID_LENGTH/VK_UUID_SIZE/g
s/VK_MAX_EXTENSION_NAME\b/VK_MAX_EXTENSION_NAME_SIZE/g
s/VK_MAX_DESCRIPTION\b/VK_MAX_DESCRIPTION_SIZE/g
s/VK_STRUCTURE_TYPE_PIPELINE_RASTER_STATE_CREATE_INFO/VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO/g
s/VK_CHANNEL_SWIZZLE/VK_COMPONENT_SWIZZLE/g
s/VkChannelSwizzle/VkComponentSwizzle/g
s/VK_VERTEX_INPUT_STEP_RATE/VK_VERTEX_INPUT_RATE/g
s/VkVertexInputStepRate/VkVertexInputRate/g
s/VK_FILL_MODE_SOLID/VK_POLYGON_MODE_FILL/g
s/VK_FILL_MODE_WIREFRAME/VK_POLYGON_MODE_LINE/g
s/VK_FILL_MODE_POINTS/VK_POLYGON_MODE_POINT/g
s/VkFillMode/VkPolygonMode/g
s/fillMode/polygonMode/g
s/VkBlend\b/VkBlendFactor/g
s/VK_BLEND_ZERO/VK_BLEND_FACTOR_ZERO/g
s/VK_BLEND_ONE/VK_BLEND_FACTOR_ONE/g
s/VK_BLEND_SRC/VK_BLEND_FACTOR_SRC/g
s/VK_BLEND_DST/VK_BLEND_FACTOR_DST/g
s/VK_BLEND_CONSTANT/VK_BLEND_FACTOR_CONSTANT/g
s/VK_RENDER_PASS_CONTENTS/VK_SUBPASS_CONTENTS/g
s/VkRenderPassContents/VkSubpassContents/g
s/VK_QUEUE_DMA_BIT/VK_QUEUE_TRANSFER_BIT/g
s/VK_CHANNEL_/VK_COLOR_COMPONENT_/g
s/VkChannelFlagBits/VkColorComponentFlagBits/g
s/VK_QUERY_CONTROL_CONSERVATIVE_BIT/VK_QUERY_CONTROL_PRECISE_BIT/g
s/occlusionQueryNonConservative/occlusionQueryPrecise/g
s/recommendedBufferCopyOffsetAlignment/optimalBufferCopyOffsetAlignment/g
s/recommendedBufferCopyRowPitchAlignment/optimalBufferCopyRowPitchAlignment/g
s/stencilCompareMask/compareMask/g
s/stencilWriteMask/writeMask/g
s/stencilReference/reference/g
s/VkImageSubresourceCopy/VkImageSubresourceLayers/g
s/typeCount/poolSizeCount/g
s/pTypeCounts/pPoolSizes/g
s/VkDescriptorTypeCount/VkDescriptorPoolSize/g
s/srcBlendColor/srcColorBlendFactor/g
s/dstBlendColor/dstColorBlendFactor/g
s/blendOpColor/colorBlendOp/g
s/srcBlendAlpha/srcAlphaBlendFactor/g
s/dstBlendAlpha/dstAlphaBlendFactor/g
s/blendOpAlpha/alphaBlendOp/g
s/channelWriteMask/colorWriteMask/g
s/stencilFailOp/failOp/g
s/stencilPassOp/passOp/g
s/stencilDepthFailOp/depthFailOp/g
s/stencilCompareOp/compareOp/g
s/stencilCompareMask/compareMask/g
s/stencilWriteMask/writeMask/g
s/stencilReference/reference/g
s/originX/x/g
s/originY/y/g
s/stepRate/inputRate/g
s/VkChannelMapping/VkComponentMapping/g
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
7e470703805a7c93655ea18f553e225e84356429 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14918 part 2: some simple renames (WIP)

s/VK_QUEUE_SPARSE_MEMMGR_BIT/VK_QUEUE_SPARSE_BINDING_BIT/g
s/VK_SPARSE_IMAGE_FMT_/VK_SPARSE_IMAGE_FORMAT_/g
s/maxTexelBufferSize/maxTexelBufferElements/g
s/residencyStandard2DMSBlockShape/residencyStandard2DMultisampleBlockShape/g
s/formatProps/formatProperties/g
s/strideInBytes/stride/g
s/offsetInBytes/offset/g
s/blendConst\b/blendConstants/g
s/fillSize/size/g

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14918
/external/vulkan-validation-layers/loader/trampoline.c
483e770c13be093ac073cda18817b03f2f0c05db 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14892 part 2: rename more "count" (WIP)

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892
/external/vulkan-validation-layers/loader/trampoline.c
3ffcd73338dfeb8c3d9da4f5ba388311aad0d49f 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14918 part1: consistency/cleanup ideas (from jbolz/pdaniell/dkoch) (WIP)

Change alignment types and replace byRegion by VkDependencyFlags.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14918
/external/vulkan-validation-layers/loader/trampoline.c
06809d58354b8091be6772da09b8c1b3b93198c1 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14848: Verifying Sparse Behavior (WIP)

Merge vkQueueBindSparse*() to one.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14848
/external/vulkan-validation-layers/loader/trampoline.c
3603b0843e868bd46b11eaf1d64ccdb260599609 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14543: rename VkTex* enums to VkTexture* similarly for VK_TEX_* to VK_TEXTURE_* (WIP)

s/VK_TEX_FILTER_/VK_FILTER_/g
s/VkTexFilter/VkFilter/g
s/VK_TEX_MIPMAP_MODE_/VK_SAMPLER_MIPMAP_MODE_/g
s/VkTexMipmapMode/VkSamplerMipmapMode/g
s/VK_TEX_ADDRESS_MODE_/VK_SAMPLER_ADDRESS_MODE_/g
s/VkTexAddressMode/VkSamplerAddressMode/g
s/mipMode/mipmapMode/g

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14543
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.c
932f1bd6f761d7d2466c53f50e34609114e56749 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14909: Define "length" as it relates to push constants be in units of bytes not words (WIP)

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14909
/external/vulkan-validation-layers/loader/trampoline.c
8f6fd6e5dc034c65fe97e9fccb2cafcaee1613ed 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14876: Can timestamps be written inside a renderpass? (WIP)

Timestamps are written to a query pool.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14876
/external/vulkan-validation-layers/loader/trampoline.c
11dd12fb816317bdb6a174db59d25416fba67c33 26-Oct-2015 Chia-I Wu <olv@lunarg.com> MR 461: Documented updated vkQueueSubmit and remove wait + signal semaphore operations on queues. (WIP)

https://gitlab.khronos.org/vulkan/vulkan/merge_requests/461
/external/vulkan-validation-layers/loader/trampoline.c
59c215d5fe27c1fd8da2a14be6e144d40f2cd6b4 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14868: Replace VkTimestampType with VkPipelineStageFlagBits (WIP)

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14868
/external/vulkan-validation-layers/loader/trampoline.c
28c3c433c6c37266bae77084c145f06f59aaa879 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14855: vkGetPipelineCacheSize is unique (consistency issue) (WIP)

Update vkGetPipelineCacheData() to replace vkGetPipelineCacheSize().

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14855
/external/vulkan-validation-layers/loader/trampoline.c
fa950c5a4c7283897b7b86fc8de50c2c9936db79 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14365: Rename slopeScaledDepthBias to depthBiasSlopeScaled (WIP)

s/slopeScaledDepthBias/depthBiasSlopeFactor/g
s/depthBias\b/depthBiasConstantFactor/g

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14365
/external/vulkan-validation-layers/loader/trampoline.c
1f6942dceacfb1892202a3b2dcb0ed84ec7169d1 26-Oct-2015 Chia-I Wu <olv@lunarg.com> bug 14844: Query Pool issues (WIP)

We did not and still do not honor the stride nor flags.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14844
/external/vulkan-validation-layers/loader/trampoline.c
831c183417705004ea225726d450b7259e7384c7 23-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14258: Make descriptor pools and command pools more consistent
/external/vulkan-validation-layers/loader/trampoline.c
a12e29179a1ca44eb6bbc0c03850b1bf02398081 16-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> misc: Change clear rectangle to include array layer/count

commit: 53a511d
/external/vulkan-validation-layers/loader/trampoline.c
3ec31629900b5a52fa112d6670ffb6771fe9adca 21-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14746: add batched submit for semaphores and command buffers
/external/vulkan-validation-layers/loader/trampoline.c
01d2ae18f05184e04eb29a2ab30480f8d4660d25 21-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> Bug 14621: Change vkGet* functions to not return VkResult
/external/vulkan-validation-layers/loader/trampoline.c
0ed02cf2dbeb42e2ff4fdf25583316f6850b72aa 16-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14580: add dataSize to vkGetPipelineCacheData

commit: aaa2ae0
/external/vulkan-validation-layers/loader/trampoline.c
9feb073965d9c1c1f419045940af5753dd3c41d9 16-Oct-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14291: combine color and depth/stencil clears
/external/vulkan-validation-layers/loader/trampoline.c
19d11ea7a8ebc699b94b549c97543b0ee5673602 09-Oct-2015 Jon Ashburn <jon@lunarg.com> Loader: Fix locking bug in CreateInstance
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
4ff11cc681bf32052b69573eb1418173f6b0262b 23-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14715: DrawIndirect fix

This patch contains fixes to structure layout for draws.
These structures are accessed by HW and must be in a specific order.
This change also includes reordering of the parameters for
vkCmdDraw and vkCmdDrawIndexed.
/external/vulkan-validation-layers/loader/trampoline.c
932cdb54a622f4ca69a25071eecbac235b4dc16f 21-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug 14365: make separate viewport and scissor cmds
/external/vulkan-validation-layers/loader/trampoline.c
09772bb64bc1c6577edef89074cbd9132191f402 17-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug 14365: replace dynamic state objects

This is phase 1 of the replacement of dynamic state objects.
In this commit we remove the create and destroy functions
and rename the CmdBind... with CmdSet...
/external/vulkan-validation-layers/loader/trampoline.c
d9e966aac83c28e7f6ac6535f695c9a7c06f667d 17-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> Bug 14644 - add poolUsage/maxSets to VkDescriptorPoolCreateInfo

Bug 14644 - vkCreateDescriptorPool should have poolUsage/maxSets as part of VkDescriptorPoolCreateInfo
merge request #342
/external/vulkan-validation-layers/loader/trampoline.c
315ad996d8b5c2edc487b85ea34b50eeca03b831 16-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> Bug 14643: use VkClearDepthStencilValue
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
7fe76388171fe7bb76d110ae563d41fc9eb45cf2 15-Sep-2015 Jon Ashburn <jon@lunarg.com> loader: Remove windows disable of global optimization.

Now that vktrace now longer uses mhook, can reenable global optimize on Windows.
/external/vulkan-validation-layers/loader/trampoline.c
83c95f8a24c7785ab644c0dc2b2031d39e5a24d7 10-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug 14537: Improve VkImageFormatProperties
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.c
1856d6f9294c7f9544cb58823fbfddef1546229d 02-Sep-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> Bug 14522: Remove VkAttachmentView

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14522
Several parts of the driver really want an attachment view
so I've included the attachment information in the
intel_img_view structure and initialize both when the
view is created.
Parts of the meta path only need intel_att_view and
I kept that in place.
/external/vulkan-validation-layers/loader/trampoline.c
e4bc6948ada94c7fe0b35a89dbc2542ec4f791a2 26-Aug-2015 Cody Northrop <cody@lunarg.com> v156: Bug 14451 - Rename dynamic state objects
/external/vulkan-validation-layers/loader/trampoline.c
2605cb05ec149b2e2668540501dc79c71b6a67e9 18-Aug-2015 Cody Northrop <cody@lunarg.com> Bug 14406: Add support for front/back stencil reference dynamic state
/external/vulkan-validation-layers/loader/trampoline.c
f5bd2253ff4114ac446f8eb820e78d56f711020f 17-Aug-2015 Cody Northrop <cody@lunarg.com> Bug 14323: RasterLine and RasterDepthBias changes
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.c
ef72e2a7cf4fa5708fdbfbc1c972a24ad0dbf809 04-Aug-2015 Cody Northrop <cody@lunarg.com> v140: Bug 14251 - Inconsistencies in the definition of queries
/external/vulkan-validation-layers/loader/trampoline.c
c8aa4a5cf5902e22b99d0107164ac43c6c7c4e5d 03-Aug-2015 Cody Northrop <cody@lunarg.com> v139: Bug 14257 - Remove pCount parameter from vkAllocDescriptorSets
/external/vulkan-validation-layers/loader/trampoline.c
a375b624c433613a3b5243dfabe342a97bcd1d67 27-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> vulkan: Add vkCmdPushConstants entry point

This patch fixes LunarXchange issue #84.
Also adds corresponding stub entry point to the Intel
sample driver.
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.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/trampoline.c
82b348f920f7be3cd791979ec3dbacf349e320ca 12-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> v133: Update parameters on CmdPipelineBarrier
/external/vulkan-validation-layers/loader/trampoline.c
d9ba3426f8d2da6cdcf17d34c8e7b8fc70e24889 12-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> v133: Update parameter types on CmdWaitEvents
/external/vulkan-validation-layers/loader/trampoline.c
4da96aafe97eada8c0ab939dd8a8e94760b35649 12-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> v115: remove GetPhysicalDevicePerformance
/external/vulkan-validation-layers/loader/trampoline.c
f02f9f8606b4b6b1604f7efd62ec5fc5bd6dfef8 10-Jul-2015 Cody Northrop <cody@lunarg.com> icd: Support for command pools
/external/vulkan-validation-layers/loader/trampoline.c
d040c5c25acbea9cacfa90e346fe3a6095a15135 10-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14184: Transient memory allocations
/external/vulkan-validation-layers/loader/trampoline.c
b857d3163df90e77c03df4a8b91968f28d2e4b2e 10-Jul-2015 Tony Barbour <tony@LunarG.com> Bug 14248: Add vkFreeDescriptorSets
/external/vulkan-validation-layers/loader/trampoline.c
de4124da4233d201bf1d7326acf0e8bf53d5bee5 03-Jul-2015 Tony Barbour <tony@LunarG.com> Bug 14084 - Improve type safety and remove polymorphism
/external/vulkan-validation-layers/loader/trampoline.c
c278df83ca4958fda8efcf3b52e2f89c8ccd8991 07-Jul-2015 Chia-I Wu <olv@lunarg.com> update vulkan.h for multi-pass command buffers (V131, #14075)

Minimal changes to keep everything building and functioning.

TODO: Need to port draw_state to use new VkAttachmentView structure.
/external/vulkan-validation-layers/loader/trampoline.c
1f41f54bc20d57faed702aec3074eacdfc34680d 09-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> vulkan: Rename bool32_t to VkBool32

Target was v129 of the header
/external/vulkan-validation-layers/loader/trampoline.c
0d60d274605d3061e5d8ac1cf38e4e9b5ee3ff1a 09-Jul-2015 Jon Ashburn <jon@lunarg.com> misc: Support Pipeline caches and multi pipeline create, bug 14033 API changes
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.c
a17697f964118a6cc1129302bd23120f716f8d46 07-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Add validation checks to CreateDevice
/external/vulkan-validation-layers/loader/trampoline.c
5d9f29bea1609bd769a840c5f37bd26db8689e98 07-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Validate global layers requested by app
/external/vulkan-validation-layers/loader/trampoline.c
1381cd1373bbade441bbbbfdaad9af176bfb30ed 06-Jul-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Use app's alloc routines if available

Switch some of the allocations over to the app's
allocation callbacks. More to come.
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.c
7a51d9001436476d50118230d5b2a4ebcc929b79 03-Jul-2015 Tobin Ehlis <tobin@lunarg.com> loader: Rename loader_platform.h -> vk_loader_platform.h
/external/vulkan-validation-layers/loader/trampoline.c
e3105972bfdc54e2cca65acf44d4ffa8d85881f5 24-Jun-2015 Chris Forbes <chrisf@ijw.co.nz> vulkan.h: v129 -- rework clear colors, remove raw clear [#14020]

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
/external/vulkan-validation-layers/loader/trampoline.c
2951d7d57326884c44f0ecc3e8b45941f44a00ba 22-Jun-2015 Chris Forbes <chrisf@ijw.co.nz> vulkan.h: Split attachment and image clears (#13914, v126)

- Add bit flags for image aspects.
- Replace VkRect with VkRect2D and VkRect3D.
- Rename vkCmdClearDepthStencil to vkCmdClearDepthStencilImage
- Add vkCmdClearColorAttachment and vkCmdClearDepthStencilAttachment

Remaining to be done:
- Actually implement vkCmdClearColorAttachment,
vkCmdClearDepthStencilAttachment in the Intel ICD
- Enforce renderpass interactions: CmdClear*Attachment may only be
called within a renderpass; CmdClear*Image may only be called outside
a renderpass.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
/external/vulkan-validation-layers/loader/trampoline.c
88eaa3bf0c7874f8b62cf35e3b649201ecc47c36 26-Jun-2015 Chia-I Wu <olv@lunarg.com> update vulkan.h for multi-level command buffers (V121)

With minimal changes to keep everything building and functioning.
/external/vulkan-validation-layers/loader/trampoline.c
a25fce0ccc1025b2ea2036e24a1a39d60e60e3a8 01-Jul-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V117 -- Remove Atomic Counters, Bug #14081
/external/vulkan-validation-layers/loader/trampoline.c
0b29b0d0258f6a9ad46a14eb120fbb1f6dafa5a1 25-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug-14014: Allow multiple entrypoints in modules

Continue implementation of shader module.
/external/vulkan-validation-layers/loader/trampoline.c
7d878f13d1aea5ce5d2419789d1a74babd233fbc 01-Jul-2015 Tony Barbour <tony@LunarG.com> loader: Remove locks from vkGet routines

If the driver needs thread safety to answer "get" requests, it is
assumed that it will lock for itself
/external/vulkan-validation-layers/loader/trampoline.c
c2e987e09f0a47232d337e79d301ed94abc66cb5 30-Jun-2015 Tony Barbour <tony@LunarG.com> vulkan.h: Bug 14181 - Barriers need to be more precise
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
426b90566abae5716741aade41184dc4dafe4aa4 25-Jun-2015 Tony Barbour <tony@LunarG.com> vulkan.h: V108 -- Static Types, Bug# 13919
/external/vulkan-validation-layers/loader/trampoline.c
f2e33adbc951c6bf0021901623a1534b6f290102 19-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> bug 14016: Make vkResetFences take const pFences

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14016
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.c
a65c463d9b2f77e47a9e33f76fa211f63b872d5e 15-Jun-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V103 -- Add VkPipelineLayout to vkCmdBindDescriptorSets, Bug# 14047
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
eb66fee5ce38e6c9cc69199db3f2246353bc3700 16-Jun-2015 Jon Ashburn <jon@lunarg.com> misc: Remove VK_PHYSICAL_DEVICE_INFO_TYPE_DISPLAY_PROPERTIES_WSI

This is only used for getting display object which is no longer needed
since the GetDisplayInfoWSI() functions is removed
/external/vulkan-validation-layers/loader/trampoline.c
b480085ea933d5049ffac15b95f61483b0d22a8b 12-Jun-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V100 -- Remove vkClearDescriptorSets, Bug# 13783

Conflicts:
layers/draw_state.cpp
/external/vulkan-validation-layers/loader/trampoline.c
3446b5a42d003a367ceb756f87625bd19ee9f21f 16-Jun-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V99 -- Remove vkPinSystemMemory, Bug# 13926
/external/vulkan-validation-layers/loader/trampoline.c
7cb8050c2ff859f7856d20531f14217df2edcd6f 11-Jun-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V99 -- Remove vkSetMemoryPriority, Bug# 13925

Conflicts:
layers/mem_tracker.cpp
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.c
b40f2568bff91895d66848767fdaa540793b5162 29-May-2015 Jon Ashburn <jon@lunarg.com> loader: Make global functions (instance chain entrypoints) thread safe
/external/vulkan-validation-layers/loader/trampoline.c
70c4ebce8f9d97029ce782e9b0ea264611a6c63d 08-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: add debug log message
/external/vulkan-validation-layers/loader/trampoline.c
3d8dc1f0b7082672757a92ddb7f5a35be6ea6be3 08-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Fix DestroyInstance
/external/vulkan-validation-layers/loader/trampoline.c
6b8ee4121e1916c783a7f94296301f6c2e0e5fe0 08-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Remove obsolete extension / layer code
/external/vulkan-validation-layers/loader/trampoline.c
23b5f8d7681a19a940ea940381557852c4c27ecd 18-Jun-2015 Courtney Goeltzenleuchter <courtney@LunarG.com> loader: Add support for debug report
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.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/trampoline.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/trampoline.c
bfa43b7050276b411e1c194b852819da78278d77 19-May-2015 Jon Ashburn <jon@lunarg.com> loader: make the instance dispatch table per instance
/external/vulkan-validation-layers/loader/trampoline.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/trampoline.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/trampoline.c
fce93d9098c3f00c94919a78b8529ccdc0fbf1a6 13-May-2015 Jon Ashburn <jon@lunarg.com> loader: Activate layers on the instance chain at CreateInstance
/external/vulkan-validation-layers/loader/trampoline.c
8cd8ecde19f154f1779a7bcc93cb1a3519b57dbf 25-May-2015 Chia-I Wu <olv@lunarg.com> v98: replace vkUpdateDescriptors() by vkUpdateDescriptorSets()

Only slightly tested.

Conflicts:
include/vulkan.h
/external/vulkan-validation-layers/loader/trampoline.c
0fe95493c2aed5f1102580e3242d1e96aaf83700 25-May-2015 Chia-I Wu <olv@lunarg.com> v98: remove vk{Begin,End}DescriptorPoolUpdate()

Assume VK_DESCRIPTOR_UPDATE_MODE_FASTEST.

Conflicts:
icd/intel/desc.c
include/vulkan.h
/external/vulkan-validation-layers/loader/trampoline.c
2318261dc2f6199f031ba9b815730ee5d649d57b 29-May-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V97 -- Remove multiple allocations. Bug# 13948.

Remove multiple memory allocation requirements from API, and supporting
changes in driver, demos, layers, and tests.
/external/vulkan-validation-layers/loader/trampoline.c
20f68594175ea65bde6294bb2c0959024a3df155 22-May-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V96 -- xglCmdBlitImage filter mode. Bug# 13759.
/external/vulkan-validation-layers/loader/trampoline.c
3126f019548157f67bc5a9c496eebdd70e23a223 13-May-2015 Tobin Ehlis <tobin@lunarg.com> loader: On Windows disable global optimization for API entrypoints

Without this change, on a Windows Release build, mhook is unable to hook the entrypoint functions.
/external/vulkan-validation-layers/loader/trampoline.c
fb9f5646a9f331a834d2e318d503a213cba490d7 12-May-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V93 -- fine-grained memory binding synchronization. Bug# 13464

New names and behavior for QueueBind* APIs.
/external/vulkan-validation-layers/loader/trampoline.c
84b4ce1ca2f2d81f895d00eae9498b5ac070cad5 08-May-2015 Mark Lobodzinski <mark@lunarg.com> vulkan.h: V94 -- remove vkCmdCloneImageData. Bug #16550.
/external/vulkan-validation-layers/loader/trampoline.c
2139a3e9bb6cf96db0431b456798c205e067bb3c 06-May-2015 Jon Ashburn <jon@lunarg.com> loader: No longer generate code, instead directly check in source code
/external/vulkan-validation-layers/loader/trampoline.c