aboutsummaryrefslogtreecommitdiff
path: root/layers
AgeCommit message (Collapse)Author
2015-05-27layers: Fix drawState lock bug and don't call driver w/ bad pipelineTobin Ehlis
2015-05-27tests: Added some empty test functions with comments for DrawState layer testingTobin Ehlis
2015-05-27layers: Fix some DrawState checksTobin Ehlis
2015-05-22vulkan.h: V96 -- xglCmdBlitImage filter mode. Bug# 13759.Mark Lobodzinski
2015-05-22layers: Add additional check for RenderPass sampleCountTobin Ehlis
Was checking PSO MSAA num samples against FrameBuffer sampleCount. This change adds an additional check against RenderPass sampleCount.
2015-05-21layers: Build C++ version of generic layerMark Lobodzinski
All layers are now implemented in C++.
2015-05-20layers: Convert object tracker to C++Mark Lobodzinski
2015-05-14tests: Expand layer validation test coverageMark Lobodzinski
Added layer validation tests for several ObjectTracker and MemTracker validation cases. Also improved error handling in object tracker layer to handle validation failures that could cause unrecoverable driver errors.
2015-05-11vulkan.h: V93 -- fine-grained memory binding synchronization. Bug# 13464Mark Lobodzinski
New names and behavior for QueueBind* APIs.
2015-05-12shader_checker: check types between FS output and CBChris Forbes
2015-05-12shader_checker: add type checking between VF and VSChris Forbes
2015-05-12shader_checker: add helper to walk a type tree and return the basic typeChris Forbes
2015-05-12shader_checker: fix fs output/cb attachment walking after assert fixesChris Forbes
2015-05-12layers: remove assumption that there's a glslang source tree alongsideChris Forbes
We have an in-tree spirv.h now, just use that.
2015-05-08spirv: Update to matching headerCourtney Goeltzenleuchter
2015-05-08vulkan.h: V94 -- remove vkCmdCloneImageData. Bug #16550.Mark Lobodzinski
2015-05-08layers: Remove use_count from ObjectTrackerMark Lobodzinski
Removed ll_increment_use_count from layer Fixed some issues with thread safety Simplified handling of special-case APIs Removed GetExtensionSupport dead code
2015-05-05layers: Add object type validation to object trackerMark Lobodzinski
Validate that objects match the objectType any time both are specified.
2015-05-05layers: Use native Vulkan object type definitionsMark Lobodzinski
ObjectTracker was using locally-defined object types as the vulkan ones were unavailable. Replaced them with ones from Vulkan.h.
2015-05-04bug 13854: Remove memory referencesCourtney Goeltzenleuchter
header: 0.93.0 svn: 30980
2015-05-01bug-13690: Clarification on vkFlushMappedMemoryCourtney Goeltzenleuchter
Bug 13690 - Clarification on the behavior of vkFlushMappedMemory svn ID: 30914 & 30888
2015-05-01bug-13751: Update vkCmdClearColorImage color parameterCourtney Goeltzenleuchter
svn ID: 30918 Change the VkCmdClearColroImage color parameter be a pointer.
2015-04-29layers: Eliminate compiler warnings on Windows.Ian Elliott
This includes suppressing compiler warning C4065, where VS complains if a switch statement has a "default", but not "case" statements. This was true in many functions of the auto-generated "helper" header files. This also includes removing unreferenced local variables, and dealing with some type differences (sometimes with casting, sometimes with changing the type).
2015-04-29toolchain: Update to newer glslang and LunarGLASS versionsCody Northrop
LUNARGLASS_REVISION=1070 GLSLANG_REVISION=30939
2015-04-29mem_tracker: Fix error from fixing MSVC assertsCourtney Goeltzenleuchter
2015-04-29layers: Fix msvc++ iterator issuesDavid Pinedo
2015-04-29draw_state: Fix another MSVC++ debug assertCourtney Goeltzenleuchter
2015-04-29draw_state: Fix Microsoft C++ iterator assertCourtney Goeltzenleuchter
The Microsoft Visual Studio vector library does not like this code: delete (*ii).second->pCmds.back(); Internally, pCmds.back() does a pCmds.end() - 1 and since the vector we are using (*ii).second->pCmds is not local, the library throws an assert about the iterator being non-incrementable. The assert if fixed by making a local copy of the vector and working on that.
2015-04-29mem_tracker: Do not increment iterator after deleteCourtney Goeltzenleuchter
The loop was blindly incrementing the iterator and it should not. In the delete case the loop should resume with the iterator returned by the delete as it's the next element in the list.
2015-04-29draw_state: Fix Microsoft C++ assertCourtney Goeltzenleuchter
The C++ runtime library was issuing an assert on the following line: for (vector<CMD_NODE*>::iterator ii=pCB->pCmds.begin(); ii!=pCB->pCmds.end(); ++ii) { It was complaining that the iterator ii was not compatible with the pCmds.end(). Tracing down the assert, the C++ library did not like the fact that we were accessing pCmds through a pointer (pCB). If we made a local copy of the pCmds vector the assert went away.
2015-04-29Shader Checker Layer: make sure iterated list is of non-zero lengthDavid Pinedo
On MSVC++, need a check to make sure a list is of non-zero length before attempting to iterate on it.
2015-04-22layers: Memtracker formatting changes.Mark Lobodzinski
Cleaned up alignment, made function definitions consistent, shortened some line lengths.
2015-04-22misc: Changes to fix warnings in Windows / VC++ buildTony Barbour
2015-04-22misc: Changes to clean up warnings in Release buildTony Barbour
2015-04-22vkEnumerateLayers: Update to match upstreamCourtney Goeltzenleuchter
The upstream vulkan.h header removed maxLayerCount parameter from vkEnumerateLayers. This patch implements that change for the sample driver and layers.
2015-04-21layers: Using objects instead of pointers - rename pObjTony Barbour
2015-04-21vulkan.h: Fix up warnings and use VkObject appropriatelyTony Barbour
2015-04-17update to vulkan.h header version 90, bug 13529Mike Stroyan
2015-04-17switch to VK_WSI_LunarGChia-I Wu
Switch from VK_WSI_X11 to VK_WSI_LunarG v2: - split out glave changes - redo mem_tracker changes - rebase Conflicts: demos/cube.c demos/tri.c v3 (from Ian): - Put "#if 0" around non-upstream members of VkDisplayPropertiesWSI.
2015-04-17tests: Ensure vk_blit_test calls QueueAddMemReferencesMark Lobodzinski
The blit tests were skipping this step resulting in tons of memtracker validation errors.
2015-04-17vulkan: Update vulkan.h for revision 89 -- Bug #13743Mark Lobodzinski
Generalizing the VkDescriptorSetLayoutChain object.
2015-04-17vulkan: Update vulkan.h for revision 88 -- Bug #13744Cody Northrop
Rename some vkCmdBindDescriptorSets parameters and add a dynamic offset count. v2: Add a check against dynamicOffsetCount before copying dset data.
2015-04-17layers: Add missing functions.Jeremy Hayes
2015-04-17Win: Eliminate compiler errors/warnings in "shader_checker.cpp"Ian Elliott
Key error was MS's compiler not liking a variable named "interface". I renamed it "sinterface", and the compiler was much happier.
2015-04-17Win: Copy the "spirv.h" file for Windows builds (KLUDGE) ...Ian Elliott
The Linux build requires that "glslang" be built in a directory next to the Vulkan source. The Windows build (which doesn't build the Intel driver) does not (at least not yet). The new "shader_checker" layer needs the "spirv.h" file in a "SPIRV" directory. To kludge around this for now, create a "spirv" directory in the "layers" directory (that will be ignored on Linux, which looks at the capitalization of files/dirs) which Windows will use to find the "spirv.h" file in.
2015-04-17layers: Add ShaderChecker as Validation layerTobin Ehlis
2015-04-16Bug 13632 Header 84 Add VkFlushMappedMemoryTony Barbour
2015-04-16Bug 13632 Header 84 Add offset and size to VkMapMemoryTony Barbour
2015-04-16vulkan: Remove VkDescriptorSetLayoutChain from vkCmdBindDescriptorSetsChia-I Wu
This is part of r30446 on vulkan.h, discussed in bug 13632. Meaty chunks of this commit done by Olv, basic hook up and testing by Cody.
2015-04-16Bug 13632 Header 84 Assorted questions and comments on vulkan.hTony Barbour