aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-30layers: Add device handle in CV layer dataChris Forbes
Avoids having to pass this around quite so much. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-03-30layers: Remove dead render_pass forward declarationChris Forbes
This went away at the same time as the SC/DS merge. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-03-30layers: Reduce noise in string conversion of objectsChris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-03-30layers: remove unused getTIDIndex function and associated dataChris Forbes
This produces warning noise and nobody uses it. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-03-30layers: LX446, Allow GetDeviceQueue to be called multiple timesMark Lobodzinski
Calling this API more than once on the same queue hoses the fence validation. Also switched queues container from vector to unordered set. Change-Id: I524347fd11d3b30a66004cf62937d0446e70df22
2016-03-30layers: Relax descriptor type match for texel buffers slightlyChris Forbes
The descriptor doesn't really provide a sampler, but the consuming code doesn't really look at one either. Allow VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER to match against OpTypeSampledImage with an image type having Dim=Buffer and Sampled=1.
2016-03-29layers: GH195 Fix core_validation dynamic state checksTobin Ehlis
Overhauled validation of dynamic state based on latest details in the VkPipelineDynamicStateCreateInfo section of the spec. Because some of the state checks need to be predicated on different pipeline state, removed the previous flag-based system for check predication and made it more clear and explicit exactly which pipeline states were gating each dynamic state check with "if" clauses in validate_draw_state_flags(). The biggest change here is for blend constants, which was the focus of the referenced GH195. For this case, added blendConstantsEnabled bool to PIPELINE_NODE and enable it by loop through all attachments to identify if any have blendEnable set and use the blend constant in any of their blendFactors. Also updated all the tests that were affected by this change. Change-Id: Iaba5d28986c83547575be1ff70b9ae7602435417
2016-03-29winrtinstaller: removed vulkaninfo from RT Start MenuDavid Pinedo
2016-03-29winrtinstaller: convert RT installer log file to asciiDavid Pinedo
2016-03-29layers: Improve core_validation image layout error messageMark Lobodzinski
Change-Id: I1e22ef9be4b1d8b22765e1150f828904334380eb
2016-03-29layers: Michael's fix for uninit'd data in FindLayoutMark Lobodzinski
Change-Id: Ia34d036e15a08c135cf3fb0ea4a80c12f2201ec7
2016-03-29Remove device from layer_data_map at destroy in parameter_validationTony Barbour
Change-Id: I964302597c0cbcbb7bb8c73d55fd6b00ebe0e765
2016-03-29winrtinstaller: Add logging support to Windows Runtime InstallerDavid Pinedo
2016-03-29layers: Get rid of 1K limit on debug message lengthChris Forbes
Change-Id: I00246f3edd26078d634a8bd1f65755cafcc6467b
2016-03-28loader: Fix MSVC post-build event so copy with non-existent dir worksJon Ashburn
Change-Id: I4629b36c1fbde76ba025fa38937dfcd22bbd9157
2016-03-28layers: Clarify message when query has not been performed.Michael Lentine
2016-03-28Revert "layers: Make layout checks warnings for pass begin."Michael Lentine
This reverts commit 851d28e4759f45bebd151fe163a50741a9947ff0.
2016-03-28layers: update json to 1.0.7Jon Ashburn
Change-Id: I19e6d2a0518f99161bfea0de94b267c5c56fd1ae
2016-03-28header: update to version 1.0.7Jon Ashburn
Change-Id: I11fcbd2746b2d54f2256539a99eac6fe97070118
2016-03-28Merge pull request #201 from critsec/vkjson-build-fixesJesse Hall
vkjson: Fix include paths and clang errors
2016-03-28demos: Change MSVC proj files to remove PATH and add VK_LAYER_PATHJon Ashburn
The PATH is lower in search order so ICD that install loader in System32 which is now happening no longer find the local built vulkan-1.dll via the PATH setting. Add the VK_LAYER_PATH so the local built layers get found. Change-Id: I56097199a108e30fdf4787e09e62c8ca1544de91
2016-03-25cmake: Add post build event for MSVC for vulkan dll copyJon Ashburn
This allows the demos and tests directories to find the locally built vulkan-1.dll instead of that installed in the system32 directory. Change-Id: I3177f4ba00d81addbd4df12e1d4f943d95824ff4
2016-03-25demos: Fix 32-bit Windows compilation problem.Karl Schultz
2016-03-25demos: add missing signal.h to tri.Karl Schultz
Change-Id: If1e509850506495126e827b8605e00fc3ef8c7f9
2016-03-25demos: Implement --break for cube and tri.Karl Schultz
This argument makes the program stop in the debugger on a validation error. Only makes sense to use it with --validate.
2016-03-25layers: DL - Get inheritedQueries support from physical device featuresTony Barbour
Change-Id: I6f9c045d6154d2c08aa2516caf8e250dcef22e84
2016-03-25loader: ghlvl#79, Fix to not report unsupported WSI surface extensions on LinuxJon Ashburn
Also fix issue where loader would advertise support for these extensions even if the ICD or layers doesn't support it. Now ICD must report surface extensions for the loader to report them. And on Linux if loader support for a given surface extension (eg Mir) is compiled out then loader doesn't report it. Change-Id: I51e302a32f5431f4893a3795ff31be60e9263f43
2016-03-25demos: Simplify vulkaninfo to not enable any extensions.Jon Ashburn
For the Linux WSI surface extensions where BOTH ICD and loader support is needed for an extension to be supported there was an issue. If ICD supported extensions was not equal to loader supported extensions vulkaninfo would error exit. Change-Id: Ib6e07d92491b04b1fb90cbf1c6793ae766944d50
2016-03-25layers: Use vector::resize instead of reserve to avoid portability issue.Karl Schultz
Fixes layer crash on Windows with cube --validate. On Windows, std::vector won't bump up the size of a vector (up to the reserved amount) on an out_of_range access, while linux will.
2016-03-25layers: Fix issue when sub-passes have diff attachment count.Mark Young
In core_validation, if the attachment count between a primary and secondary sub-pass was different, then it should treat the shorter one as UNUSED. So, if the longer one has the attachment flags set to UNUSED, it shouldn't be an error. Change-Id: I3647403551962ef522e7e2ba7ab10a5cb7466c52
2016-03-25loader: Fix bugs found in code review.Ian Elliott
2016-03-25cube: Call vkCreateInstance so that it sets up a temporary callback.Ian Elliott
2016-03-25loader: Setup temporary callback for vkDestroyInstanceIan Elliott
2016-03-25layers: Replace ptr-to-ptr descriptor data struct with vectorTobin Ehlis
We were using GENERIC_HEADER** ppDescriptors to track updates to slots. This was pretty messy so make it a bit cleaner with a vector instead.
2016-03-25layers: Add check for renderArea being within framebuffer bounds.Michael Lentine
2016-03-25layers: LX453 fix typo in output message.Karl Schultz
Change-Id: I7ec8ba429a886bee14dd5a209fa6718941ec19d5
2016-03-25layers: Make layout checks warnings for pass begin.Michael Lentine
2016-03-25layers: Update layout mismatch message to provide more detail.Michael Lentine
2016-03-24demos: Unify cmd arg handling between cube and tri.Karl Schultz
Add --c (frame count) handling to tri to improve testability and to bring it up to par with cube. Fix exit code return in both cube and tri for Windows. Change-Id: I27516b9fc0d13f25f5511ab159a80159c2550237
2016-03-24loader: Fix some typos from the recent WSI checkins: broke waylandJon Ashburn
Change-Id: Ie25aaf462498eae7fcc31784015e22376e31a70a
2016-03-24loader: Convert fprintf() calls to loader_log()Ian Elliott
2016-03-24layers: WSI functions should not work unless enabled.Ian Elliott
The WSI extension functions are special. They are statically exported from the loader. This means that an application can directly link against them, and not have to call a vkGet*ProcAddr function. However, the application is still reponsible for for enabling the appropriate WSI extension. An application was observed that called the WSI functions without enabling the appropriate extensions. It worked. When that application was run with the validation layers, it crashed. A change was made to the layer to make sure that an error was always logged. It was decided that the loader should change so that the terminator functions not work (and print a brief message) if an application calls the function without enabling its extension. This is done in the terminator so that the validation layer can be called, which should log a good error message; and yet still done here in case the application is never tried with validation turned on.
2016-03-24loader: ghlvl 116 Fix CreateDevice to use the proper ICDs PhysDevJon Ashburn
This is needed for querying extensoins from the ICD. Change-Id: I5655d33d15bf0ea6de506f81821a30dd81ca3d5a
2016-03-24layers: Migrate active_sets to active_slotsTobin Ehlis
Previously for pipelines we were only tracking which sets were being used. This change refined active_sets to active_slots. The slots include both the set and the binding that are in use by the shader. This cleans up a couple loops and prevents cases where we were checking inactive slots.
2016-03-24layers: Fix layout transitions for combined aspect masks.Michael Lentine
2016-03-24android: Re-enable layer validation tests using shaderc and vulkan_wrapperCody Northrop
2016-03-24layers: Additional mutex fixesMark Lobodzinski
Change-Id: I0b1678a97f962ec30903c9076f08668ec89fc981
2016-03-24layers: GH177 Fix deadlocksTobin Ehlis
Fix some early return cases where lock wasn't correctly released.
2016-03-24layers: fix bad api versionJon Ashburn
Change-Id: I664a773b7e8dfd7453754227f6a424311c4aa734
2016-03-24GH171: Use relative path for building Android bitsCourtney Goeltzenleuchter