aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-16layers: Fix layer debug action initializationDustin Graves
Fix for debug_action option retrieval. Change-Id: Icd601b337b40830d2f2231cdb0ec22469b5e8ec5
2016-03-16layers: Update validation layer details doc for layer renamingMark Lobodzinski
Delete mem_tracker Delete draw_state Add core_validation Change-Id: Idc84160b94febf5c4d81ea0c6f34b9f51592e472
2016-03-16layers: Move lock around add_object_create_info in core_validationTony Barbour
Change-Id: I9b183e1231fecc7dce8db9899ee115c5e7a2be3e
2016-03-16layers: Move layer debug action initialization into layer_utilsMark Lobodzinski
Also removed dead code from the layer generation script. Change-Id: I64fdcaaf1aed8152de62079568c8e247333d8c61
2016-03-16winrtinstaller: Allow layers from SDK older than RT to be configured for useDavid Pinedo
Layers from SDK can be used by an RT if their major, minor, and patch numbers are the same. For example, if SDK 1.0.5.0 is already installed, and then RT 1.0.5.1 is installed. During the RT installation, the layer registry entries will be set to point to the layers in SDK 1.0.5.0.
2016-03-16layers: Update doc validation to use core_validation filenamesTobin Ehlis
2016-03-16demos: Put smoketest exe in same dir as cube and triTony Barbour
Change-Id: I35dec36d3e67912375180192e1ca8ed1fa2abe75
2016-03-16layers: Replace draw_state and mem_tracker with core validationMark Lobodzinski
Change-Id: Ib8eb7491f6c60bc6d05da64a2311c8cfa5f88d60
2016-03-15cmake: Find spirv/glslang dependenciesDustin Graves
Replace the hardcoded glslang and spirv-tools path with CMake find macros to find the include, library, and programs. Change-Id: Id498ad75d663f2795207b39b40a11ddfe2c03920
2016-03-15winrtinstaller: Install both x86 and x64 redist's if either is not installedDavid Pinedo
Fix for issue: https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/109
2016-03-15layers: Add some defensive code to core_validationTobin Ehlis
Missed a NULL check and assert when I merged in the bindingToIndexMap fix for descriptor type/stageFlags.
2016-03-15cmake: Fix windows debug build for large object filesMark Lobodzinski
The core_validation layer is presently large. Change-Id: Id1ab0dd0af0a3bc18078bdd50bf42add46d77339
2016-03-15layers: Fix crash in core_validation layerMark Lobodzinski
CommandBuffers were getting added to commandPoolMap twice. Change-Id: I115757751ef0aebb1f2599217b3117beca3cd0b7
2016-03-15layers: Add json files for core_validation layerMark Lobodzinski
Change-Id: I69495151be84fa18feb5a55848eb536ac9e73100
2016-03-15layers: Fix core_validation compilation errorMark Lobodzinski
Change-Id: I1ed4fffbf607465239afbce4d7d28b11bceaa548
2016-03-15layers: Merge mem_tracker and draw_state layers into core_validation layerTobin Ehlis
cube & tri --validate now use core_validation instead of MT & DS Very little efficiency has been pulled out for this initial merge. A few maps have been merged, but otherwise almost all of the mem_tracker code is pulled intact and surrounded in "#if MTMERGE" blocks. Change-Id: Icf060bfc0177fc8c9fa7d8d57f7ddc446357b665
2016-03-15layers: GH130 Fix to correctly get type/flags from set bindingTobin Ehlis
We were using bindingToIndexMap to do look-ups into type and stage vectors which is incorrect. bindingToIndexMap is to index into the original pBindings map that was passed in when the layout was created. This fix does this to correctly pull type and stage of a binding in draw_state.
2016-03-15winrtinstaller: Verify vulkan-1-*dll has correct file name formatDavid Pinedo
2016-03-15layers: PR118, Remove erroneous validation error from swapchainszdarkhack
Remove error when selecting VK_PRESENT_MODE_FIFO_KHR (required to be supported) without enumerating the supported presentation modes first. Change-Id: Iacc8fa55dec1b1f72011041813b423f95912a092
2016-03-15layers: GH132 Event handle should be printed as a hexadecimal valueDominik Witczak
2016-03-15android: Fix android buildTobin Ehlis
Account for update of draw_state to include SPIRV/spirv.hpp.
2016-03-15layers: draw state image/layout cleanupDustin Graves
Remove tracked device memory, subresource, and layout data associated with an image when that image is destroyed. Eliminates spurious draw state messages that report invalid layout issues when the destroyed image's handle is recylced and the new image state is validated with the old image's data. Change-Id: Ia956a3f7c60a34e6357f4d0d4d9dfe760910e97c
2016-03-14layers: Change header path for spirv.h in draw_stateJon Ashburn
Change-Id: I8d2739daa17fc6b971e9e093158b22b211920558
2016-03-14#include formatting changes for relative look-up.Aaron Karp
- <> notation skips relative path searching in Visual Studio with some settings (and per language spec if I'm not mistaken). Switched to "" notation for includes where relative look-up seemed to be the intention.
2016-03-14demos: Fix typo in tri.c that prevented validate arg from working correctlyMark Lobodzinski
Change-Id: I8562e601c27e2413071f47ed97fe5ffd9f46bd07
2016-03-11layers: Add pNext parameter checkingDustin Graves
Validate pNext based on the validextensionstructs tag from the XML registry. If the tag provides a list of valid structures, walk the pNext list and check each node's sType value agains the VkStructureType value associated with the structs from the list. If no valid structure list is provided, ensure that pNext is NULL. Invalid struct types produce errors similar to the following: ERROR: [PARAMCHECK] Code 1 : vkCreateImage: pCreateInfo->pNext chain includes a structure with unexpected VkStructureType VK_STRUCTURE_TYPE_APPLICATION_INFO; Allowed structures are [VkInstanceCreateInfo, VkDeviceCreateInfo] Change-Id: I2c2471a068cb304120c66cb4156331999f8548cd
2016-03-11loader: make sure createDevice uses ICDs physicalDeviceJon Ashburn
Trampoline CreateDevice was using the terminator's physicalDevice instead of the ICDs. Change-Id: Ifdc6497fe4130e1ac1440b225401e65600b2a999
2016-03-11spirv: Pick up SPIRV-Tools fix for version generation script.Karl Schultz
This bug would only occur when building spirv-tools outside of a git repo, such as inside of an SDK install. When outside of a git repo, the version generation script would hit a corner case, making the python script fail. Change-Id: I5c3a8ce35e8379396e8d19281bbe3331a3f75820
2016-03-11loader: Fix cmake on win for list of normal and opt sourcesJon Ashburn
Change-Id: I5eb7836ba0606628fc663ecfa8cd3ca4d535a8b9
2016-03-11layers: GH67: Add missing mem_tracker interception for vkCmdBlitImage() callsDominik Witczak
Change-Id: I5d683323f6d038907ecb82e62c418e00aeaa5315
2016-03-11layers: Fix overlapping attachment aliasing dependency check in draw_stateMichael Lentine
Change-Id: I3707afae288ed8edb644d68a6cacc9781ed11558
2016-03-11layers: Enfoce that unique objects if enabled happens before draw_state in ↵Michael Lentine
the chain.
2016-03-10layers: Fix draw_state handling of special image layouts in CmdPipelineBarrierMark Lobodzinski
Layer was ignoring VK_REMAINING_MIP_LEVELS and *ARRAY_LAYERS, resulting in Source2 applications hanging. Change-Id: I2ebecd3120eec9a97b6f3672984c15bd2e438c5c
2016-03-10loader: fix cmake file so it doesn't always build loader with DEBUGDavid Pinedo
2016-03-10layers: Fix helper script to not dereference strings with a NULL pointer.Jon Ashburn
Fixes the string helper functions. Change-Id: I4177e498b734af9188088188a16a09aa2a6113b3
2016-03-10layers: Update layer validation details documentMark Lobodzinski
Change-Id: I4990f7882061ce36f4520ce20655b0ceb06ba168
2016-03-10layers: GH99 Track all command buffers submitted at once at the same time.Michael Lentine
2016-03-10layers: GH96 Fix error messages for bad layoutTobin Ehlis
Instead of printing attachements as #s in the error messages, print the layout string.
2016-03-10layers: GH98 Only check fence in-use once per QueueSubmitTobin Ehlis
In vkQueueSubmit, perform the fence in-use check first. Then validate each submit, which includes marking the current fence in-use.
2016-03-10docs: Update README.mdJon Ashburn
Change-Id: Idba8b7e07d3a71e49c01e406825b96ccbb342efa
2016-03-10Update BUILD.mdKarl Schultz
Update for upcoming SDK release. Reword to make it less necessary to change this file for future SDK releases.
2016-03-09Update CONTRIBUTING.mdKarl Schultz
Fix typos
2016-03-09layers: GH94 Correctly map bindingToIndex in draw_state (thanks @baldurk)Tobin Ehlis
2016-03-09Update CONTRIBUTING.mdKarl Schultz
Rework info so that it can be used in the three repos.
2016-03-09layers: Add checking for may alias bit.Michael Lentine
2016-03-09layers: Format updates for attachments overlapping memory code in draw_stateMichael Lentine
2016-03-09layers: Lighten object tracker slightlyChris Forbes
Just avoiding some repeated unordered_map lookups. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-03-09layers: Remove documentation for now-defunct check "FS_MIXED_BROADCAST"Tobin Ehlis
2016-03-09layers: Add descriptor type matching to DrawStateChris Forbes
(Squashed from 6 commits of WIP series) Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-03-08layers: clang-format layers directoryJon Ashburn
Change-Id: I318e3759829f33441e57aafedec1e9ec06d658c4