aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2016-06-07winrtinstaller: retry ps script failure with full path to powershell.exeDavid Pinedo
Also changed diagnostics to log the contents of dir containing powershell.exe, and log the current value of $PATH.
2016-06-06loader: doc update for merge android and desktop layer interfaceJon Ashburn
Change-Id: Ibbffc0bf05bcbd1aa3b9272caa0b2c1c3a54037d
2016-06-06demos: Added --suppress_popups flaglenny-lunarg
Added a command line option to cube and tri to suppress windows message boxes to facilitate Windows testing. Change-Id: I069f9b199c9740e1e21c42100ceec42d5fb8f0e2
2016-06-06doc: Expand LVL acronym in BUILD.mdKarl Schultz
2016-06-06layers: Update docs for default dbg msg callbacksMark Lobodzinski
Change-Id: Ic1f192ea7c95762d7e53f091cc9f0ea55be96c04
2016-06-06layers: Move debug action enums from vk_layer.hMark Lobodzinski
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
2016-06-06layers: Add default layer error message configMark Lobodzinski
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
2016-06-06winsdkinstaller: add cmd copy as additional diagnosic for ps failureDavid Pinedo
2016-06-03winrtinstaller: add more logging debug code to powershell script invocationDavid Pinedo
2016-06-03winrtinstaller: fixes and diagnostics for powershell config script failureDavid Pinedo
2016-06-02layers: Comment updateTobin Ehlis
2016-06-02layers: Clean up poolMap accessTobin Ehlis
Remove some unneeded passing of poolMap around and use getPoolNode() function in DescriptorSet class.
2016-06-02layers: Remove unneccessary constsTobin Ehlis
2016-06-02layers: Update swapchainMap to use unique_ptrTobin Ehlis
2016-06-02layers: Added getSwapchainNode() helperTobin Ehlis
Added getSwapchainNode() helper to core_validation and update DescriptorSet class to use it.
2016-06-02layers: Add getSwapchainFromImage() helperTobin Ehlis
Add getSwapchainFromImage() to core_validation and use it from DescriptorSet class.
2016-06-02layers: Remove unneeded layout_mapTobin Ehlis
2016-06-02layers: Add getImageNode() helperTobin Ehlis
Add getImageNode() helper to core_validation and use it. Also update DescriptorSet class to use the helper and kill its image_map member.
2016-06-02layers: Add getImageViewData() helperTobin Ehlis
Switch imageViewMap to store unique_ptrs. Add getImageViewDate() helper to core_validation and update DescriptorSet to use it.
2016-06-02layers: Add getSamplerNode() helperTobin Ehlis
Kill sampler_map_ in DescriptorSet and add getSamplerNode() helper and use it instead.
2016-06-02layers: Add getBufferViewInfo() helperTobin Ehlis
Add helper function to core_validation for bufferViewMap look-ups and use the helper in DescriptorSet class.
2016-06-02layers: Update getMemObjInfo helperTobin Ehlis
Standardize core_validation use of getMemObjInfo() and update DescriptorSet class to use it as well.
2016-06-02layers: Add getBufferNode() helperTobin Ehlis
Move core_validation bufferMap to use unique_ptr to BUFFER_NODE. Perform bufferMap look-ups using getBufferNode() helper function. Update DescriptorSet class to use getBufferNode() helper and store layer_data instead of bufferMap.
2016-06-02layers: Make layer_data visible to DescriptorSetTobin Ehlis
This is the start of migrating core_validation::layer_data to be visible in DescriptorSet class. DescriptorSet class can't see the contents of layer_data, so it also needs the get<Object>() helper functions to look up items from the maps. This first change only brings along getSetNode() utility function so only set_map references can be removed. Will add follow-on CLs to remove more maps from DescriptorSet class and bring in more utility functions.
2016-06-02Update BUILD.mdKarl Schultz
Remove statement indicating that the Linux SDK installs the loader and layers to system libraries; it no longer does this.
2016-06-02cmake: Fix MSVCRT overrideDustin Graves
Fix the CMake code that overrides the /MD flag with the /MT flag for the Windows demo and loader projects. The CMake debug and release variables were set to /MTd and /MT, overriding all existing debug and release settings. Now replacing /MD with /MT in the debug and release variables, without losing other debug/release settings. Also performing the MD/MT substitution for all release and debug configurations. Change-Id: Id4a57c38bde0d909a95e7a49d9867029829e2c61
2016-06-02layers: Comment updateTobin Ehlis
The behavior of the PreCallValidateAllocateDescriptorSets slightly changed so updating comment accordingly.
2016-06-02layers: Pass common data between pre/post AllocDescriptorSetsTobin Ehlis
With the break between PreValidate* and PostRecord* calls in the layers we can suffer having to do some repeat work in the Post step. In order to prevent this, this CL slightly modifies the interface to pass common data between the pre/post calls in a custom AllocateDescriptorSetsData struct. I initially attempted to fill this data in a separate function that would preceed the PreValidate* call, but such a function would need to include some validation as it includes map checks which may fail. The simplest solution, then, seems to be passing a ptr to the common data to the PreValidate* function who then fills the data. If the validation and call down the chain succeed, the PostRecord* function then takes a ptr to the common data to prevent having to redo the work that was done at validation time.
2016-06-02layers: Add DescriptorSet interface for allocationTobin Ehlis
Create a top-level "Validate" and "Perform" interface for the vkAllocateDescriptorSets() function in DescriptorSet class. Refactor AllocateDescriptorSets() in core_validation to use the new interface. All checks are now performed in a "Pre" function and all state updates are recorded in a "Post" function.
2016-06-02layers: Migrate DESCRIPTOR_POOL_NODE to type headerTobin Ehlis
2016-06-02layers: GH611 Fix dynamic offset indexingiostrows
2016-06-02layers: simplify v0 function implementationsChia-I Wu
Since each of the layer library contains only a layer, we can simplify v0 functions by making them wrappers to the contained layer's corresponding commands. While we have to make changes to each layer individually, all the changes should be the same in spirit. The exception is vk-layer-generate.py where the missing vkEnumerateDeviceExtensionProperties is also added.
2016-06-01layers: More noautovalidity processing for structsDustin Graves
Apply 'noautovalidity' code generation logic to struct members. Previously, struct pointers tagged as noautovalidity were ignored by the code generator, but the members of non-NULL struct pointers were still processed. Now both the struct pointer and the struct members are ignored when the struct pointer has the 'noautovalidity' attribute. Change-Id: I14bc231210f2440fb8bb3df8c73ef165100f0daa
2016-06-01layers: LX506 fix vkFlushMappedMemoryRanges validation errorMark Mueller
Fix LX506: vkFlushMappedMemoryRanges validation error with VkMappedMemoryRange::size = VK_WHOLE_SIZE. Resolution: Change test of size variable to correctly test the size passed by application against the relevant mapped memory Change-Id: I6d855482985512b5096696f5c37346dde8a391ac
2016-06-01winrtinstaller: update signature on powershell config scriptDavid Pinedo
2016-05-31winrt: Disable temp log in RT install.Mark Young
2016-05-31winrt: Add more Powershell logging to RT installMark Young
RT install Powershell script was using echo. Now use transcript recording (which will also include OS, Powershell version, and other info). Also, use Write-Host, Write-Warning, and Write-Error to make errors and warnings more obvious. NOTE: This includes intentional debug code enablement so I can retrieve an RT install that does not remove a copy of the Powershell log file. This will be fixed quickly after the RT install is generated on CruiseControl.
2016-05-31tests: Add test for new renderpass clearValue checkTobin Ehlis
Add test to hit the case where number of CLEAR loadOps in used by renderPass attachments is greater than clearValueCount given at renderPass begin time. Also update documentation.
2016-05-31layers: Kill redundant checkTobin Ehlis
At this point in the code we already know that renderPass is valid so no need to re-check it.
2016-05-31layers: GH601 Add check for clearValueCountTobin Ehlis
We were missing check "clearValueCount must be greater than or equal to the number of attachments in renderPass that specify a loadOp of VK_ATTACHMENT_LOAD_OP_CLEAR" (Vulkan spec 1.0.15 section 7.4) This change adds that check.
2016-05-31docs: Improve OSX steps for AndroidCody Northrop
2016-05-31toolchain: Simplify setup for shaderc, use https instead of git@Cody Northrop
2016-05-31tests: Add descriptor usage bit testsTobin Ehlis
When updating descriptor sets, correct usage bit must be set depending on the type of update. New test, DSUsageBitsErrors cycles through all of the different update types that can hit usage bit errors and intentionally hits all of the errors.
2016-05-31layers: DescriptorSet class indentation fixesTobin Ehlis
More cases where "else" blocks weren't needed because the "if" block returns.