aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-06-17Only set scripts that starts with a hashbang as executableAlexander F Rødseth
Remove executable bit from files like README.md Change-Id: I6a2a86e8312616c175845f0a3b777515a58c52b9
2016-06-17layers: GH576, Update layer details docMark Lobodzinski
Added entries for new attachment index tests and enums. Change-Id: Ida1de0bffc544718e63ccf3641a09dbe577f3c4d
2016-06-17layers: GH576, Validate attachment image usageMark Lobodzinski
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
2016-06-16build: Fix typos in CMakeLists.txt (SPRIV->SPIRV)Mark Young
Change-Id: I6a2b685cea8cda1fde5ae40a0beaa04f1319c6a3
2016-06-16layers: LX539, update layer details docMark Lobodzinski
Added new error enum for memory index type mismatches. Change-Id: I6f857facc4209f103da5cef9f6561a0e4ec3c334
2016-06-16layers: LX539, Validate mem typesMark Lobodzinski
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
2016-06-15tests: GH421 vkUpdateDescriptorSets testsMark Mueller
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
2016-06-15vulkaninfo: Show TexelOffset in decimal, instead of hex.Rene Lindsay
2016-06-14loader: GH362 - Fix json output of escape charsMark Young
The strings from the JSON file already add escape characters. So, \ becomes \\ in the JSON file strings. However, the cJSON library was adding \\ for ever encountered \ when converting to a string. This became messy as C:\\vulkanSDK\\layerfile.json became C:\\\\vulkanSDK\\\\layerfile.json. Change-Id: I006252e33d6e91e2bef704dd5dee0777105388a7
2016-06-14loader: Fix GH607 by adding proper array supportMark Young
JSON spec does not allow objects of the same name at the same level. But, that's what we used to allow with "layer" definitions. Update new file version to 1.0.1, add "layers" array object, and add multiple "layer" definition warning. Change-Id: I040f07897c689800364d243daf3c247f1b3cace7
2016-06-14loader: return ext not present when applicableJeremy Hayes
2016-06-14layers: Fix CMakeLists.txt for non-MSVC Win buildsMark Mueller
Fix a recent change broke windows builds that don't use the VC IDE or decorate build trees like VC does Change-Id: I93c8a559c4255408a6fa890b2a3e4d81822d1cea
2016-06-13vulkaninfo: Clean up XCB window creation code.Rene Lindsay
Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604
2016-06-13layers: Update docs for shared utils DLLMark Lobodzinski
Change-Id: I129b4d074f0604bbdf6d81c052333229ece99ac3
2016-06-13layers: Add debug report headerMark Lobodzinski
Enable output of a short message header containing definitions of debug message types. Change-Id: Ia84fb0e79d599b8d022b7d78267b7b6a0307823e
2016-06-13layers: Make vklayer_utils a shared libraryMark Lobodzinski
Was previously statically linked. Converting to a DLL will allow data sharing and use of utils in samples repo. Change-Id: I63ccc1f0f57dfad40f7068c60ac623bce5bd714d
2016-06-13layers: Fix Windows Dota2 crashMark Lobodzinski
One of the event tracking lists was not getting cleared upon a reset, resulting in an invalid reference on reuse. Change-Id: I45d932822f27197266b363634d6cdccc785209d3
2016-06-13layers: Fix test fallout in CommandBufferTwoSubmitsChris Forbes
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>
2016-06-13layers: Fix mistracking of semaphores associated with submissionsChris Forbes
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>
2016-06-13layers: Note broken behavior around stealing tracking from other queuesChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-06-13layers: Add members to FENCE_NODE and QUEUE_NODE to hold the handlesChris Forbes
We'd like to be able to get back to them from the tracking struct. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-06-13layers: Add helpers for getting fence and queue nodesChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-06-13layers: Add CB_SUBMISSION structChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-06-13layers: Unify fence checks for queue functionsChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-06-13layers: Remove dead fence members from GLOBAL_CB_NODEChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-06-13layers: remove tracking of last queue and fence for CBChris Forbes
Unused. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-06-13layers: Update manifest files for vers 1.0.16Jon Ashburn
Change-Id: I7468c088d99f7bebabc05d1a84529f6e9e00d424
2016-06-13misc: Update to Vulkan header version 16Jon Ashburn
Only change is the addition of AMD extensions. Change-Id: Ia4270600247b2e3f406cdac0cfff3492ec1ce109
2016-06-13Revert "loader: Fix build warning on windows"Jon Ashburn
This reverts commit 27a58419aab1bd62201e00ea5a6d822b65f99fa3.
2016-06-13loader: Fix build warning on windowsJon Ashburn
Don't use default library for libcmt. Change-Id: I68c0f629044713c0c875758af9a0a1dd345dad75
2016-06-10Added {} to if statements.Rene Lindsay
Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604
2016-06-10Removed some window event handling code.Rene Lindsay
Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604
2016-06-10Applied the "clang-format" obfuscatorRene Lindsay
Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604
2016-06-10Show "Presentable Formats" per GPU for Win32/XCB/XLibRene Lindsay
Change-Id: I5ef0862326d9a7ce4e59fe7c8947b532f252d604
2016-06-10layers: GH536, Updated layer details docMark Lobodzinski
Added new cases, removed old enums, moved info from devlimits to parameter validation. Change-Id: Iddf6a679dc8596dcf411a6b880a63a26999607ec
2016-06-10layers: GH536, Update CmdFillBuffer validationMark Lobodzinski
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
2016-06-10winrt: fix error on uninstallDavid Pinedo
Remove old log files before writing them. When 2 uninstalls are done in a row, this caused the uninstaller to display an error
2016-06-10winrtinstaller: display error num in ps warning windowDavid Pinedo
Display an error number in warning window if powershell script fails.
2016-06-09winrt: configure loader even if ps script failsDavid Pinedo
2016-06-09winrtinstaller: fixed problems introduced by piping script to powershell.exeDavid Pinedo
PS script return value is now correctly retrieved by NSIS script. Logging is less verbose, removed extranous errors.
2016-06-09layers: PR573, Handle imageArraySize renameDavid McFarland
Swapchain layer had stale references -- rename things still using imageArraySize instead of imageArrayLayers. Change-Id: Iaa4500ab8cf55e50b96636a50136605dd3e6d83e
2016-06-09layers: PR632, Updated layer details docMark Lobodzinski
Added device_limits MISSING_QUERY_COUNT Change-Id: I5b129ec12930129f5d5fe46bbe2622977dc2d992
2016-06-09layers: PR632, Change devlimits errors to warningsJan-Harald Fredriksen
Replace call sequence errors with warnings for vkEnumeratePhysicalDevices and GetPhysicalDeviceQueueFamilyProperties. Change-Id: I1505f4a2b339ac7ef435da8b3ec2f85612026a42
2016-06-09layers: PR629, Remove subpass warningsJan-Harald Fredriksen
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
2016-06-09layers: Initialize write_in_use in eventMap entriesTony Barbour
Change-Id: Ic296788beb078f19a35b93b99df5dbf677c95122
2016-06-08winrtinstaller: avoid executing ps scripts, instead just pipe cmds to psDavid Pinedo
2016-06-07demos: Add -lrt to link options for smoke LVL #500Tony Barbour
Change-Id: I0480e60e3c6c2f06f24022332640756bcdc3f1a0
2016-06-07tests: GH421 reflect vkAllocateDescriptorSets testMark Mueller
InvalidDescriptorSetLayout test was added with 772fcd1c
2016-06-07tests: GH421 reflect vkCmdBindDescriptorSets testMark Mueller
Test was added with 772fcd1
2016-06-07layers: Add check for image usage in vkCmdClearColorImageTony Barbour
Change-Id: I7ba803a11de29e65ae65fbf0a0168561a2e6739f