aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-21layers: Consider element type bit width for #locations consumed.Chris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-04-20demos: Add xlib wsi path to cubeTony Barbour
Change-Id: I8df42b71a40318b6d46a6b65cc9d8060a8f912a8
2016-04-20loader: ghlvl 361, Simplify library resource handlingJon Ashburn
Layer and ICD libraries are opened and closed as needed. No ref counting, no knowledge of if a library contains multiple layers or ICDs. Change-Id: Ie88b671cd1671187a42d3d838d20e3af1afc67cc
2016-04-20android: Unify source used for build.gradleCody Northrop
In previous commit we modified build.gradle to be cross platform, so we can stop using the windows specific version.
2016-04-20gradle: Workaround for clang on Windows problemsCody Northrop
Use gcc instead if building on Windows.
2016-04-20python: Update script to include all platforms when generating ifdef codeCody Northrop
This commit cleans up the platform detection code that was emitting some (but not all) ifdef wrappers around platform specific code. It changes the logic to wrap all the functions that are platform specific. This allows us to use these generated files on multiple platforms, not just the platform is was generated on.
2016-04-20layers: Fix for clearing layouts and cmdbuffers.Michael Lentine
2016-04-20layers: Add handle NULL checks to codegenDustin Graves
Add support for validating that required handle parameters are not specified as VK_NULL_HANDLE to the parameter validation layer's code generator. - Add new parameter validation utility functions to validate required handles and arrays of handles. - Add new parameter validation layer entrypoints for functions that previously had no parameters to validate. - Add handle validation logic to the parameter validation code generator. Change-Id: I7a5680954245db4c1b12587f78e30e17c3903d6c
2016-04-20layers: Add missing 64bpc formats to get_format_typeChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-04-20layers: Fix get_format_type for VK_FORMAT_A8R8G8B8_{S,U}INT_PACK32Chris Forbes
Fixes GH #330. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-04-20layers: block members do not express extra array level in member typeChris Forbes
Fixes GH #377. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-04-20layers: GH384 Fix descriptor update check for immutable samplersTobin Ehlis
If a descriptor is an immutable sampler of type VK_DESCRIPTOR_TYPE_SAMPLER then it doesn't need to be explicitly updated so don't flag errors in this case.
2016-04-19winrtinstaller: change formatting in RT rtf licenseDavid Pinedo
2016-04-19winrtinstaller: formatting of license files, make them more readableDavid Pinedo
2016-04-19winrtinstaller: fix COPYRIGHT.txt filenameDavid Pinedo
2016-04-19winrtinstaller: get LICENSE.txt file from LVLDavid Pinedo
2016-04-19demos: Fix paths in gradle file.Michael Lentine
2016-04-19misc: Update licenses to Apache 2.0Jon Ashburn
Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
2016-04-19layers: LX468, Prevent bad core_validation error messageMark Lobodzinski
Properly track commandBuffer/FrameBuffer references. Change-Id: Ibbc078b582b204bee26cdc510575c57023cf9d6b
2016-04-19Update typo in docttyio
2016-04-19layers: Fix object_tracker bugsTobin Ehlis
A couple of bugs in object_tracker hand-coded sections that MarkY tracked down. In DestroyInstance case we were attempting to delete wrong map key. Then, for vkDestroyCommandPool we were using wrong function to clean-up the command buffers in that pool which would result in occassional crashes.
2016-04-18doc: fix typos in docDavid Pinedo
2016-04-18layers: Make logicOp param validation conditionalDustin Graves
- Only validate that VkPipelineColorBlendStateCreateInfo::logicOp is a valid VkLogicOp enumeration value when VkPipelineColorBlendStateCreateInfo::logicOpEnable is set to VK_TRUE. - Remove redundant VkPipelineColorBlendStateCreateInfo validation (hand written code replaced by generated code). Change-Id: I075c58342678219c5ed1dd5c401e0da2cea53232
2016-04-18layers: Improved generated struct validation codeDustin Graves
Improvements to the parameter validation code generator, primarily to eliminate string concatenations performed when processing structs. A validation function was being produced for each struct, which received a string specifying the name of the struct parameter. This string was then concatenated with the names of the struct members. The struct validation code is no longer in a separate function, and a single string containing the full names of each struct member (eg. pCreateInfo->pApplicationInfo) is created at code generation time. Change-Id: I2800bfbc26247e4e4c6f8c885c0e7c4b8b3776a2
2016-04-18layers: Simplify generated param validation codeDustin Graves
- Remove unnecessary conditional checks for input vs. output parameters from the generated C++ code. - Split some generator code into smaller functions. Change-Id: I32e47d417ab884e5cc0fc7af40cb5657b39c176d
2016-04-18layers: core_validation - use std mutexJeremy Hayes
Change-Id: I88af1e86c0ef93dbeab303977b8190ad1968c00d
2016-04-18layers: swapchain - use std mutexJeremy Hayes
Change-Id: I2c5584a5d36edc097b061db2e49fba2505bd1d65
2016-04-18layers: object_tracker - use std mutexJeremy Hayes
Change-Id: I5f9ed9dc92daccaada895808e3fea3189ef81212
2016-04-18layers: threading - use std mutexJeremy Hayes
Change-Id: I773ea148807e5b634ad021ea58b001cd3d1bad87
2016-04-18layers: image - use std mutexJeremy Hayes
Change-Id: Ie132289c0e601397f54b06c1ef758c65b712f906
2016-04-18layers: Correctly remove secondary cmd buffers from in-flightTobin Ehlis
Secondary command buffers are considered executing, or "in-flight" at the time they're bound into a primary command buffer. This leads to a couple of corner case bugs if the primary command buffer is never submitted on a queue. This change fixes those bugs: 1. If a secondary cmd buffer is being freed and is in the global in-flight set, remove it if associated primary is not in-flight 2. When a primary cmd buffer is reset, remove its secondary cmd buffers from in-flight
2016-04-18layers: Fix vkResetDescriptorPoolTobin Ehlis
When we reset descriptor pool, need to remove the allocated descriptors from setMap and free them.
2016-04-15Revert "loader: Temp workaround to add WSI surface extensions enumerated."Jon Ashburn
This reverts commit 884065fcd89540dca9a710389641bf1c39cedce0.
2016-04-15Revert "loader: temp workaround for advertising linux wsi surface extensions"Jon Ashburn
This reverts commit 23b248d32c943c136589e679e1fcc3444488d906.
2016-04-15layers: Update JSON files to 1.0.10Jon Ashburn
Change-Id: I2020999bac6090fe40688f977f15c9818b828cf4
2016-04-15header: Update to 1.0.10 headerJon Ashburn
No functional changes. Change-Id: Ia57a172a2ab0c7e082ad30aef64354cd1427b528
2016-04-15loader: Remove the default directory paths for ICDs and layersJon Ashburn
These are not needed since rely on OSes library loader to figure out default path. Change-Id: Ide5eec4ed4301c51de7dc9171f7e040deb1878e7
2016-04-15docs: Add libx11-dev to linux build dependenciesKarl Schultz
2016-04-15loader: Run clang-formatJon Ashburn
Last several commits to loader weren't run through it. Change-Id: I512b2df75c7831ee6433e4c60c6664db85184584
2016-04-14layers: Fix 32-bit VS2013 buildDustin Graves
Change reinterpret_cast<uint64_t> to reinterpret_cast<uint64_t&> for unique_objects generated and static code. Change-Id: I8be5680063ce8a26b58c444e59cb325c4cf6e98b
2016-04-14loader: `Remove the ICD and Layers search path for WindowsPiers Daniell
This makes it more like Linux which leaves it up to the system LoadLibrary() call to find the .dll as specified in the .json files. Hard-coding "C:" or any other search path creates the possibility of picking up the wrong .dll. The LoadLibrary() implementation does the right thing. Change-Id: I58cbdf230a1e86481067efb4aec03447ee55f1ff
2016-04-14loader: dont free and reallocate physical devicesJeannot Breton
Change-Id: I68ac2681b7c4923213c65dc720f54d81a36c99ef
2016-04-14layers: Fix lx474 by adding image extent = 0 validation check.Mark Young
Check only the valid dimensions for the imageType provided in the create info. Change-Id: I11d484caf1085b7b0ae4a402453b5fdcadd7b67d
2016-04-14layers: Overhaul unique_objectsTobin Ehlis
Unique objects now uses a 64-bit counter as the unique handle returned to the app. It stores an internal mapping of handles to actual object ptrs that are used for all non-dispatchable objects. This virtually eliminates the possibility of having a repeat handle as objects are created and destroyed. All counter increments and map accesses are protected by a mutex.
2016-04-14demos: Init var in tri.cTobin Ehlis
2016-04-14layers: Remove error when only implicit dependencies are used.Michael Lentine
2016-04-14layers: Validate ONE_TIME_SUBMIT for secondary cmd buffersTobin Ehlis
Previously were only validating *_ONE_TIME_SUBMIT_BIT for primary cmd buffers. After clarification on spec, moving the check so it will also hit secondary command buffers.
2016-04-14layers: Update core_validation to fix lx265.Mark Young
Tobin discovered an issue with my previous change. This resolves the issue with the blend state targeting only a specific subpass and verifying the subpass attachment count matches the blend attachment count. Change-Id: Iacdd880dde32267da095a3e9baa9e8eb66fdc760
2016-04-14layers: lx464 Add drawtime validation of bound buffer memory.Mark Young
Add a drawtime check to validate that storage or uniform buffers have valid memory bound to them at draw time before using. Change-Id: Ia0a07f221dfcb2ea4315e4f52ee04d7cdda22cf7
2016-04-14layers: lx465 update core_validation image layout warning.Mark Young
If sub-resource data is present, print out that info as part of the error message when the image layout is incorrect. Change-Id: Ibd4d95e22d846b823b5c76986e8646624c109bc6