| Age | Commit message (Collapse) | Author |
|
Avoids having to pass this around quite so much.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
This went away at the same time as the SC/DS merge.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
This produces warning noise and nobody uses it.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
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
|
|
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.
|
|
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
|
|
|
|
|
|
Change-Id: I1e22ef9be4b1d8b22765e1150f828904334380eb
|
|
Change-Id: Ia34d036e15a08c135cf3fb0ea4a80c12f2201ec7
|
|
Change-Id: I964302597c0cbcbb7bb8c73d55fd6b00ebe0e765
|
|
|
|
Change-Id: I00246f3edd26078d634a8bd1f65755cafcc6467b
|
|
Change-Id: I4629b36c1fbde76ba025fa38937dfcd22bbd9157
|
|
|
|
This reverts commit 851d28e4759f45bebd151fe163a50741a9947ff0.
|
|
Change-Id: I19e6d2a0518f99161bfea0de94b267c5c56fd1ae
|
|
Change-Id: I11fcbd2746b2d54f2256539a99eac6fe97070118
|
|
vkjson: Fix include paths and clang errors
|
|
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
|
|
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
|
|
|
|
Change-Id: If1e509850506495126e827b8605e00fc3ef8c7f9
|
|
This argument makes the program stop in the debugger on a
validation error. Only makes sense to use it with --validate.
|
|
Change-Id: I6f9c045d6154d2c08aa2516caf8e250dcef22e84
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
|
|
|
|
|
|
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.
|
|
|
|
Change-Id: I7ec8ba429a886bee14dd5a209fa6718941ec19d5
|
|
|
|
|
|
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
|
|
Change-Id: Ie25aaf462498eae7fcc31784015e22376e31a70a
|
|
|
|
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.
|
|
This is needed for querying extensoins from the ICD.
Change-Id: I5655d33d15bf0ea6de506f81821a30dd81ca3d5a
|
|
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.
|
|
|
|
|
|
Change-Id: I0b1678a97f962ec30903c9076f08668ec89fc981
|
|
Fix some early return cases where lock wasn't correctly released.
|
|
Change-Id: I664a773b7e8dfd7453754227f6a424311c4aa734
|
|
|