aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-10layers: Fix layer settings file debug action nameMark Lobodzinski
Change-Id: Ic5a6828d57515efb50c12e21ef45e690c058c96a
2017-08-10layers: GH1991, Implement BREAK debug actionMark Lobodzinski
Change-Id: I19ee76db3a380116c7c25819a112751d988e23b4
2017-08-10loader: Replace overzealous warnings with infoLenny Komow
The new ICD search functionality was logging warnings in some places where information was more appropriate, such as when opening a device or for some errors that simply indicated that the new format is not supported yet. Change-Id: Ifc8ce33d778783f3f55102783bf6ede0dd7c2a00
2017-08-10loader: Don't load manifest files more than onceLenny Komow
Change-Id: I2802ad0c1fd16c0287ed24b96ec6d81c4b3c711a
2017-08-10loader: Fix size handling when scanning registriesSlawomir Cygan
loaderGetRegistryFiles() should not start from 4096 size, if loaderGetDeviceRegistryFiles function has already appended something into the buffer.
2017-08-10loader: Add new ICD search paths to loaderSlawomir Cygan
This change extends the functionality of searching for ICD JSONs by adding registry locations specific to given display adapter and software components associated with this display adapter. The exact locations in registry are queried using Windows public PnP Configuration Manager API[1]. This change is required, as previous ICD locations (constant path in "HKLM/Software") may be unreachable for drivers and their installers on Windows RS3[2]. Similar change is being made for OpenCL[2] [1]https://msdn.microsoft.com/en-us/library/windows/hardware/ff549713.aspx [2]https://github.com/KhronosGroup/OpenCL-ICD-Loader/pull/21
2017-08-09layers: PR1950, Update subresource range VUIDsPetr Kraus
With updated test names in database. Change-Id: Ie6cb2dfa9fa84de2dd0dea645249fe03c6780eba
2017-08-09layers:Fix consecutive binding updatesTobin Ehlis
Fixes #1992 When we're wrapping a descriptor update for consecutive bindings, fix code so that index into update array consistently increases.
2017-08-09build: PR1972, Install vk_layer_dispatch_table.h hdrBas Nieuwenhuizen
vk_layer.h is installed and includes it. Also, vk_layer.h is needed to write third party layers, so I don't think not installing vk_layer.h is an option. Change-Id: I3e34d8484fdc5092edff3bab72991303a4aeb2c7
2017-08-09layers: Untangle side effects in CmdWaitEventsChris Forbes
2017-08-08layers: Fix CmdPushDescriptorSet object trackerTony Barbour
Ignore the dstSet field of VkWriteDescriptorSet as indicated by the spec Change-Id: I28ca6ea3059f5528bdf369954e1621ef670e0d54
2017-08-07Update commit IDs: glslang,toolsMike Weiblen
Change-Id: Ie24b136b2df3718ba1c9ee493d69716304795a11
2017-08-07demos: Revert AppDevInitFormat changesMike Schuchardt
Calling vkGetPhysicalDeviceFormatProperties with extension formats is not valid and causes crashes on some drivers. Revert the list of VkFormats to the original range. Change-Id: I2b7f0bd5bb49a66cd073216e93e3bba35c67ab98
2017-08-07layers: Fix swapchain extent checkCort
This fixes a regression introduced -- by me :( -- in commit 583b0c41dfd0876d0481920f2e6d8d87433bc1d7. The swapchain's imageExtent must always be within the surface's min/max extent, regardless of the surface's current extent.
2017-08-02layers: Fix incorrect VUID for negative viewport htMark Lobodzinski
Layers used the wrong VUID for the checks for negative viewport height if the extensions were not enabled. Fixed existing test, added a new test, and updated the database, and removed special case from validation_stats script. Change-Id: Ia165e6245990a4fabb3745102b345a7b4f1b0202
2017-08-02layers: Don't do bogus transitions in invalidateCommandBuffersChris Forbes
Total nonsense like: RECORDING -> INVALID_INCOMPLETE -> INVALID_COMPLETE was possible when there were two invalidations.
2017-08-01header: Update to version 1.0.57 of the vulkan hdrMark Lobodzinski
- updated vulkan.h - updated vk.xml - updated cgenerator.py - updated Win/Lin json files - updated and fixed vk_validation_error_database.h - updated vk_validation_error_messages.h - updated vulkan.hpp Change-Id: Idebc490660833daac43d234db44131e9bf2b910b
2017-08-01external: Update commit IDs: glslang,tools,headerMike Weiblen
Update external reference commit IDs for Desktop and Android Change-Id: I0b79c9e030e06479d1f07d4d3372dcc96bfa2f0e
2017-07-28layers:Rename lambda function containerTobin Ehlis
Change name to queue_submit_functions to reflect the fact that validate functions in this container are executed at QueueSubmit() time.
2017-07-28layers:Pass framebuffer into barrier lambdaTobin Ehlis
Pass framebuffer into image barrier validation lambda so that secondary CB state doesn't have to be updated in CmdExecuteCommands. Just pass in framebuffer from primary CB instead. Update secondary CB lambda container name to reflect the fact that those functions are executed at CmdExecuteCommands() time.
2017-07-28layers:Delay barrier validation for secondary CBTobin Ehlis
When a secondary command buffer doesn't have a framebuffer, queue up any renderPass barrier validation until submit time when we know we'll have a framebuffer bound. Added a separate vector of validation functions that are added to secondary command buffer for this case and then executed at CmdExecuteCommands() time. Migrated the image validation that needs to be delayed to its own function. This makes it easy to add to the delayed function array and capture a copy of the image barrier that needs to be validated. In CmdExecuteCommands() when validation runs inherit the activeFB from the primaryCB into the secondary CB.
2017-07-28demos: Fix cube to use correct pipeline stage for barrierTony Barbour
Change-Id: Ia85e0acc67694d859077044ad24b13b0ad834811
2017-07-28tests: Update VALIDATION_ERROR_1b800942Tony Barbour
Change-Id: I14651b387848d3d1cc8bd3f5e0051ba8dce12e66
2017-07-27layers:Verify dstAccessMask supported by stageMaskTobin Ehlis
This is VALIDATION_ERROR_1b800942. Verify that barrier drcAccessMask is supported by drcStageMask.
2017-07-27tests:Test srcAccessMask/srcStageMask conflictTobin Ehlis
New test case for VALIDATION_ERROR_1b800940. Create srcAccessMask conflict with srcStageMask in memory barrier. Fix a bunch of existing test cases that were triggering this new check b/c srcStageMask conflicted w/ barrier srcAccessMask.
2017-07-27layers:Verify accessMask supported by stageMaskTobin Ehlis
This is VALIDATION_ERROR_1b800940. Verify that barrier srcAccessMask is supported by srcStageMask.
2017-07-27tests:Test queueFamilyIndex for image barrierTobin Ehlis
Add test for VALIDATION_ERROR_1b80093c to RenderPassBarrierConflicts. For image barrier in renderPass, src&dstQueueFamilyIndex must be VK_QUEUE_FAMILY_IGNORED.
2017-07-27layers:Verify image barrier queueFamilyIndicesTobin Ehlis
This is VALIDATION_ERROR_1b80093c. For image barrier in renderPass both src & dst queueFamilyIndex members must be VK_QUEUE_FAMILY_IGNORED.
2017-07-27scripts: Exclude disable extension enumsMark Lobodzinski
Including these enums hosed up the private builds. Change-Id: I74fcb628171dfd70e7bce03e7ede35d4d22a75b5
2017-07-26layers: Add VUID for LogicOp validation checkMark Lobodzinski
Change-Id: I19f10ee8e45af336290b36107db8bfe1c41c3a88
2017-07-26layers: Remove PV dead code, fixup commentsMark Lobodzinski
Change-Id: I94804f0b994618982afcb344dc88b92a9bee3336
2017-07-26scripts: Generate PV calls to ranged_enum_array fcnMark Lobodzinski
Change-Id: I106fe73c2199d1b4d8aa090bd22bb79884637d58
2017-07-26layers: Add new ranged_enum_array val routineMark Lobodzinski
Change-Id: I2b78d90bd248a6800f719ef89c534140cb217ad8
2017-07-26scripts: Generate calls to new enum PV functionMark Lobodzinski
Change-Id: I9692f1b2101d6cc1eef3bf55582dbf7980c4e8d2
2017-07-26layers: Add new PV ranged enum validation functionMark Lobodzinski
Uses new enum lists. Change-Id: I24629770e1018f5938fa82d2a3da8eb1cd716de7
2017-07-26scripts: Generate param_validation valid enum listsMark Lobodzinski
Change-Id: I0dd6bf95bf54baa9a71f41a482bc52527944aea8
2017-07-25layers: GH1924, Improve unavailable feature msgMark Lobodzinski
Modified the unavailable requested feature error message to print the feature name instead of just an index. Change-Id: Idcb66921fc592014330dce6946631984d85cd866
2017-07-25scripts: Add PDevFeature index print helperMark Lobodzinski
In the Enum string helper header, tack on a routine to convert an index into a VkPhysicalDeviceFeatures structure into its corresponding feature string. Change-Id: I8fbfb6fcbfa63361a851ffc93ffd832696050d51
2017-07-25scripts: Switch codegen to use structextendsMike Schuchardt
Replace all usages of the deprecated validextensionstructs member attribute with the registry.validextensionstructs dict. Internally the registry builds this extension dictionary using the new structextends type attribute. Change-Id: I072ff707bfdfa1f576266291e4196837da526287
2017-07-24header: Update to version 1.0.56 of the Vulkan hdrMark Lobodzinski
- updated vulkan.h - updated vk.xml - updated Win/Lin .json files - updated vk_validation_error_database.h - updated vk_validation_error_messages.h - updated vulkan.hpp Change-Id: Ibf64c8a1760743b3118794b0ef5f6d34b108bbbc
2017-07-24layers:Refactor image barrier validationTobin Ehlis
Move image barrier validation within a renderPass into its own function in order to break up existing code a bit. Add a check to make sure framebuffer is valid before attempting to use FB state.
2017-07-24layers:Minor refactor for clarityTobin Ehlis
Add comment and move VkSubpassDescription local variable assignment to clarify what's going on.
2017-07-24tests:Add image mis-matched layout testTobin Ehlis
Test for VALIDATION_ERROR_1b800938. Verify check fires when subpass attachment layout does not match image barrier layout.
2017-07-24layers:Refactor barrier check orderTobin Ehlis
Do the renderPass barrier check first and early return to avoid potential redundant errors from remaining layout and barrier checks.
2017-07-24layers:Check image barrier layout vs attachmentTobin Ehlis
This is VALIDATION_ERROR_1b800938. Make sure that the attachment references by current subpass description has a layout that matches image barrier layout.
2017-07-24layers:Check barrier image vs subpass attachmentsTobin Ehlis
This is the second half of VALIDATION_ERROR_1b800936, for which the first half was already implemented. Make sure that VkSubpassDescription for current subpass references the attachment that has an image matching the image barrier.
2017-07-24layers:Only deref active subpass onceTobin Ehlis
Grab active subpass once initially to avoid repeated defers of cb_state
2017-07-24layers:Migrate image barrier checkTobin Ehlis
This check is only relevant within a renderPass so move it to the function specifically dedicated for in-renderPass barrier checks.
2017-07-24tests:Test invalid image in VkImageMemoryBarrierTobin Ehlis
Add case to RenderPassBarrierConflicts where a VkImageMemoryBarrier in a renderPass refers to an image that's not an attachment of the current framebuffer.
2017-07-24layers:Add image barrier image checkTobin Ehlis
This is VALIDATION_ERROR_1b800930. Make sure that image in VkImageBarrier matches one of the images in the current framebuffer.