| Age | Commit message (Collapse) | Author |
|
Move the icd Vulkan entrypoint address lookups to CreateInstance and icd list
rather than in the scanned_icd list. Also add more instance chain entrypoints
|
|
|
|
|
|
Also add to instance dispatch table CreateInstance and GetGlobalExtensionInfo
|
|
|
|
Make the layer init separate from either device or instance dispatch
table init, since these are done at different times.
|
|
|
|
This is no longer used by any layers; instead vk-layer-generate.py adds
this code.
|
|
Loader will use this for constructing instance layer instance chains.
Layer instance dispatch table is not yet added.
|
|
|
|
Previously required a define in CMake. Since we have multiple drivers
and vendors that would like to test both, make it a command line option.
|
|
First build of layers always failed to find layer_utils.
|
|
|
|
Also contains commits:
Author: GregF <greg@LunarG.com>
Date: Thu May 28 09:30:14 2015 -0600
compiler: handle new builtIn enum in metadata
Author: Cody Northrop <cody@lunarg.com>
Date: Mon Jun 1 14:24:26 2015 -0600
compiler: Update backend for new sampler types and switches
|
|
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Courtney Goeltzenleuchter <courtney@lunarg.com>
|
|
|
|
Use of VK_FORMAT_R8G8B8A8_UNORM image produced swizzled texture sampling.
|
|
This makes renderable area size consistent.
|
|
This makes renderable area size consistent.
|
|
|
|
0 descriptors
|
|
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Tobin Ehlis <tobin@lunarg.com>
|
|
of enums
|
|
Needed to improve the CB and DS state checks to cross-verify with PSO state. Since that state is already tracked in DrawState makes sense to move these checks over.
|
|
|
|
Conflicts:
tests/CMakeLists.txt
|
|
Function validate_object should return VOID.
|
|
|
|
Due to spec change that makes a bound object immutable,
an object must be destroyed before any memory bound to
it is freed.
|
|
|
|
|
|
object checks on params
|
|
V2: Fix broken logic; fix another case of the same problem in
interface between shader stages.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
|
|
|
|
- Don't assume the pipeline is just VS->FS.
- Be properly tolerant of non-SPIRV stages, to avoid breaking cases
where the driver is being fed GLSL source instead.
- Detect the non-SPIRV case more robustly (for whatever reason,
we feed the driver GLSL with a *correct* SPIRV magic on it...)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Tobin Ehlis <tobin@lunarg.com>
|
|
In the VS->GS, VS->TCS, or TES->GS interfaces, the consuming side of the
interface is arrays of the producer's interface, as we're dealing with
an array of vertices. This requires a bit more care in the typechecker:
- Walking from the complete type down, the first time we see an array,
it's the array-of-verts case; strip it off and compare the LHS to the
element type.
- If we see a leaf type without encountering the array type node, then
we mismatch. For the purposes of this check, structs are treated as
leaves.
V2: Simplify slightly.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Tobin Ehlis <tobin@lunarg.com>
|
|
Non-sparse memory bindings are immutable. Remove unbinding checks,
unbinding before free in demos/tests, and add validation check for
rebinding objects, appropriately renamed memtracker support routines.
|
|
|
|
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Courtney Goeltzenleuchter <courtney@lunarg.com>
|
|
There's about to be a second caller.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Courtney Goeltzenleuchter <courtney@lunarg.com>
|
|
|
|
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
|
|
|
|
Now we'll treat the lack of a VI stage as the same as a VI stage
which provides no attribs and no bindings.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Tobin Ehlis <tobin@lunarg.com>
|
|
The driver may crash in these cases.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Tobin Ehlis <tobin@lunarg.com>
|
|
Fix some issues with cross-thread access to the shader map, etc.
Also introduce a 'current object' as a hack to be able to support
the debug callback, which currently needs a dispatch table while
only having a VkInstance.
|
|
This is just a direct copy of what all the other layers are doing.
Allows the layer validation tests to capture errors.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
|
|
count > 0
(cherry picked from commit 80bb5d63774f2e11bc14d9c5291bb3273f0e79cf)
|
|
|
|
Remove one unnecessary level of indirection.
Conflicts:
layers/mem_tracker.cpp
|