platform/upstream/Vulkan-LoaderAndValidationLayers.git
8 years agotests: GH428 removal of offending line
Mark Mueller [Thu, 8 Sep 2016 17:11:25 +0000 (11:11 -0600)]
tests: GH428 removal of offending line

The ill constructed draw is not needed and causes issues on some platforms.

Change-Id: I695a386e3a70a2d004b047044ee534e204a6499a

8 years agolayers: Remove old/unnecessary FIXME from swapchain layer
Ian Elliott [Thu, 8 Sep 2016 17:34:52 +0000 (11:34 -0600)]
layers: Remove old/unnecessary FIXME from swapchain layer

This FIXME comment does not apply.  It may have applied, if the line being
referred to once copied a pointer to user data, but at this point, the actual
data is being copied into a struct owned by the swapchain layer, which is what
the comment was about.

8 years agotests: Clang-format layer_validation_tests.cpp
Mark Lobodzinski [Thu, 8 Sep 2016 16:45:35 +0000 (10:45 -0600)]
tests: Clang-format layer_validation_tests.cpp

Change-Id: I9f790550be5e727f8f4e10c42ddfba6fad3d581a

8 years agotests: Clang-format vktestframework files
Mark Lobodzinski [Wed, 7 Sep 2016 22:35:55 +0000 (16:35 -0600)]
tests: Clang-format vktestframework files

Change-Id: I7b69127fb64191d35cfd1995d07096d6bc1c1759

8 years agotests: Clang-format vktestbinding files
Mark Lobodzinski [Wed, 7 Sep 2016 22:34:56 +0000 (16:34 -0600)]
tests: Clang-format vktestbinding files

Change-Id: Idbec767a4a587639b59ff42201c1c024c1b4fa7e

8 years agotests: Clang-format vkrenderframework files
Mark Lobodzinski [Wed, 7 Sep 2016 22:34:10 +0000 (16:34 -0600)]
tests: Clang-format vkrenderframework files

Change-Id: I694d683378e12195716e19ce2a25e56a5adac1cc

8 years agotests: Clang-format test_environment files
Mark Lobodzinski [Wed, 7 Sep 2016 22:33:17 +0000 (16:33 -0600)]
tests: Clang-format test_environment files

Change-Id: I23703c8cf024b01116f9ecb0a19ebad62667a27d

8 years agotests: Clang-format loader_validation_tests.cpp
Mark Lobodzinski [Wed, 7 Sep 2016 22:29:11 +0000 (16:29 -0600)]
tests: Clang-format loader_validation_tests.cpp

Change-Id: If4f446cc8499bf0c894735923b7661c8e3aa0ae2

8 years agotests: Clang-format test_common.h
Mark Lobodzinski [Wed, 7 Sep 2016 22:27:38 +0000 (16:27 -0600)]
tests: Clang-format test_common.h

Change-Id: I9ed4992a3f4cc8215de805d1f984ac9b5300a974

8 years agotests: Add clang-format config file
Mark Lobodzinski [Wed, 7 Sep 2016 22:05:48 +0000 (16:05 -0600)]
tests: Add clang-format config file

Change-Id: I265cffaf708244d5b268018aa47fc869facce6fd

8 years agolayers: Move in_use.store(0) to BASE_NODE constructor
Tobin Ehlis [Wed, 7 Sep 2016 21:18:08 +0000 (15:18 -0600)]
layers: Move in_use.store(0) to BASE_NODE constructor

8 years agotests: Add in-use sampler test
Tobin Ehlis [Wed, 7 Sep 2016 19:52:18 +0000 (13:52 -0600)]
tests: Add in-use sampler test

SamplerInUseDestroyedSignaled creates a sampler that is indirectly bound to
cmd buffer via a descriptor set. Then submit cmd buffer, destroy sampler and
verify that an error is correctly flagged.

8 years agotests: Add in-use pipeline test
Tobin Ehlis [Wed, 7 Sep 2016 19:51:24 +0000 (13:51 -0600)]
tests: Add in-use pipeline test

PipelineInUseDestroyedSignaled creates a pipeline, binds it to cmd buffer,
submits cmd buffer, then destroys pipeline and verifies that we hit in-use error.

8 years agotests: Add in-use query pool destroy test
Tobin Ehlis [Thu, 1 Sep 2016 15:51:06 +0000 (08:51 -0700)]
tests: Add in-use query pool destroy test

QueryPoolInUseDestroyedSignaled test destroys a QueryPool that is
in-flight and verifies correct error flagged.

8 years agolayers: Update bound object increment and decrement functions
Tobin Ehlis [Wed, 7 Sep 2016 17:09:01 +0000 (11:09 -0600)]
layers: Update bound object increment and decrement functions

Unify the handling of in-use increment/decrement for QueryPool, Pipeline,
Image, Buffer, and Event objects.

8 years agolayers: Clarify in-use object error message
Tobin Ehlis [Wed, 7 Sep 2016 17:04:49 +0000 (11:04 -0600)]
layers: Clarify in-use object error message

8 years agotests: Wait idle instead of ignoring errors
Tobin Ehlis [Thu, 1 Sep 2016 15:50:06 +0000 (08:50 -0700)]
tests: Wait idle instead of ignoring errors

Prior to destroying objects wait for cmd buffer to complete to avoid errors rather than
ignoring the errors.

8 years agolayers: Improve map cleanup on object deletion
Tobin Ehlis [Fri, 26 Aug 2016 23:09:24 +0000 (17:09 -0600)]
layers: Improve map cleanup on object deletion

If object deletion is skipped due to validation error, don't remove object from map.

8 years agolayers: Add detection for in-use query pool & clean-up destroys
Tobin Ehlis [Thu, 18 Aug 2016 14:23:30 +0000 (08:23 -0600)]
layers: Add detection for in-use query pool & clean-up destroys

Flag error if in-use query pool is destroyed.
Unify in-use error reporting to use common function ValidateObjectNotInUse().

Clean up Destroy functions to only remove objects from maps if skip is not set
for semaphores, events, querypool, pipeline

8 years agolayers: Flag error on destroyed pipeline in-use
Tobin Ehlis [Thu, 18 Aug 2016 13:58:33 +0000 (07:58 -0600)]
layers: Flag error on destroyed pipeline in-use

8 years agolayers: Flag error on destroyed sampler in-use
Tobin Ehlis [Thu, 18 Aug 2016 03:01:38 +0000 (21:01 -0600)]
layers: Flag error on destroyed sampler in-use

8 years agotests: GH428 Cleanup of some tests
Mark Mueller [Tue, 6 Sep 2016 04:52:21 +0000 (22:52 -0600)]
tests: GH428 Cleanup of some tests

Address comments on PR.

Change-Id: I803055665ba4a230c5b3cb4dac30642636cdd06b

8 years agolayers: correct param in vkCmdDebugMarkerEndEXT
Arda Coskunses [Thu, 8 Sep 2016 05:41:07 +0000 (23:41 -0600)]
layers: correct param in vkCmdDebugMarkerEndEXT

8 years agoloader: Cleanup 1.0.25 extension work
Mark Young [Wed, 7 Sep 2016 14:50:32 +0000 (08:50 -0600)]
loader: Cleanup 1.0.25 extension work

Remove adding extensions from being exported from loader by
default.  Add in logic to only export entry points if extensions
are enabled.

Change-Id: I56e0c673925869e0d4482ee401ea19e43a05267f

8 years agovkjson: Don't enable any instance layers
Jesse Hall [Wed, 7 Sep 2016 19:49:22 +0000 (12:49 -0700)]
vkjson: Don't enable any instance layers

Fixes #914

8 years agolayers: correct typo vkExternalMemoryHandleTypeFlagsNV
Arda Coskunses [Wed, 7 Sep 2016 18:31:35 +0000 (12:31 -0600)]
layers: correct typo vkExternalMemoryHandleTypeFlagsNV

Change-Id: Ifb9a7c7a2ff46580b85a07fa92d8cd44f95e1ce6

8 years agotests: Add test for framebuffer image destroyed
Tobin Ehlis [Wed, 7 Sep 2016 03:59:07 +0000 (21:59 -0600)]
tests: Add test for framebuffer image destroyed

Verify that if image attached to framebuffer is destroyed, any command
buffer bound to the framebuffer is correctly invalidated.

8 years agolayers: Rename pCB to cb_node
Tobin Ehlis [Wed, 7 Sep 2016 02:40:29 +0000 (20:40 -0600)]
layers: Rename pCB to cb_node

Just updating functions as I touch them to avoid too much noise.

8 years agolayers: Print framebuffer object type
Tobin Ehlis [Wed, 7 Sep 2016 02:37:39 +0000 (20:37 -0600)]
layers: Print framebuffer object type

Distinguish "framebuffer" object type from "buffer" when printing
object type for output messages.

8 years agolayers: Add cmd buffer binding for fb images
Tobin Ehlis [Wed, 7 Sep 2016 02:37:01 +0000 (20:37 -0600)]
layers: Add cmd buffer binding for fb images

Fixes #915

When binding framebuffer to command buffer, we need to also bind the
underlying images. Then, if images are destroyed, the cmd buffer
will correctly be marked as invalid and an error will be flagged if
an attempt to submit the cmd buffer is made.

8 years agoheader: Bump vulkan.hpp to 1.0.26
Lenny Komow [Wed, 7 Sep 2016 15:18:38 +0000 (09:18 -0600)]
header: Bump vulkan.hpp to 1.0.26

8 years agobuild: gh850 support msys
Mark Young [Tue, 6 Sep 2016 20:45:06 +0000 (14:45 -0600)]
build: gh850 support msys

When we detect msys as a platform, we should behave as if it is
a Win32 system.  Otherwise, the build will be broken in the msys
shell.

Change-Id: I088f954ca968c9ce21bc7bbe7bfaa7732dd82a73

8 years agolayers: Add error for CmdEndRenderPass before reaching final subpass
Chris Forbes [Wed, 7 Sep 2016 02:08:31 +0000 (14:08 +1200)]
layers: Add error for CmdEndRenderPass before reaching final subpass

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agotests: Add test for EndRenderPass before reaching final subpass
Chris Forbes [Wed, 7 Sep 2016 01:57:05 +0000 (13:57 +1200)]
tests: Add test for EndRenderPass before reaching final subpass

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Make CmdEndRenderPass more careful about side effects on failure
Chris Forbes [Wed, 7 Sep 2016 01:52:28 +0000 (13:52 +1200)]
layers: Make CmdEndRenderPass more careful about side effects on failure

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: add error to CmdNextSubpass if stepping beyond last subpass
Chris Forbes [Tue, 6 Sep 2016 23:44:08 +0000 (11:44 +1200)]
layers: add error to CmdNextSubpass if stepping beyond last subpass

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Make CmdNextSubpass more careful about side effects on failure
Chris Forbes [Tue, 6 Sep 2016 23:43:52 +0000 (11:43 +1200)]
layers: Make CmdNextSubpass more careful about side effects on failure

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agotests: Add test case for excessive CmdNextSubpass
Chris Forbes [Tue, 6 Sep 2016 23:29:24 +0000 (11:29 +1200)]
tests: Add test case for excessive CmdNextSubpass

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Add MEMTRACK_INVALID_MEM_REGION error
Tobin Ehlis [Wed, 7 Sep 2016 00:46:55 +0000 (18:46 -0600)]
layers: Add MEMTRACK_INVALID_MEM_REGION error

Add new enum value "MEMTRACK_INVALID_MEM_REGION" to track case when a
region of an allocation bound to an image or buffer is not valid due
to the memory not being correctly updated.

This was previously aliased to USAGE_FLAG case which was masking the fact
that there are no tests written for this invalid mem region case.

8 years agolayers: Clarify invalid memory message
Tobin Ehlis [Wed, 7 Sep 2016 00:12:07 +0000 (18:12 -0600)]
layers: Clarify invalid memory message

Fixes #906

When reporting an invalid memory region, include the object type and
handle that is bound to that region.

8 years agoloader: Bump SOVERSION to 1.0.26
Mark Lobodzinski [Tue, 6 Sep 2016 22:32:34 +0000 (16:32 -0600)]
loader: Bump SOVERSION to 1.0.26

Change-Id: Ibe1378fe08686a88ae95dd1484c69ca71e2de6d3

8 years agolayers: Move Windows json files to version 1.0.26
Mark Lobodzinski [Tue, 6 Sep 2016 22:31:43 +0000 (16:31 -0600)]
layers: Move Windows json files to version 1.0.26

Change-Id: I8fb17f80ef3e83d04aa4868b3442a19a13feff8f

8 years agolayers: Move Linux json files to version 1.0.26
Mark Lobodzinski [Tue, 6 Sep 2016 22:30:58 +0000 (16:30 -0600)]
layers: Move Linux json files to version 1.0.26

Change-Id: Ia42d6867ba4a2c6bae4eae522c3f65d5a87567bd

8 years agoheader: Move vk.xml to verison 1.0.26
Mark Lobodzinski [Tue, 6 Sep 2016 22:29:05 +0000 (16:29 -0600)]
header: Move vk.xml to verison 1.0.26

Change-Id: Ie2bc2b5c15c4bad19083081727c88647113e3725

8 years agoheader: Move vulkan.h to version 1.0.26
Mark Lobodzinski [Tue, 6 Sep 2016 22:21:40 +0000 (16:21 -0600)]
header: Move vulkan.h to version 1.0.26

Note that part of these changes were made in a previous commit
that reversed the ValidationFlags changes.

Change-Id: I11cccfaa79e6dfa9e8ed276608612d56386f893a

8 years agoloader: Clean up failure handling in loader
Mark Young [Tue, 6 Sep 2016 19:53:03 +0000 (13:53 -0600)]
loader: Clean up failure handling in loader

The terminator_CreateInstance had a few extra things I wanted to
clean up.

Change-Id: Ia9246a44c3233f7f1b41289f6917ac107b8cf3a2

8 years agoloader: gh901 Fix loader w multiple ICDs
Mark Young [Tue, 6 Sep 2016 15:53:45 +0000 (09:53 -0600)]
loader: gh901 Fix loader w multiple ICDs

When an ICD failed during CreateInstance time, the loader needs
to remove the ICD from the list of available ICDs.

Change-Id: Id27a971e401ec9475b9488bdd95298e0f509f6b7

8 years agolayers: Use actual enum type name in err msg
Karl Schultz [Tue, 6 Sep 2016 16:26:09 +0000 (10:26 -0600)]
layers: Use actual enum type name in err msg

Change-Id: I4e7933349068984d7c99577158b6ff272e1d5282

8 years agowinsdk: Fix releases showing as older than alphas
Lenny Komow [Fri, 2 Sep 2016 20:05:45 +0000 (14:05 -0600)]
winsdk: Fix releases showing as older than alphas

8 years agoloader: Clean up loader_init_generic_list
Mark Young [Fri, 2 Sep 2016 17:45:00 +0000 (11:45 -0600)]
loader: Clean up loader_init_generic_list

Modify loader_init_generic_list so that it returns with count
and capacity of 0 if an error occurs.

Change-Id: I916f0dc0bf54a7897cf375bec0647f0379db1d0a

8 years agoloader: Rename DevExt to dev_ext
Mark Young [Fri, 2 Sep 2016 17:41:28 +0000 (11:41 -0600)]
loader: Rename DevExt to dev_ext

Make a quick change to conform a structure element to the coding
standard.

Change-Id: Icbf168b1ab451dcc4847a0c2c17d0cb40c0197b8

8 years agoloader: Modify loader_make_version
Mark Young [Fri, 2 Sep 2016 17:39:26 +0000 (11:39 -0600)]
loader: Modify loader_make_version

Modified loader_make_version to match the way we calculate the
version in other places.

Change-Id: Ia15e71fcfc0690836ed8ce1a3e9b6911988b57ff

8 years agobuild: Restore default symbol visibility to layers/tests
Karl Schultz [Fri, 2 Sep 2016 17:13:16 +0000 (11:13 -0600)]
build: Restore default symbol visibility to layers/tests

Layer tests broke with a previous commit to fix CXX
flags inheritance.  This commit repairs the problem.

Change-Id: Id54cfb737f32b6f11a4146225cc22e0b155ba2ba

8 years agobuild: gh672 Fix CMake CXX_FLAGS inheritance
Karl Schultz [Fri, 2 Sep 2016 16:17:05 +0000 (10:17 -0600)]
build: gh672 Fix CMake CXX_FLAGS inheritance

Some sub-projects were overwriting CMAKE_CXX_FLAGS instead of
inheriting from the parent.  This keeps any user settings outside
or above the top CMakeLists.txt file from reaching these sub-projects.

These fixes include preserving the inheritance, adding extra flags
to turn off warnings (mostly in autogen code) because the top
level turns on Wall, and trivial code fixes to avoid the need to
add a setting to turn off a warning for those trivial fixes.

These changes should have no impact on Windows.

Change-Id: I0c3c175cb5058f26a259ee3f4fde9fdaf3e6b00d

8 years agouse "exit /b", not "exit"
Jeff Juliano [Fri, 2 Sep 2016 12:24:25 +0000 (08:24 -0400)]
use "exit /b", not "exit"

"exit" terminates the cmd shell that invoked this script.

"exit /b" terminates only this bat script.

Change-Id: I1207545944ac2809c8f45a70f37e88cbdbc80aac

8 years agoFix VK_NV_external_memory_capabilities support
James Jones [Thu, 18 Aug 2016 22:41:19 +0000 (23:41 +0100)]
Fix VK_NV_external_memory_capabilities support

-Need to init the instance function pointer

-The function should gracefully fall back on
 drivers that don't support it.

Change-Id: I15b0c68028c8f5ad3b07342e255dbb4c37bb6f0a

8 years agodocs: Fix "Cautions" title
Mark Young [Thu, 1 Sep 2016 19:43:04 +0000 (13:43 -0600)]
docs: Fix "Cautions" title

GitHub Markdown doesn't support the sub-section we tried to use.
Instead, make this plain text, underlined and bolded.

Change-Id: Id20275c79f06b59c39ab9a9d118ddcbea6110ffa

8 years agoloader: gh851 wrap debug report callbacks
Mark Young [Thu, 25 Aug 2016 20:54:58 +0000 (14:54 -0600)]
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

8 years agoheader: fix vulkan.hpp detection of 64-bit arch
Endre Oma [Thu, 1 Sep 2016 15:56:41 +0000 (17:56 +0200)]
header: fix vulkan.hpp detection of 64-bit arch

The generator that produced vulkan.hpp for 1.0.25 seemed to ignore the 64-bit architecture test, thereby breaking 64-bit builds.
The macro VK_DEFINE_NON_DISPATCHABLE_HANDLE is always defined according to vulkan.h.

8 years agolayers: Fix reporting of multiple allowed image view types
Chris Forbes [Wed, 31 Aug 2016 19:58:14 +0000 (12:58 -0700)]
layers: Fix reporting of multiple allowed image view types

This isn't the problem we were hitting in #890, but we'd produce a misleading message if multiple bits were allowed

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Don't spuriously produce an error if there are no view type bits set
Chris Forbes [Wed, 31 Aug 2016 19:00:35 +0000 (12:00 -0700)]
layers: Don't spuriously produce an error if there are no view type bits set

Previously we'd complain about any input attachment, since we don't constrain
its view type at all.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Impose singlesample/multisample constraints on input attachment descriptors
Chris Forbes [Wed, 31 Aug 2016 18:59:48 +0000 (11:59 -0700)]
layers: Impose singlesample/multisample constraints on input attachment descriptors

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agoloader: Update script names with correct ext name
Mark Young [Thu, 1 Sep 2016 15:18:45 +0000 (09:18 -0600)]
loader: Update script names with correct ext name

lunarg_debug_report is now called ext_debug_report.

Change-Id: Ieceb323ac0a05def2f49ae399460b02b1e245639

8 years agoloader: gh888 Add KHR/EXT extensions in vulkan.h
Mark Young [Fri, 1 Jul 2016 21:18:27 +0000 (15:18 -0600)]
loader: gh888 Add KHR/EXT extensions in vulkan.h

Add the KHR_display_swapchain device extension to the loader
and the core_validation layers.  This fulfills the work required in
JIRA LOAD-7 and gh 90.

Add debug_marker to the extension list.

Change-Id: I1fb70e5d44bc8c1f70fd6d1cfbd106a155081b25

8 years agoAdd new text to discuss wrapping of objects, including cautions.
Ian Elliott [Wed, 31 Aug 2016 20:08:44 +0000 (14:08 -0600)]
Add new text to discuss wrapping of objects, including cautions.

This describes the process of wrapping and unwrapping objects, and provides
some cautions about the dangers of layers wrapping objects
(e.g. incompatibilities with unsupported extensions).

8 years agoheader: Update vulkan.hpp to 1.0.25
Lenny Komow [Wed, 31 Aug 2016 21:03:49 +0000 (15:03 -0600)]
header: Update vulkan.hpp to 1.0.25

8 years agoloader: Fixed some types and comments
Mark Lobodzinski [Wed, 31 Aug 2016 15:31:29 +0000 (09:31 -0600)]
loader: Fixed some types and comments

Change-Id: I66a5745a948c6677895950fdd48395afd5152ad7

8 years agoloader: Add support for NV device extension
Mark Lobodzinski [Mon, 29 Aug 2016 21:36:23 +0000 (15:36 -0600)]
loader: Add support for NV device extension

Added vkGetMemoryWin32HandleNV from the VK_NV_external_memory_win32
extension to the loader.

Change-Id: If6a959f126cc48ebf2608ed6e113e2883deae871

8 years agoloader: Add support for AMD device extension
Mark Lobodzinski [Mon, 29 Aug 2016 20:54:34 +0000 (14:54 -0600)]
loader: Add support for AMD device extension

Added vkCmdDrawIndirectCountAMD and vkCmdDrawIndexedIndirectCountAMD
from the VK_AMD_draw_indirect_count extension to the loader.

Change-Id: I4e1810dd6efcc54291a35d1ce9a15e59830689f3

8 years agoloader: Add support for NV instance extension
Mark Lobodzinski [Mon, 29 Aug 2016 20:21:14 +0000 (14:21 -0600)]
loader: Add support for NV instance extension

Added vkGetPhysicalDeviceExternalImageFormat API from the
VK_NV_external_memory_capabilities extension to the loader.

Change-Id: Ib87df7bae333d7944a4e181556bc2f99e1e19416

8 years agolayers: Update dispatch tables for new 1.0.25 APIs
Mark Lobodzinski [Mon, 29 Aug 2016 18:14:55 +0000 (12:14 -0600)]
layers: Update dispatch tables for new 1.0.25 APIs

Change-Id: I001583402bc99f923a776b238a82db5a60398f03

8 years agolayers: Update vulkan.py for new extension APIs
Mark Lobodzinski [Mon, 29 Aug 2016 17:56:02 +0000 (11:56 -0600)]
layers: Update vulkan.py for new extension APIs

Added extension protos and update extension lists for
VK_AMD_draw_indirect_count, VK_NV_external_memory_capabilities,
and VK_NV_external_memory_win32 new for header version 1.0.25.

Change-Id: Ifac0a2b4b7e36a8f907622e002ec419cc7c54f87

8 years agoloader: Bump SOVERSION to 1.0.25
Mark Lobodzinski [Mon, 29 Aug 2016 15:22:21 +0000 (09:22 -0600)]
loader: Bump SOVERSION to 1.0.25

Change-Id: I90a667a45cb02fb582fc59cbe0725ac633780d2d

8 years agolayers: Move windows json files to version 1.0.25
Mark Lobodzinski [Mon, 29 Aug 2016 15:21:24 +0000 (09:21 -0600)]
layers: Move windows json files to version 1.0.25

Change-Id: I063b38477237c9cd7966131361c44f859fc0d485

8 years agolayers: Move linux json files to version 1.0.25
Mark Lobodzinski [Mon, 29 Aug 2016 15:20:07 +0000 (09:20 -0600)]
layers: Move linux json files to version 1.0.25

Change-Id: Ice0f12ffea3c4702b9ea288fbe0e155a810185f5

8 years agoheader: Remove ValidationFlags changes from vk.xml
Mark Lobodzinski [Tue, 30 Aug 2016 20:11:39 +0000 (14:11 -0600)]
header: Remove ValidationFlags changes from vk.xml

The validation_flags features will be moved into an extension.

Change-Id: I05e0642c253f0c39361049b3677cdd037cb2a9ef

8 years agoheader: Move vk.xml to version 1.0.25
Mark Lobodzinski [Mon, 29 Aug 2016 15:17:23 +0000 (09:17 -0600)]
header: Move vk.xml to version 1.0.25

Change-Id: I7f24c5a5cbfa00e3f8bc331b63fb26c8912da2dd

8 years agoheader: Move vk_platform.h to version 1.0.25
Mark Lobodzinski [Mon, 29 Aug 2016 15:16:59 +0000 (09:16 -0600)]
header: Move vk_platform.h to version 1.0.25

Change-Id: I71d8609bbd75af5832923c94e0fee9f1b2b0fcac

8 years agoheader: Remove ValidationFlags changes from vulkan.h
Mark Lobodzinski [Tue, 30 Aug 2016 20:11:18 +0000 (14:11 -0600)]
header: Remove ValidationFlags changes from vulkan.h

The validation_flags features will be moved into an extension.

Change-Id: I435e75da8d8917f876e5bc904922cda26a87845a

8 years agoheader: Move vulkan.h to version 1.0.25
Mark Lobodzinski [Mon, 29 Aug 2016 15:02:13 +0000 (09:02 -0600)]
header: Move vulkan.h to version 1.0.25

Change-Id: I2ad2c33c720f992953e8d5886dc2c55ad789fe83

8 years agodoc: Update loaderandlayerinterface
Mark Young [Wed, 31 Aug 2016 17:53:26 +0000 (11:53 -0600)]
doc: Update loaderandlayerinterface

Added more information about layer wrapping, specifically requiring
support for extensions.

Change-Id: Ie60952f41c976b8e0245810c550b133dc5843097

8 years agowinsdk: Correct installer log renaming
Lenny Komow [Wed, 31 Aug 2016 16:41:19 +0000 (10:41 -0600)]
winsdk: Correct installer log renaming

8 years agodocs: GH428 Update doc for sync validation test cases
Mark Mueller [Thu, 25 Aug 2016 21:43:30 +0000 (15:43 -0600)]
docs: GH428 Update doc for sync validation test cases

Change-Id: I101b66f6413b82e54ebc3931dc740695921a57bf

8 years agotests: GH428 Addition of tests for sync validation cases
Mark Mueller [Thu, 25 Aug 2016 19:23:52 +0000 (13:23 -0600)]
tests: GH428 Addition of tests for sync validation cases

This branch adds tests that challenge the validation layer on
various synchronization validation cases including:

5) INVALID_FENCE_STATE - call vkWaitFence with a fence
    that has not been submitted on a queue
    QueueForwardProgressFenceWait

Change-Id: If488bf95e9b2533203a661a7ef407b0ae82d6d63

8 years agotests: GH428 Addition of tests for sync validation cases
Mark Mueller [Wed, 24 Aug 2016 16:28:05 +0000 (10:28 -0600)]
tests: GH428 Addition of tests for sync validation cases

This branch adds tests that challenge the validation layer on
various synchronization validation cases including:

4) QUEUE_FORWARD_PROGRESS - call vkQueueSubmit with a semaphore
    that has already been signaled
    QueueForwardProgressFenceWait

Change-Id: Ida7fafe4adbeac95356647b96dfd737f7cf13cf1

8 years agotests: GH428 Addition of tests for sync validation cases
Mark Mueller [Tue, 23 Aug 2016 23:36:00 +0000 (17:36 -0600)]
tests: GH428 Addition of tests for sync validation cases

This branch adds tests that challenge the validation layer on
various synchronization validation cases:

3) INVALID_EVENT - call vkQueueSubmit with an event that has
    been deleted
    InUseDestroyedSignaled

Change-Id: I9f3459944ef9a200b129d6dfaf157f56faa9d70a

8 years agotests: GH428 Addition of tests for sync validation cases
Mark Mueller [Tue, 30 Aug 2016 16:57:19 +0000 (10:57 -0600)]
tests: GH428 Addition of tests for sync validation cases

This branch adds tests that challenge the validation layer on
various synchronization validation cases including:

2) OBJECT_INUSE - Attempt to delete an object while in use
    InUseDestroyedSignaled
    InvalidCmdBufferDescriptorSetImageSamplerDestroyed

Change-Id: I93777009efa9c9a0de6e190bf827bd1a303eecfa

8 years agotests: GH428 Addition of tests for sync validation cases
Mark Mueller [Thu, 18 Aug 2016 16:27:40 +0000 (10:27 -0600)]
tests: GH428 Addition of tests for sync validation cases

This branch adds tests that challenge the validation layer on
various synchronization validation cases including:

1) INVALID_CB_SIMULTANEOUS_USE - 2 additional test conditions
    related to VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT
    SimultaneousUse

Change-Id: I821784cffebbc36ca4cd01d15f446db331820f54

8 years agolayers: GH428 Adding skip_call to DestroySemaphore
Mark Mueller [Wed, 24 Aug 2016 16:42:17 +0000 (10:42 -0600)]
layers: GH428 Adding skip_call to DestroySemaphore

Use skip_call return from log_msg callback to decide
whether or not to pass the call to lower layers.

Change-Id: I96090539e9001bbda32533055b143c872d88e4bf

8 years agowinsdk: Fix powershell error to say ConfigureRT
Lenny Komow [Wed, 31 Aug 2016 15:45:46 +0000 (09:45 -0600)]
winsdk: Fix powershell error to say ConfigureRT

8 years agowinsdk: Remove rt installer using msvcr120.dll
Lenny Komow [Wed, 31 Aug 2016 00:38:05 +0000 (18:38 -0600)]
winsdk: Remove rt installer using msvcr120.dll

8 years agowinsdk: Fix uninstall log not clearing old copies
Lenny Komow [Tue, 30 Aug 2016 22:43:39 +0000 (16:43 -0600)]
winsdk: Fix uninstall log not clearing old copies

8 years agotests: Test to create view with INPUT_ATTACMENT usage
Tony Barbour [Tue, 30 Aug 2016 15:39:07 +0000 (09:39 -0600)]
tests: Test to create view with INPUT_ATTACMENT usage

Change-Id: I72f454043bfa63ec2075f8d39fd7f4114eafcc94

8 years agolayers: Fix Dota2 crash in Windows
Mark Lobodzinski [Tue, 30 Aug 2016 17:30:04 +0000 (11:30 -0600)]
layers: Fix Dota2 crash in Windows

Two issues, in_use was not initialized in SAMPLER_NODE and an invalid
access during resource tracking for SAMPLER_NODE and SET_NODE. This
occured during GetFenceStatus after a call to DestroySampler.

Change-Id: I7654a7c4a2677450097643422f44290be5dbac2a

8 years agolayers: PR887, Add extension white-list
Mark Lobodzinski [Fri, 26 Aug 2016 14:48:02 +0000 (08:48 -0600)]
layers: PR887, Add extension white-list

The unique_objects layer wraps objects -- layers that wrap objects
should output an error message if used with any extension that is
not explicitly supported by the layer. Added a whitelist of supported
extensions and error messages for unsupported extensions.

Change-Id: I9ce0acb22ddfa5b81e36c7e03fffad0777b5410d

8 years agolayers: Add white-list helper to layer utils
Mark Lobodzinski [Fri, 26 Aug 2016 14:47:37 +0000 (08:47 -0600)]
layers: Add white-list helper to layer utils

Change-Id: Idfc67481589ea9698ab82501889680044fcf8276

8 years agolayers: Add unique_objects to layer settings file
Mark Lobodzinski [Fri, 26 Aug 2016 14:37:44 +0000 (08:37 -0600)]
layers: Add unique_objects to layer settings file

Enable config file control of debug output from the unique_objects
layer.

Change-Id: I31ac885743aa3b03b70b55329b3fea852db2cd27

8 years agolayers: Add unique_objects to default layer config
Mark Lobodzinski [Fri, 26 Aug 2016 14:35:19 +0000 (08:35 -0600)]
layers: Add unique_objects to default layer config

Allows messages to be output from this layer in configurations with
no explicit output settings.

Change-Id: I17c604db7461ae10eedd0b3fb3f9440a6dc52eab

8 years agolayers: Add debug report support to unique_objects
Mark Lobodzinski [Thu, 25 Aug 2016 20:49:38 +0000 (14:49 -0600)]
layers: Add debug report support to unique_objects

Change-Id: Ib276761a94e627c0e5504ca22737649c7722113c

8 years agodemos: Update some of the WSI code to match the spec example code
Ian Elliott [Fri, 19 Aug 2016 09:46:58 +0000 (03:46 -0600)]
demos: Update some of the WSI code to match the spec example code

A pending Vulkan spec change contains updates to the WSI example code.  This is
a coordinated, cosmetic change, that allows the example code and demo code to
more-closely match.