platform/upstream/Vulkan-Tools.git
8 years agoRevert "layers: Update docs for shared utils DLL"
Mark Lobodzinski [Tue, 21 Jun 2016 21:51:12 +0000 (15:51 -0600)]
Revert "layers: Update docs for shared utils DLL"

This reverts commit 94dd6081959103c1c9b0bcfda173d4149d5555b9.

Change-Id: Ie5b437d822c5efe6baf0baf2830591f50bf3ee4d

8 years agodemos: LX535 Remove deprecated device layers.
Rene Lindsay [Tue, 21 Jun 2016 22:02:10 +0000 (15:02 -0700)]
demos: LX535 Remove deprecated device layers.

8 years agodemos: Use XSync to fix intermittent xlib crash.
Rene Lindsay [Tue, 21 Jun 2016 21:58:57 +0000 (14:58 -0700)]
demos: Use XSync to fix intermittent xlib crash.

8 years agolayers: Fix CmdBeginRenderPass after non-inline renderpass in same CB
Chris Forbes [Tue, 21 Jun 2016 08:54:34 +0000 (20:54 +1200)]
layers: Fix CmdBeginRenderPass after non-inline renderpass in same CB

Fixes #667.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: GH669, Fix clearValueCount errors
Mark Lobodzinski [Tue, 21 Jun 2016 16:28:30 +0000 (10:28 -0600)]
layers: GH669, Fix clearValueCount errors

Validation was assuming LOAD_OP_CLEAR for some attachments resulting
in bad validation messages.

Change-Id: I8ff75ca63f591e3002b1ee2b61a6844d0cf1c07d

8 years agodemos: Fix intermittent crash on xlib
Rene Lindsay [Tue, 21 Jun 2016 19:16:44 +0000 (12:16 -0700)]
demos: Fix intermittent crash on xlib

8 years agosmoke: Remove references to device layers
Tony Barbour [Tue, 21 Jun 2016 16:47:18 +0000 (10:47 -0600)]
smoke: Remove references to device layers

Change-Id: I2399cdefb76a086525fea29e71a7c321b5cfecdd

8 years agowindowsbuild: +x of update_external_sources.bat
David Pinedo [Tue, 21 Jun 2016 15:51:48 +0000 (09:51 -0600)]
windowsbuild: +x of update_external_sources.bat

8 years agolayers: Fix Windows crash in Dota2
Mark Lobodzinski [Tue, 21 Jun 2016 00:49:25 +0000 (18:49 -0600)]
layers: Fix Windows crash in Dota2

In core_validation attachment_references_compatible(), having array
elements set to VK_ATTACHMENT_UNUSED was not handled resulting in
invalid memory references.

Change-Id: If78aea1467d191db905272bece16cc9f56643136

8 years agodemos: remove deprecated device layer code
Karl Schultz [Tue, 21 Jun 2016 01:08:43 +0000 (19:08 -0600)]
demos: remove deprecated device layer code

Change-Id: I916f30da7e1b2d43826f3d2080fed9721b1796d6

8 years agoloader: update so version
Jeremy Hayes [Mon, 20 Jun 2016 22:30:21 +0000 (16:30 -0600)]
loader: update so version

8 years agolayers: Get rid of fence->swapchain link
Chris Forbes [Thu, 16 Jun 2016 05:16:00 +0000 (17:16 +1200)]
layers: Get rid of fence->swapchain link

Nothing used this after rationalizing the state tracking.

Change-Id: I67cc267336b5d64bea9645a8e0a072885db58c26
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Untangle validate+update in QueuePresentKHR
Chris Forbes [Thu, 16 Jun 2016 05:14:34 +0000 (17:14 +1200)]
layers: Untangle validate+update in QueuePresentKHR

Change-Id: I8f719c6e57cbab836b90f30414e6494a0643580e
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Fix AcquireNextImageKHR handling of sync objects
Chris Forbes [Thu, 16 Jun 2016 00:20:32 +0000 (12:20 +1200)]
layers: Fix AcquireNextImageKHR handling of sync objects

Change-Id: I3e5a5d08763c0bf26c6c69aecf4bcef17d055a48
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Add getSemaphoreNode helper
Chris Forbes [Thu, 16 Jun 2016 00:17:09 +0000 (12:17 +1200)]
layers: Add getSemaphoreNode helper

Change-Id: Iceda3b28474e289189ef1f97b271f9e9bb7b2083
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Rework fence state tracking
Chris Forbes [Wed, 15 Jun 2016 23:47:24 +0000 (11:47 +1200)]
layers: Rework fence state tracking

Instead of having a combination of firstTimeFlag, in_use, and
needsSignaled, let's just have an enum with the three states a fence can
actually be in.

Change-Id: I6a40cd709717c75740c9977b149c4f71a02a27ab
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Tidy decrementResources a bit
Chris Forbes [Wed, 15 Jun 2016 03:48:52 +0000 (15:48 +1200)]
layers: Tidy decrementResources a bit

Change-Id: Ib8f9a917115323d8d43b971593b213ff04138a35
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: use getFenceNode in decrementResources
Chris Forbes [Wed, 15 Jun 2016 02:06:23 +0000 (14:06 +1200)]
layers: use getFenceNode in decrementResources

Change-Id: I8351405299f2f109489fdddfc111412164aded77
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Pass layer_data to verifyWaitFenceState
Chris Forbes [Wed, 15 Jun 2016 01:10:28 +0000 (13:10 +1200)]
layers: Pass layer_data to verifyWaitFenceState

Change-Id: Id3e0f09254197119b821710f0e9ce27d3458afc9
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: use getFenceNode in verifyWaitFenceState
Chris Forbes [Wed, 15 Jun 2016 01:03:31 +0000 (13:03 +1200)]
layers: use getFenceNode in verifyWaitFenceState

Change-Id: I46f4ef4c225e199c0415507bd19dc4ffc98a77bc
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Remove some MT leftovers
Chris Forbes [Mon, 13 Jun 2016 23:05:39 +0000 (11:05 +1200)]
layers: Remove some MT leftovers

Change-Id: I2b62475951315c6b231342be6f7c74865e3ea2bb
Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agomisc: Update VK_EXT_DEBUG_REPORT_SPEC_VERSION to 3
Karl Schultz [Mon, 20 Jun 2016 21:46:38 +0000 (15:46 -0600)]
misc: Update VK_EXT_DEBUG_REPORT_SPEC_VERSION to 3

Change-Id: I2137c0d8c034f66da678bfccbc044114c2f39f2e

8 years agolayers: Add DSAspectBitsErrors test to documentation
Tobin Ehlis [Wed, 15 Jun 2016 20:39:55 +0000 (14:39 -0600)]
layers: Add DSAspectBitsErrors test to documentation

8 years agolayers: GH644 Validate DS image aspect bit restriction
Tobin Ehlis [Wed, 15 Jun 2016 19:03:58 +0000 (13:03 -0600)]
layers: GH644 Validate DS image aspect bit restriction

If a DS image is used in a descriptor, regardless of the underlying
image layout, we need to validate that BOTH DEPTH and STENCIL aspect
bits are NOT set. Only one of the two bits is allowed.

8 years agotests: Update documentation with RenderPassIncompatible test
Tobin Ehlis [Wed, 15 Jun 2016 19:10:33 +0000 (13:10 -0600)]
tests: Update documentation with RenderPassIncompatible test

8 years agolayers: Add bug fix to handle NULL attachment case
Tobin Ehlis [Fri, 10 Jun 2016 08:36:25 +0000 (02:36 -0600)]
layers: Add bug fix to handle NULL attachment case

Correctly handle null resolve attachment case. When verifying attachment
compatibility, matching null resolves is ok.

8 years agolayers: Remove output paren from android update script
Tobin Ehlis [Fri, 10 Jun 2016 08:35:27 +0000 (02:35 -0600)]
layers: Remove output paren from android update script

8 years agoloader: Increase error message length
Tobin Ehlis [Tue, 7 Jun 2016 12:07:13 +0000 (06:07 -0600)]
loader: Increase error message length

120 chars in error message is very conservative as error prefix and LVL
pathname alone are near 100 chars. This can easily cause layer path to get
cut off which makes for a confusing error message. Bumping this to 164
chars to account for most reasonable layer names.

8 years agolayers: Add PSO render pass compability check
Tobin Ehlis [Tue, 7 Jun 2016 12:06:01 +0000 (06:06 -0600)]
layers: Add PSO render pass compability check

At draw time, the active render pass must be compatible with the render
pass that the gfx pipeline was created with.

8 years agotests: Update doc to note BindImageInvalidMemoryType is disabled
Tobin Ehlis [Mon, 20 Jun 2016 17:34:27 +0000 (11:34 -0600)]
tests: Update doc to note BindImageInvalidMemoryType is disabled

8 years agolayers: GH656, Fix CreateRenderpass validation
Mark Lobodzinski [Fri, 17 Jun 2016 21:24:01 +0000 (15:24 -0600)]
layers: GH656, Fix CreateRenderpass validation

In the core_validation layer, much of the validation was occurring
AFTER the API call had been made. Separated validation and tracking.

Change-Id: I6f8502d52dd2861a18254de48141a3736ced257f

8 years agolayers: Fix dynamic descriptor count
Tobin Ehlis [Mon, 20 Jun 2016 19:07:34 +0000 (13:07 -0600)]
layers: Fix dynamic descriptor count

When creating descriptor set layout, we were only incrementing the dynamic descriptor
count by 1 regardless of the number of descriptors in a binding. This fix increments
the count by the number of descriptors in the binding.

8 years agodemos: Add semaphore between queue and present
Tony Barbour [Mon, 20 Jun 2016 16:44:08 +0000 (10:44 -0600)]
demos: Add semaphore between queue and present

LeX #548

Change-Id: Ic34266d759923f2856cbd6efc9e5bdcfd193c366

8 years agodemos: Rename presentComplete semaphore
Tony Barbour [Mon, 20 Jun 2016 16:30:23 +0000 (10:30 -0600)]
demos: Rename presentComplete semaphore

to imageAquired - LeX #548
Change-Id: I6c8ee40ac809571aac82a2d6981ee8caa8cdbbc2

8 years agolayers: Update manifest files for vers 1.0.17
Karl Schultz [Mon, 20 Jun 2016 17:35:56 +0000 (11:35 -0600)]
layers: Update manifest files for vers 1.0.17

Change-Id: Ifdce033092a72980e1ff685792d486d2a101f35d

8 years agomisc: Update to Vulkan header version 17
Karl Schultz [Mon, 20 Jun 2016 17:28:03 +0000 (11:28 -0600)]
misc: Update to Vulkan header version 17

Only changes:

VK_HEADER_VERSION 17
VK_EXT_DEBUG_REPORT_SPEC_VERSION  3

Change-Id: I122bdcabec1f831a6ed1a06b5caf6202a2a94529

8 years agodocs: Fix weird characters in Loader.md file
Mark Young [Wed, 1 Jun 2016 23:49:30 +0000 (17:49 -0600)]
docs: Fix weird characters in Loader.md file

8 years agolayers: GH401, Break out stencil load/storeOp check
Mark Lobodzinski [Fri, 10 Jun 2016 21:28:17 +0000 (15:28 -0600)]
layers: GH401, Break out stencil load/storeOp check

Stencil attachment load/storeOp settings were being ignored. Added
format appropriate checks for these flags.

Change-Id: I6a917fc8a28cbb0d0441152e8d6630defb1b81e3

8 years agoget latest spirv-tools revision
GregF [Fri, 17 Jun 2016 18:30:58 +0000 (12:30 -0600)]
get latest spirv-tools revision

8 years agoupdate_external_sources.sh: now get spirv-tools headers from Khronos/SPIRV-Headers
GregF [Fri, 17 Jun 2016 18:26:49 +0000 (12:26 -0600)]
update_external_sources.sh: now get spirv-tools headers from Khronos/SPIRV-Headers

8 years agoMerge branch 'master' of github.com:KhronosGroup/Vulkan-LoaderAndValidationLayers
Greg Fischer [Fri, 17 Jun 2016 18:21:47 +0000 (12:21 -0600)]
Merge branch 'master' of github.com:KhronosGroup/Vulkan-LoaderAndValidationLayers

8 years agoupdate_external_sources.bat: now get headers from Khronos/SPIRV-Headers
Greg Fischer [Fri, 17 Jun 2016 18:19:46 +0000 (12:19 -0600)]
update_external_sources.bat: now get headers from Khronos/SPIRV-Headers

8 years agodemos: fix ppm loader swapped width & height
Alexandre BACQUART [Fri, 17 Jun 2016 17:30:32 +0000 (11:30 -0600)]
demos: fix ppm loader swapped width & height

Change-Id: I277fe91a928223a09f672d07c22a1547e710b847

8 years agoOnly set scripts that starts with a hashbang as executable
Alexander F Rødseth [Fri, 17 Jun 2016 15:45:26 +0000 (09:45 -0600)]
Only set scripts that starts with a hashbang as executable

Remove executable bit from files like README.md

Change-Id: I6a2a86e8312616c175845f0a3b777515a58c52b9

8 years agolayers: GH576, Update layer details doc
Mark Lobodzinski [Thu, 16 Jun 2016 21:27:32 +0000 (15:27 -0600)]
layers: GH576, Update layer details doc

Added entries for new attachment index tests and enums.

Change-Id: Ida1de0bffc544718e63ccf3641a09dbe577f3c4d

8 years agolayers: GH576, Validate attachment image usage
Mark Lobodzinski [Thu, 16 Jun 2016 19:23:02 +0000 (13:23 -0600)]
layers: GH576, Validate attachment image usage

Framebuffer attachment images are created with IMAGE_USAGE flags. These
flags are now validated against their attachment location in subpass
description structures. Also added a check for a preserve attachment
being set to UNUSED and fixed a few typos in the attachment index
checking stuff.

Change-Id: Id62d3539c490ce8f381d7ae606402980f11946fa

8 years agobuild: Fix typos in CMakeLists.txt (SPRIV->SPIRV)
Mark Young [Thu, 16 Jun 2016 20:57:25 +0000 (14:57 -0600)]
build: Fix typos in CMakeLists.txt (SPRIV->SPIRV)

Change-Id: I6a2b685cea8cda1fde5ae40a0beaa04f1319c6a3

8 years agolayers: LX539, update layer details doc
Mark Lobodzinski [Wed, 15 Jun 2016 23:48:23 +0000 (17:48 -0600)]
layers: LX539, update layer details doc

Added new error enum for memory index type mismatches.

Change-Id: I6f857facc4209f103da5cef9f6561a0e4ec3c334

8 years agolayers: LX539, Validate mem types
Mark Lobodzinski [Tue, 14 Jun 2016 18:11:29 +0000 (12:11 -0600)]
layers: LX539, Validate mem types

Bind[Image|Buffer]Memory did not validate that the memoryPropertyType
matched the memory_requirements memory type flags for the buffer
or image.

Change-Id: I7007588d78408689c34df66a17cc9201a37569b1

8 years agotests: GH421 vkUpdateDescriptorSets tests
Mark Mueller [Mon, 13 Jun 2016 23:52:06 +0000 (17:52 -0600)]
tests: GH421 vkUpdateDescriptorSets tests

A) Adding the WriteDescriptorSetIntegrityCheck test, which verifies
some requirements of chapter 13.2.3 of the Vulkan Spec
 1) A uniform buffer update must have a valid buffer index.
 2) When using an array of descriptors in a single WriteDescriptor,
      the descriptor types and stageflags must all be the same.
 3) Immutable Sampler state must match across descriptors
The above tests also exercise cases where descriptors are updated with
consecutive bindings both correctly and incorrectly

B) adding a MissingClearAttachment test that points to a wrong
colorAttachment index in a VkClearAttachment structure passed to
vkCmdClearAttachments

C) update vk_validation_layer_details.md to reflect above changes.

Change-Id: I3f4f2233371b68caf23b5a4111d63a94765121c3

8 years agovulkaninfo: Show TexelOffset in decimal, instead of hex.
Rene Lindsay [Wed, 15 Jun 2016 15:55:32 +0000 (08:55 -0700)]
vulkaninfo: Show TexelOffset in decimal, instead of hex.

8 years agoloader: GH362 - Fix json output of escape chars
Mark Young [Tue, 14 Jun 2016 20:59:44 +0000 (14:59 -0600)]
loader: GH362 - Fix json output of escape chars

The strings from the JSON file already add escape characters.
So, \ becomes \\ in the JSON file strings.  However, the cJSON
library was adding \\ for ever encountered \ when converting
to a string.  This became messy as C:\\vulkanSDK\\layerfile.json
became C:\\\\vulkanSDK\\\\layerfile.json.

Change-Id: I006252e33d6e91e2bef704dd5dee0777105388a7

8 years agoloader: Fix GH607 by adding proper array support
Mark Young [Mon, 13 Jun 2016 20:49:53 +0000 (14:49 -0600)]
loader: Fix GH607 by adding proper array support

JSON spec does not allow objects of the same name at the same
level.  But, that's what we used to allow with "layer" definitions.
Update new file version to 1.0.1, add "layers" array object, and
add multiple "layer" definition warning.

Change-Id: I040f07897c689800364d243daf3c247f1b3cace7

8 years agoloader: return ext not present when applicable
Jeremy Hayes [Tue, 14 Jun 2016 17:50:02 +0000 (11:50 -0600)]
loader: return ext not present when applicable

8 years agolayers: Fix CMakeLists.txt for non-MSVC Win builds
Mark Mueller [Tue, 14 Jun 2016 00:26:30 +0000 (18:26 -0600)]
layers: Fix CMakeLists.txt for non-MSVC Win builds

Fix a recent change broke windows builds that don't use the VC IDE or
decorate build trees like VC does

Change-Id: I93c8a559c4255408a6fa890b2a3e4d81822d1cea

8 years agovulkaninfo: Clean up XCB window creation code.
Rene Lindsay [Mon, 13 Jun 2016 23:20:39 +0000 (17:20 -0600)]
vulkaninfo: Clean up XCB window creation code.

Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604

8 years agolayers: Update docs for shared utils DLL
Mark Lobodzinski [Mon, 13 Jun 2016 20:48:12 +0000 (14:48 -0600)]
layers: Update docs for shared utils DLL

Change-Id: I129b4d074f0604bbdf6d81c052333229ece99ac3

8 years agolayers: Add debug report header
Mark Lobodzinski [Wed, 8 Jun 2016 18:44:54 +0000 (12:44 -0600)]
layers: Add debug report header

Enable output of a short message header containing definitions of
debug message types.

Change-Id: Ia84fb0e79d599b8d022b7d78267b7b6a0307823e

8 years agolayers: Make vklayer_utils a shared library
Mark Lobodzinski [Wed, 8 Jun 2016 18:48:18 +0000 (12:48 -0600)]
layers: Make vklayer_utils a shared library

Was previously statically linked.  Converting to a DLL will allow
data sharing and use of utils in samples repo.

Change-Id: I63ccc1f0f57dfad40f7068c60ac623bce5bd714d

8 years agolayers: Fix Windows Dota2 crash
Mark Lobodzinski [Mon, 13 Jun 2016 22:56:26 +0000 (16:56 -0600)]
layers: Fix Windows Dota2 crash

One of the event tracking lists was not getting cleared upon a reset,
resulting in an invalid reference on reuse.

Change-Id: I45d932822f27197266b363634d6cdccc785209d3

8 years agolayers: Fix test fallout in CommandBufferTwoSubmits
Chris Forbes [Sun, 12 Jun 2016 21:59:34 +0000 (09:59 +1200)]
layers: Fix test fallout in CommandBufferTwoSubmits

This test was accidentally triggering the fence reuse case as well, and
blindly continuing past that error. It doesn't need to use the fence at
all, so don't supply one.

Also tweak the layer to not run into the assert if the caller elected to
skip -- QueueSubmit still has validation and updates tangled together,
but this improves it slightly.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Fix mistracking of semaphores associated with submissions
Chris Forbes [Fri, 10 Jun 2016 03:25:45 +0000 (15:25 +1200)]
layers: Fix mistracking of semaphores associated with submissions

When a command buffer is simultaneously inflight multiple times, each
can have different semaphores associated. Storing the set of semaphores
on the GLOBAL_CB_NODE caused us to get confused and emit bogus errors.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Note broken behavior around stealing tracking from other queues
Chris Forbes [Fri, 10 Jun 2016 03:25:12 +0000 (15:25 +1200)]
layers: Note broken behavior around stealing tracking from other queues

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Add members to FENCE_NODE and QUEUE_NODE to hold the handles
Chris Forbes [Fri, 10 Jun 2016 03:22:37 +0000 (15:22 +1200)]
layers: Add members to FENCE_NODE and QUEUE_NODE to hold the handles

We'd like to be able to get back to them from the tracking struct.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Add helpers for getting fence and queue nodes
Chris Forbes [Fri, 10 Jun 2016 03:21:43 +0000 (15:21 +1200)]
layers: Add helpers for getting fence and queue nodes

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Add CB_SUBMISSION struct
Chris Forbes [Fri, 10 Jun 2016 00:43:13 +0000 (12:43 +1200)]
layers: Add CB_SUBMISSION struct

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Unify fence checks for queue functions
Chris Forbes [Thu, 9 Jun 2016 22:06:42 +0000 (10:06 +1200)]
layers: Unify fence checks for queue functions

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Remove dead fence members from GLOBAL_CB_NODE
Chris Forbes [Wed, 8 Jun 2016 21:40:55 +0000 (09:40 +1200)]
layers: Remove dead fence members from GLOBAL_CB_NODE

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: remove tracking of last queue and fence for CB
Chris Forbes [Tue, 7 Jun 2016 21:51:34 +0000 (09:51 +1200)]
layers: remove tracking of last queue and fence for CB

Unused.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Update manifest files for vers 1.0.16
Jon Ashburn [Mon, 13 Jun 2016 20:13:39 +0000 (14:13 -0600)]
layers: Update manifest files for vers 1.0.16

Change-Id: I7468c088d99f7bebabc05d1a84529f6e9e00d424

8 years agomisc: Update to Vulkan header version 16
Jon Ashburn [Mon, 13 Jun 2016 20:10:18 +0000 (14:10 -0600)]
misc: Update to Vulkan header version 16

Only change is the addition of AMD extensions.

Change-Id: Ia4270600247b2e3f406cdac0cfff3492ec1ce109

8 years agoRevert "loader: Fix build warning on windows"
Jon Ashburn [Mon, 13 Jun 2016 20:02:13 +0000 (14:02 -0600)]
Revert "loader: Fix build warning on windows"

This reverts commit 27a58419aab1bd62201e00ea5a6d822b65f99fa3.

8 years agoloader: Fix build warning on windows
Jon Ashburn [Mon, 13 Jun 2016 19:31:32 +0000 (13:31 -0600)]
loader: Fix build warning on windows

Don't use default library for libcmt.

Change-Id: I68c0f629044713c0c875758af9a0a1dd345dad75

8 years agoAdded {} to if statements.
Rene Lindsay [Fri, 10 Jun 2016 23:25:55 +0000 (16:25 -0700)]
Added {} to if statements.

Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604

8 years agoRemoved some window event handling code.
Rene Lindsay [Fri, 10 Jun 2016 22:56:01 +0000 (16:56 -0600)]
Removed some window event handling code.

Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604

8 years agoApplied the "clang-format" obfuscator
Rene Lindsay [Fri, 10 Jun 2016 22:33:08 +0000 (15:33 -0700)]
Applied the "clang-format" obfuscator

Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604

8 years agoShow "Presentable Formats" per GPU for Win32/XCB/XLib
Rene Lindsay [Fri, 10 Jun 2016 15:26:26 +0000 (08:26 -0700)]
Show "Presentable Formats" per GPU for Win32/XCB/XLib

Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604

8 years agolayers: GH536, Updated layer details doc
Mark Lobodzinski [Thu, 9 Jun 2016 23:03:52 +0000 (17:03 -0600)]
layers: GH536, Updated layer details doc

Added new cases, removed old enums, moved info from devlimits
to parameter validation.

Change-Id: Iddf6a679dc8596dcf411a6b880a63a26999607ec

8 years agolayers: GH536, Update CmdFillBuffer validation
Mark Lobodzinski [Thu, 9 Jun 2016 23:01:19 +0000 (17:01 -0600)]
layers: GH536, Update CmdFillBuffer validation

Was ignoring VK_WHOLE_SIZE. Moved validation cases for Update/FillBuffer
to Parameter Validation layer (as they were stateless) and added the
remaining additional stateless valid usage checks.

Change-Id: I0f41c6ba55f218a6db9fb34736a2abc52f856edf

8 years agowinrt: fix error on uninstall
David Pinedo [Fri, 10 Jun 2016 17:37:44 +0000 (11:37 -0600)]
winrt: fix error on uninstall

Remove old log files before writing them. When 2 uninstalls
are done in a row, this caused the uninstaller to display
an error

8 years agowinrtinstaller: display error num in ps warning window
David Pinedo [Fri, 10 Jun 2016 14:01:56 +0000 (08:01 -0600)]
winrtinstaller: display error num in ps warning window

Display an error number in warning window if powershell
script fails.

8 years agowinrt: configure loader even if ps script fails
David Pinedo [Thu, 9 Jun 2016 22:12:44 +0000 (16:12 -0600)]
winrt: configure loader even if ps script fails

8 years agowinrtinstaller: fixed problems introduced by piping script to powershell.exe
David Pinedo [Thu, 9 Jun 2016 19:40:21 +0000 (13:40 -0600)]
winrtinstaller: fixed problems introduced by piping script to powershell.exe

PS script return value is now correctly retrieved by NSIS script.
Logging is less verbose, removed extranous errors.

8 years agolayers: PR573, Handle imageArraySize rename
David McFarland [Fri, 20 May 2016 21:26:28 +0000 (18:26 -0300)]
layers: PR573, Handle imageArraySize rename

Swapchain layer had stale references -- rename things still using
imageArraySize instead of imageArrayLayers.

Change-Id: Iaa4500ab8cf55e50b96636a50136605dd3e6d83e

8 years agolayers: PR632, Updated layer details doc
Mark Lobodzinski [Thu, 9 Jun 2016 16:59:03 +0000 (10:59 -0600)]
layers: PR632, Updated layer details doc

Added device_limits MISSING_QUERY_COUNT

Change-Id: I5b129ec12930129f5d5fe46bbe2622977dc2d992

8 years agolayers: PR632, Change devlimits errors to warnings
Jan-Harald Fredriksen [Wed, 8 Jun 2016 16:51:52 +0000 (18:51 +0200)]
layers: PR632, Change devlimits errors to warnings

Replace call sequence errors with warnings for
vkEnumeratePhysicalDevices and GetPhysicalDeviceQueueFamilyProperties.

Change-Id: I1505f4a2b339ac7ef435da8b3ec2f85612026a42

8 years agolayers: PR629, Remove subpass warnings
Jan-Harald Fredriksen [Wed, 8 Jun 2016 12:20:50 +0000 (14:20 +0200)]
layers: PR629, Remove subpass warnings

The validation layer checks for dependency between subpasses using the
same attachments, but it also issues warnings if there are "only"
implicit dependencies between two subpasses. This is explicitly
allowed by the spec and should not cause validation warnings.

Change-Id: I1039955d6d445e1ee234116c6da2e4dbaf9c7dd9

8 years agolayers: Initialize write_in_use in eventMap entries
Tony Barbour [Mon, 6 Jun 2016 16:55:04 +0000 (10:55 -0600)]
layers: Initialize write_in_use in eventMap entries

Change-Id: Ic296788beb078f19a35b93b99df5dbf677c95122

8 years agowinrtinstaller: avoid executing ps scripts, instead just pipe cmds to ps
David Pinedo [Wed, 8 Jun 2016 22:30:06 +0000 (16:30 -0600)]
winrtinstaller: avoid executing ps scripts, instead just pipe cmds to ps

8 years agodemos: Add -lrt to link options for smoke LVL #500
Tony Barbour [Tue, 7 Jun 2016 16:44:06 +0000 (10:44 -0600)]
demos: Add -lrt to link options for smoke LVL #500

Change-Id: I0480e60e3c6c2f06f24022332640756bcdc3f1a0

8 years agotests: GH421 reflect vkAllocateDescriptorSets test
Mark Mueller [Tue, 7 Jun 2016 20:43:26 +0000 (14:43 -0600)]
tests: GH421 reflect vkAllocateDescriptorSets test

InvalidDescriptorSetLayout test was added with 772fcd1c

8 years agotests: GH421 reflect vkCmdBindDescriptorSets test
Mark Mueller [Tue, 7 Jun 2016 20:32:29 +0000 (14:32 -0600)]
tests: GH421 reflect vkCmdBindDescriptorSets test

Test was added with 772fcd1

8 years agolayers: Add check for image usage in vkCmdClearColorImage
Tony Barbour [Thu, 2 Jun 2016 15:43:50 +0000 (09:43 -0600)]
layers: Add check for image usage in vkCmdClearColorImage

Change-Id: I7ba803a11de29e65ae65fbf0a0168561a2e6739f

8 years agowinrtinstaller: retry ps script failure with full path to powershell.exe
David Pinedo [Tue, 7 Jun 2016 15:35:56 +0000 (09:35 -0600)]
winrtinstaller: retry ps script failure with full path to powershell.exe

Also changed diagnostics to log the contents of dir containing
powershell.exe, and log the current value of $PATH.

8 years agoloader: doc update for merge android and desktop layer interface
Jon Ashburn [Mon, 23 May 2016 19:05:21 +0000 (13:05 -0600)]
loader: doc update for merge android and desktop layer interface

Change-Id: Ibbffc0bf05bcbd1aa3b9272caa0b2c1c3a54037d

8 years agodemos: Added --suppress_popups flag
lenny-lunarg [Mon, 6 Jun 2016 17:07:53 +0000 (11:07 -0600)]
demos: Added --suppress_popups flag

Added a command line option to cube and tri to suppress
windows message boxes to facilitate Windows testing.

Change-Id: I069f9b199c9740e1e21c42100ceec42d5fb8f0e2

8 years agodoc: Expand LVL acronym in BUILD.md
Karl Schultz [Mon, 6 Jun 2016 18:15:00 +0000 (12:15 -0600)]
doc: Expand LVL acronym in BUILD.md

8 years agolayers: Update docs for default dbg msg callbacks
Mark Lobodzinski [Wed, 1 Jun 2016 22:12:49 +0000 (16:12 -0600)]
layers: Update docs for default dbg msg callbacks

Change-Id: Ic1f192ea7c95762d7e53f091cc9f0ea55be96c04

8 years agolayers: Move debug action enums from vk_layer.h
Mark Lobodzinski [Tue, 24 May 2016 22:04:56 +0000 (16:04 -0600)]
layers: Move debug action enums from vk_layer.h

Moved debug-report related items from vk_layer.h. Enums are now in
vk_layer_logging.h and DbgFunctionNode has been moved into a new
loader header file vk_loader_layer.h.

Change-Id: I6031146ba474ff01ca039da44ad5d42d054383a3

8 years agolayers: Add default layer error message config
Mark Lobodzinski [Thu, 19 May 2016 21:27:18 +0000 (15:27 -0600)]
layers: Add default layer error message config

Allows layers to output error messages even if no vk_layer_settings.txt
config file is present. Sets defaults to LOG_MSG, error, stdout.
A layer settings file will override any default values. If no settings
file is present and an app creates a debug callback, the default
callbacks will be removed and unregistered.

Change-Id: I49f37189665816df58c258b9e9629f2bf76751c8