aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-17loader: Move lookup of icd entrypoints to CreateInstance and add more lookupsJon Ashburn
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
2015-06-17layers: Fix rebase issuesJon Ashburn
2015-06-17loader: Activate layers on the instance chain at CreateInstanceJon Ashburn
2015-06-17layers: Use the instance chain for entrypoints with instanceJon Ashburn
Also add to instance dispatch table CreateInstance and GetGlobalExtensionInfo
2015-06-17loader: Remove unused icd/gpu_index from layer find functionsJon Ashburn
2015-06-17layers: Add initialization of instance dispatch tableJon Ashburn
Make the layer init separate from either device or instance dispatch table init, since these are done at different times.
2015-06-17layers: Remove unused layer dispatch lookup generationJon Ashburn
2015-06-17layers: Remove the layer intercept proc generated headerJon Ashburn
This is no longer used by any layers; instead vk-layer-generate.py adds this code.
2015-06-17layers: Add GetInstanceProcAddr() to all layersJon Ashburn
Loader will use this for constructing instance layer instance chains. Layer instance dispatch table is not yet added.
2015-06-17loader: Make VkInstance a dispatchable object and init with instance tableJon Ashburn
2015-06-17demos: Add --use_glsl option for GLSL, use SPIR-V by default.Cody Northrop
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.
2015-06-17cmake: Fix missing dependency in layers for WindowsCody Northrop
First build of layers always failed to find layer_utils.
2015-06-17demos: stop using gl_FragColorCody Northrop
2015-06-17toolchain: Update to glslang 31490 and LunarGLASS 1091Cody Northrop
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
2015-06-17cube: Use render pass load ops for color clearChris Forbes
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Courtney Goeltzenleuchter <courtney@lunarg.com>
2015-06-16demos: use PRINTF_SIZE_T_SPECIFIER in vulkaninfoMike Stroyan
2015-06-16demos: cube: use RGBA texture format uniformlyMike Stroyan
Use of VK_FORMAT_R8G8B8A8_UNORM image produced swizzled texture sampling.
2015-06-16demos: cube: use AdjustWindowRect for window sizeMike Stroyan
This makes renderable area size consistent.
2015-06-16demos: tri: use AdjustWindowRect for window sizeMike Stroyan
This makes renderable area size consistent.
2015-06-15layers: Only print state at Draw calls, not at vkCmdBindDescriptorSets time.Tobin Ehlis
2015-06-15layers: When printing descriptor info in DrawState correctly handle case of ↵Tobin Ehlis
0 descriptors
2015-06-15shader_checker: Check for duplicate VI binding descriptions.Chris Forbes
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Tobin Ehlis <tobin@lunarg.com>
2015-06-12layers: Xchange #54 fix - Update vk_helper.py string helper to handle arrays ↵Tobin Ehlis
of enums
2015-06-11layers: Migrate dynamic state checks to DrawState from ObjectTrackerTobin Ehlis
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.
2015-06-11layers: fix overrun when only one shader presentTony Barbour
2015-06-11tests: Document Image Magick dependencyTony Barbour
Conflicts: tests/CMakeLists.txt
2015-06-11layers: Fix compiler warning in ObjectTrackerMark Lobodzinski
Function validate_object should return VOID.
2015-06-10Loader: search also through SysWow64 folder on windowsscygan
2015-06-10tri: Must destroy object before freeing it's memoryCourtney Goeltzenleuchter
Due to spec change that makes a bound object immutable, an object must be destroyed before any memory bound to it is freed.
2015-06-10layers: XChange #58 fix - Correctly copy Vtx BindingsTobin Ehlis
2015-06-10layers: LunarXChange #55 fix - Only print DS state when we have last bound DSTobin Ehlis
2015-06-10layers: Updated ObjectTrack to use std::map and perform some initial valid ↵Tobin Ehlis
object checks on params
2015-06-10shader_checker: fix invalid iterator dereference (LunarXchange #60)Chris Forbes
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>
2015-06-08demos: tri: Use vkCmdPipelineBarrier to setup_cmdMike Stroyan
2015-06-06shader_checker: Support pipelines with more stages, and be tolerantChris Forbes
- 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>
2015-06-06shader_checker: Add typechecker support for extra array levelChris Forbes
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>
2015-06-05vulkan.h: Memory binding model changesMark Lobodzinski
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.
2015-06-04Use correct depth aspect for depth image.malnasse
2015-06-05shader_checker: Also validate vkCreateGraphicsPipelineDerivativeChris Forbes
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Courtney Goeltzenleuchter <courtney@lunarg.com>
2015-06-05shader_checker: Extract pipeline validation into own functionChris Forbes
There's about to be a second caller. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Courtney Goeltzenleuchter <courtney@lunarg.com>
2015-06-04Windows: Add vkUpdateDescriptorSets into exports for vulkan.dllTony-LunarG
2015-06-04Fix a bunch of mismatched new[]/delete.Chris Forbes
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
2015-06-04shader_checker: remove stray debug output from typechecker implementationChris Forbes
2015-06-04shader_checker: validate VS inputs against VI even when no VIChris Forbes
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>
2015-06-04shader_checker: Only continue with pipeline config if no errorsChris Forbes
The driver may crash in these cases. Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Tobin Ehlis <tobin@lunarg.com>
2015-06-04shader_checker: current object & lockingChris Forbes
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.
2015-06-04shader_checker: Add support for delivering layer messages via callbackChris Forbes
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>
2015-06-04ShaderChecker: do not crash if Shader output count == 0 and PSO attachments ↵scygan
count > 0 (cherry picked from commit 80bb5d63774f2e11bc14d9c5291bb3273f0e79cf)
2015-06-02tests: Cmake changes for building on WindowsTony Barbour
2015-06-02layers: Change MemTracker maps to contain structsMike Stroyan
Remove one unnecessary level of indirection. Conflicts: layers/mem_tracker.cpp