aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-09layers: GH934 Bounds checking on SetViewportMike Weiblen
Add viewport bounds checking. Change-Id: I8ec8a663c5ce3d90447f8f6228ce3ed8fcbb4454
2016-11-08demos: fix cubepp fence creationJeremy Hayes
Change-Id: I8019075d3ba7e44cfaf78f6b242cc2e4a8b6505f
2016-11-08winsdk: Set runtime to use parameterized buildLenny Komow
Change-Id: I2f315a25667219620f5dcc3c36ad66d225134eef
2016-11-08loader: Parameterize locations of drivers/layersLenny Komow
Change-Id: I79c16e01f336b3cf90ec7e6e66901ad363502e7b
2016-11-08build: Allow the use of a custom-named vulkan dllLenny Komow
Change-Id: Ibeae30386ca2a91717d6b4c3039ada884003a1a4
2016-11-08winsdk: Parameterize ConfigureRT programLenny Komow
Change-Id: I2f869d5a71fb6c5411aa2ab6a3b133c37fb52a09
2016-11-08winsdk: Parameterize runtime NSIS scriptLenny Komow
Change-Id: If1d767f29b6189a44e3f942ab96a55062a2f9cb7
2016-11-07loader: Remove warning on missing implicit layerMark Young
If the Implicit Layer registry location was missing, validation would throw a warning. This is not correct behavior as many systems will not have Implicit layers. Modify so the warning/error is only thrown if either a driver manifest path, or an explicit layer path. Change-Id: Ideccc730e0b1c613c4cc58c5f64ae31ba19bc05c
2016-11-08layers: Adjust doc to describe PV EXTENSION_NOT_ENABLEDChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-08layers: Avoid calling functions not produced by the pv codegenChris Forbes
Still need to investigate why the generator doesn't produce everything it should, but this should be enough to get us going. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Fix unused variable breaking android buildChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Move platform entrypoints into main list in PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Do extension checks for KHR_display in PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Add tracking for VK_KHR_display extension in PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Move display swapchain entrypoint into main blockChris Forbes
This used to be separate because the FPs were only conditionally returned. Now we always return them. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: s/skip_call/skip/ in PVChris Forbes
V2: slight tweak for upstream change to PV Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Introduce require_instance_extension in PVChris Forbes
More noise going away. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Introduce require_device_extension function in PVChris Forbes
This gets rid of a bit of redundancy. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Move swapchain and surface extension enable checks to PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Use uniform initialization better in PV::layer_dataChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Rename device ext flags to match extensions in PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Move enable checks for KHR_surface to PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Rename ambiguous 'wsi_enabled' to 'surface_enabled' in PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Remove dead plumbing for platform extension enablesChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Move platform WSI extension checks from swapchain to PVChris Forbes
We want to do all extension checks in PV-- we'll return a good FP for anything we recognize, and complain upfront if the appropriate extension wasn't enabled. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Remove mdd() from PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-07layers: Remove one remaining use of mid() in PVChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-04layers:Handle secondary cmd buffer transitionsTobin Ehlis
When recording a secondary command buffer into a primary command buffer record any image layout transitions from the secondary cb into the primary cb. At QueueSubmit time we validate the layouts at the primary cmd buffer level so this change will allow that code to correctly work if layout transitions occur in the secondary command buffer.
2016-11-04layers:Set framebuffer for secondary cmd bufferTobin Ehlis
If a secondary cmd buffer is inheriting state, need to update the activeFramebuffer in same way we update active renderPass and subpass.
2016-11-03loader: Rename icd and physical device varsMark Young
Clean up the names of the icd and physical device structs, lists, and variables used throughout the loader. Before, it was hard to tell where the item was to be used appropriately. Now, the names include a hint as to where they are expected to be allocated, freed, and used. Also, fixed a bug where we were using a trampoline item in a terminator function, which caused issues. Thanks to Piers @ Nvidia for discovering this. Change-Id: If98628a5496e9f645eff94b73e80ae7f8408f7b4
2016-11-03layers: GH1115 Add missing VK_LAYER_EXPORT decorationsKarl Schultz
Functions in the vk_layer_extension_utils file were not getting exported correctly. Change-Id: If1bf6456cb8e79a1b6292ea76bd72e3e89a2b430
2016-11-03loader: Remove vk-loader-generate.pyMark Lobodzinski
Loader-specific version of this script was unnecessary. Moved this functionality into vk-generate.py. Change-Id: I2f2b7de7a6fdf368d3090c587f7fe78c31176a85
2016-11-03loader: Use vk-generate.py instead of loader versionMark Lobodzinski
Modify cmake to use non-loader-specific script. Change-Id: Ibe1008badc9380fa399daf207e57438114d0b1e0
2016-11-03scripts: Extend vk-generate for 'all' parameterMark Lobodzinski
A different script is used to generate the loader's windows def file (loader\vk-loader-generate.py). Added the ability for the main script to also create the loader's def file. Change-Id: Ib5caaefe85f84489e3a9f70e20104c27f070c0e8
2016-11-02scripts:Initial version of validation stats scriptTobin Ehlis
Adding vk_validation_stat.py script to display validation stats. It parses the database file, unique enum header, source, and testfiles and reports on the total number of checks and any discrepancies between the database file and what's actually implemented.
2016-11-02docs: Remove references to "this repo"Karl Schultz
Remove references to "this repository" in the loader and layers design doc since this file can appear on web sites, etc.
2016-11-02layers: GH934 Bounds checking on SetScissorMike Weiblen
Change-Id: I3b14cc79f851eb66401da659cb0dade9888d84a8
2016-11-02loader: Fix icd reference in WSI codeMark Young
Piers Daniell (Nvidia) found a nasty bug where the loader code was incorrectly incrementing through the ICDs as if the list was an array. This may fix some multi-GPU issues he has found. Change-Id: I42dd4a153c3226ac36b82f4cda8ad21bea8b2f66
2016-11-02layers: Change to including vk_safe_struct code.Mike Stroyan
Cmake on windows cannot handle multiple projects using generated library code.
2016-11-01loader: Call ICD for CreateDisplayPlaneSurfaceKHRMark Young
Add vkCreateDisplayPlaneSurfaceKHR to the functions that can call down to an ICD and let it create the KHR_surface object. Change-Id: I32dd88868c25149a903304f23bdf3a720cdd99af
2016-11-01scripts: Build single dispatch table helperMark Lobodzinski
Modified layers and tests/layers to use 'AllPlatforms' param instead of displayserver. Change-Id: I39d53e3991aab4f01854b227e1f6eb030850473d
2016-11-01scripts: Add ifdef protection to non_wsi ext APIsMark Lobodzinski
Dispatch_table_helper.h should not be platform dependent, wrap all platform dependencies in pre-processor directives for safe compilation. Change-Id: I6c876efaceb4d3c38c719f1db9e93d7bd543370e
2016-11-01scripts: Re-added AllPlatforms wsi optionJohannes van Waveren
A single cross-platform dispatch table helper file is preferable. Added the AllPlatforms parameter back into vk-generate.py Change-Id: Icc00c04504d58007270eb55fc269651c215aa9b4
2016-10-31docs: Updates for Linux loader /usr/local search paths.Karl Schultz
Change-Id: I899c55815ef51efd141c22a5ce37b0800c2a8430
2016-11-01layers: Tweak CmdClearAttachment handling for error DBChris Forbes
- Align the 'ignored' cases with the 1.0.32 spec - Use unique error enums in the error cases. - 01125 isn't a perfect match for what I was trying to fix with this change, but the code does cover the VU statement. Possibly an area we can adjust in the spec. V2: - Set test names properly too. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-01layers: Validate VkClearAttachment::aspectMask against aspects presentChris Forbes
Fixes #1085 Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-11-01layers: Rework some names a bit in CmdClearAttachmentsChris Forbes
I want to use some of these names for other things... Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-10-31demos: Fix uninitialized variables in vulkaninfoTony Barbour
Getting validation errors from uninitialized flags fields Change-Id: I052cafcd3dc2cfd031b9d0ec75e654e318e1f320
2016-10-31scripts:Add newline at end of database fileTobin Ehlis
This intends to always keep the newline there for consistency.
2016-10-31scripts:Update unique error enums as of 10/31/16Tobin Ehlis
No new checks this week, updated script to handle blank lines and also to not output the API name debug info by default. Cmd line was "python spec.py -update"