Tobin Ehlis [Wed, 17 Feb 2016 17:35:18 +0000 (10:35 -0700)]
layers: Add push constant validation to draw_state
Validate that push constants don't exceed maxPushConstantSize at create or update time.
Also validate that size at creation time is >0 and a multiple of 4.
David Pinedo [Thu, 3 Mar 2016 19:36:24 +0000 (12:36 -0700)]
winrtinstaller: Don't create a menu item for each version of RT installed
David Pinedo [Thu, 3 Mar 2016 18:57:41 +0000 (11:57 -0700)]
winrtinsaller: change comment
Jon Ashburn [Thu, 3 Mar 2016 19:03:58 +0000 (12:03 -0700)]
misc: Remove lunarg_debug_marker extension
This device extensions was not completely supported in any layer. It had partial
support (intercept) in draw_state and device_limits. This extension is being
changed and has a formal proposal in Khronos as debug_marker_ext. Removing
the existing extension since it is deprecated; once the debug_marker_ext gets
registered by Khronos, layers might want to start using the ObjectTag/ObjectName
commands to supplement error report messages in debug_report_ext. Since
debug_report_ext might get changed as part of Khronos review, don't add it yet.
Michael Lentine [Wed, 2 Mar 2016 20:35:44 +0000 (14:35 -0600)]
layers: Allow use of QUEUE_FAMILY_IGNORED for BufferMemoryBarriers
This fixed a bug in drawstate that produced invalid error messages
running apps that used FAMILY_IGNORED.
Jeremy Hayes [Thu, 3 Mar 2016 00:27:58 +0000 (17:27 -0700)]
layers: add missing error check
Change-Id: I18e36f8007d6555a152ac4e0632e2d38a03352be
Jon Ashburn [Thu, 3 Mar 2016 00:26:31 +0000 (17:26 -0700)]
loader: Update documentation to remove editing comments.
Also better describe layer requirements for layers which creat new dispatchable
objects.
Jeremy Hayes [Wed, 2 Mar 2016 23:48:17 +0000 (16:48 -0700)]
layers: fix imageLayout bug
Tony Barbour [Wed, 2 Mar 2016 23:22:40 +0000 (16:22 -0700)]
layers: Fix false positive on initialLayout in image layer
Jon Ashburn [Wed, 2 Mar 2016 02:51:07 +0000 (19:51 -0700)]
loader: ghlvl 33, ghlvl 34 Fix aliasing of VkPhysicalDevice
This fixes problems with not selecting the proper PhysicalDevice within
the loader if multiple PhysicalDevices are enumerated by the loader.
Fix involves wrapping the VkPhysicalDevice object in both trampoline code
and terminator code.
Also get rid of the ICD device_extension_cache. It is now always queried from
ICD whenever needed.
Tony Barbour [Tue, 1 Mar 2016 23:40:39 +0000 (16:40 -0700)]
LX #410 - Use ${PYTHON_EXECUTABLE} for PYTHON_CMD
Tony Barbour [Tue, 1 Mar 2016 23:08:41 +0000 (16:08 -0700)]
smoke: use $<TARGET_FILE> instead of LOCATION prop
Jeremy Hayes [Wed, 2 Mar 2016 00:51:54 +0000 (17:51 -0700)]
layers: gllavl#78 validate base pipeline
Change-Id: I08313295ac545652aca2060744b55274ed3cd4ca
Jeremy Hayes [Tue, 1 Mar 2016 23:51:02 +0000 (16:51 -0700)]
layers: gllavl#77 validate layout during clear
Change-Id: I427cd1fcc6ecf115dbaf521387a909f117c13d07
Jeremy Hayes [Tue, 1 Mar 2016 21:01:45 +0000 (14:01 -0700)]
layers: gllavl#76 validate initialLayout
Change-Id: Iede6dcf3bc83a5663b80b62c3239ef54bc74278a
Mark Lobodzinski [Tue, 1 Mar 2016 18:05:45 +0000 (11:05 -0700)]
layers: Update QueueFamilyIndex validation
Add handling of VK_QUEUE_FAMILY_IGNORED and allow VkImageMemoryBarrier types
inside render passes. Also plumbed functionName into ValidateBarriers.
Jon Ashburn [Mon, 29 Feb 2016 20:00:51 +0000 (13:00 -0700)]
loader: refactor EnumerateDevice*Properties terminate/trampoline code
Should be no functional change.
Restructure so the terminator functions don't contain trampoline code.
Mark Lobodzinski [Mon, 29 Feb 2016 18:49:51 +0000 (11:49 -0700)]
layers: GH LVL#49, Updated layer docs/README for new layers
Mark Lobodzinski [Thu, 25 Feb 2016 20:56:57 +0000 (13:56 -0700)]
layers: GL107, Validate queueFamilyIndices for CreateSwapchain
Mark Lobodzinski [Thu, 25 Feb 2016 22:09:52 +0000 (15:09 -0700)]
layers: GL207, Validate queue_family_index
Validates index is less than number of queue families for these APIs:
CmdWaitEvents, CmdPipelineBarrier, CreateBuffer, and CreateImage.
Also: Updated layer details doc with additional error code.
Added layer validation test for CreateBuffer
Conflicts:
layers/draw_state.h
layers/vk_validation_layer_details.md
Mark Lobodzinski [Thu, 25 Feb 2016 17:54:31 +0000 (10:54 -0700)]
layers: LX322, Track semaphore state acroos QueueBindSparse calls
Mark Lobodzinski [Mon, 29 Feb 2016 15:35:38 +0000 (08:35 -0700)]
build: GH PR17, Remove unused displayserver ENV settings
Cody Northrop [Fri, 26 Feb 2016 23:49:33 +0000 (16:49 -0700)]
build: GH PR17, Add Android WSI info to Windows version of codegen script
Cody Northrop [Wed, 24 Feb 2016 19:28:41 +0000 (12:28 -0700)]
layers: GH PR17, Add support for building for Android on Windows
A better fix would be to stop using sys.platform when making
decisions, but this is quick.
Mark Lobodzinski [Fri, 26 Feb 2016 01:14:56 +0000 (18:14 -0700)]
cmake: GH PR17, Improve error detection for displayserver selection
Mark Lobodzinski [Wed, 24 Feb 2016 22:04:11 +0000 (15:04 -0700)]
loader: GH PR17, Add windows support for new displayserver types
Mark Lobodzinski [Fri, 26 Feb 2016 21:29:48 +0000 (14:29 -0700)]
cmake: GH PR17, Fix vulkan.py code generation script for Windows builds
Mun, Gwan-gyeong [Mon, 22 Feb 2016 11:32:17 +0000 (20:32 +0900)]
cmake: GH PR17, Add DisplayServer variables for the WSI interfaces
Mun, Gwan-gyeong [Mon, 22 Feb 2016 11:29:23 +0000 (20:29 +0900)]
Build: GH PR17, Add Android WSI info to android codegen script
Conflicts:
buildAndroid/android-generate.sh
Mun, Gwan-gyeong [Mon, 22 Feb 2016 11:27:31 +0000 (20:27 +0900)]
cmake: GH PR17, Add WSI options to loader codegen script
Mun, Gwan-gyeong [Mon, 22 Feb 2016 11:23:59 +0000 (20:23 +0900)]
layers: GH PR17, Add WSI argument passing to vk-generate.py
Mun, Gwan-gyeong [Mon, 22 Feb 2016 02:02:58 +0000 (11:02 +0900)]
cmake: GH PR17, Pass WSI arg to layer generating scripts
Mun, Gwan-gyeong [Mon, 22 Feb 2016 00:43:09 +0000 (09:43 +0900)]
layers: GH PR17, Add Wayland, Xlib, Android & Mir extensions to codegen scripts
Conflicts:
vulkan.py
Mun, Gwan-gyeong [Mon, 22 Feb 2016 00:33:58 +0000 (09:33 +0900)]
loader: GH PR17, Fix typo in comment
Karl Schultz [Fri, 26 Feb 2016 22:42:57 +0000 (15:42 -0700)]
docs: Add CONTRIBUTING.md
Tony Barbour [Thu, 25 Feb 2016 22:44:10 +0000 (15:44 -0700)]
demos: Add Hologram snapshot as Smoke test/demo
Jon Ashburn [Fri, 26 Feb 2016 20:14:27 +0000 (13:14 -0700)]
loader: Better delineate trampoline and terminator functions
No functional changes!
Trampoline functions have the Vulkan API function name and are in trampoline.c.
Terminator functions have terminator_<Vulkan API name> (omitting the "vk").
Instance extension trampoline and terminator functions are in together in the
same file for the extension.
Jon Ashburn [Fri, 26 Feb 2016 17:55:14 +0000 (10:55 -0700)]
layers: Fix compliation error in draw_state
Cody Northrop [Wed, 24 Feb 2016 21:44:39 +0000 (14:44 -0700)]
android: Drop layer validation tests for now
Cody Northrop [Wed, 24 Feb 2016 19:37:37 +0000 (12:37 -0700)]
windows: Add android-generate.bat
Courtney Goeltzenleuchter [Sat, 20 Feb 2016 23:35:23 +0000 (16:35 -0700)]
layers: remove unused file
Courtney Goeltzenleuchter [Sat, 20 Feb 2016 23:34:18 +0000 (16:34 -0700)]
layers: Fix file permissions
Courtney Goeltzenleuchter [Sat, 20 Feb 2016 23:20:48 +0000 (16:20 -0700)]
layers: Fix clang warning
Ian Elliott [Fri, 19 Feb 2016 22:55:15 +0000 (15:55 -0700)]
layers: Fix typo in vk_validation_layer_details.md
Michael Lentine [Fri, 12 Feb 2016 04:10:08 +0000 (22:10 -0600)]
layers: Validate image barrier in draw_state
Tobin Ehlis [Thu, 18 Feb 2016 21:54:48 +0000 (14:54 -0700)]
layers: Fix descriptor resource tracking in mem_tracker
Add tracking for the buffers associated with bufferViews of texel buffer desriptor types.
Update tracking for all relevant descriptor types to track resources for each descriptor in descriptorCount instead of just the first resource.
Ian Elliott [Thu, 18 Feb 2016 21:26:42 +0000 (14:26 -0700)]
layers: draw_state validates VkPipelineColorBlendStateCreateInfo
This is a squash of 3 commits/validationtests:
- If independentBlend not enabled, validate that all elements of pAttachments
must be identical (for the vkCreateGraphicsPipelines() function).
- If logicOp not enabled, validate that logicOpEnable is VK_FALSE.
- If logicOpEnable is VK_TRUE, logicOp must be a valid VkLogicOp value.
Jon Ashburn [Fri, 26 Feb 2016 15:40:05 +0000 (08:40 -0700)]
Docs: GH39, Update BUILD.md for directions on installing python lxml module
Karl Schultz [Fri, 26 Feb 2016 15:11:59 +0000 (08:11 -0700)]
docs: Update BUILD.md
Better minimum list of required Linux packaged to build this repo, plus other misc corrections and improvements.
Tony Barbour [Thu, 25 Feb 2016 20:58:50 +0000 (13:58 -0700)]
Use API Version 1.0.0 instead of using VK_API_VERSION for tests/demos
Chris Forbes [Wed, 17 Feb 2016 01:44:52 +0000 (14:44 +1300)]
layers: Add component awareness to SC interface matching
- Adds more tests for mismatch by component and by location
- Removes dead handling of builtins (we only care about collecting builtin /decorations/ to aid in the interface block handling;
we don't really care about producing the set of builtins used overall.)
Some SC error messages change slightly, as interstage locations now include the component index.
Fixes internal bug
26609754
V2: Remove dead code
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Karl Schultz [Wed, 24 Feb 2016 21:39:39 +0000 (14:39 -0700)]
loader: Fix MSVS warnings
Apply branch 'fix-warnings' of https://github.com/null77/Vulkan-LoaderAndValidationLayers into null77-fix-warnings
szdarkhack [Tue, 23 Feb 2016 19:32:01 +0000 (21:32 +0200)]
layers: Fixed markStoreImagesAndBuffersAsWritten() in mem_tracker
It now correctly treats images as images instead of buffers.
Jon Ashburn [Wed, 24 Feb 2016 19:00:55 +0000 (12:00 -0700)]
loader: Update doc to add the Linux search path
$HOME/.local/share/vulkan/icd.d or explicit_layer.d or implicit_layer.d
Courtney Goeltzenleuchter [Mon, 15 Feb 2016 22:05:16 +0000 (15:05 -0700)]
loader: Add example code
Courtney Goeltzenleuchter [Mon, 15 Feb 2016 22:07:54 +0000 (15:07 -0700)]
loader: doc cleanup
Courtney Goeltzenleuchter [Mon, 15 Feb 2016 21:59:37 +0000 (14:59 -0700)]
loader: doc cleanup
Fix some awkward wording.
Conflicts:
loader/LoaderAndLayerInterface.md
Mark Lobodzinski [Tue, 23 Feb 2016 16:58:39 +0000 (09:58 -0700)]
layers: Make layer option names more consistent and update docs
rdb [Sun, 21 Feb 2016 01:14:18 +0000 (02:14 +0100)]
Check boolean values in vkCreateSampler
Hugo Landau [Tue, 16 Feb 2016 15:44:03 +0000 (15:44 +0000)]
demos: Fix vulkaninfo on win32 to use existing console
The vulkaninfo utility is compiled as /SUBSYSTEM:APPLICATION but
attempts to allocate its own console and print to it. Not only
does this appear to be unreliable (sometimes no output is printed),
it is unnecessary if the utility is compiled as /SUBSYSTEM:CONSOLE.
This removes unnecessary console manipulation code. By using
/SUBSYSTEM:CONSOLE, the ordinary main() entrypoint function can be
used.
The console is still enlarged if it was opened exclusively for the
process by detecting whether it was so opened. Likewise, the process
still sleeps forever if the console is exclusive to the process.
The process behaves like a normal command line process when executed
from the command line.
Fixes lunarg issue 350.
Karl Schultz [Wed, 24 Feb 2016 17:57:40 +0000 (10:57 -0700)]
docs: fix bad link in layers/README.md
Mark Lobodzinski [Wed, 24 Feb 2016 16:52:53 +0000 (09:52 -0700)]
layers: Added TODO in drawstate for Khronos-github issue #30
Mike Stroyan [Mon, 22 Feb 2016 16:15:19 +0000 (09:15 -0700)]
layers: draw_state VK_WHOLE_SIZE in barriers
Allow use of VK_WHOLE_SIZE in barriers validation.
Mike Stroyan [Thu, 18 Feb 2016 21:44:17 +0000 (14:44 -0700)]
layers: Allow draw_state layout mismatch with UNDEFINED
Also allow CB initialLayout of VK_IMAGE_LAYOUT_UNDEFINED to match
any layout.
Mark Lobodzinski [Tue, 23 Feb 2016 21:11:46 +0000 (14:11 -0700)]
layers: Fix memory leak in mem_tracker
Certain codepaths could result in the validation_functions vector growing
unbounded, causing performance hits in QueueSubmit.
Eric Engestrom [Sun, 21 Feb 2016 19:58:09 +0000 (19:58 +0000)]
layers: Remove unnecessary null pointer checks
Fixes GitHub Issue #6
Mark Lobodzinski [Mon, 22 Feb 2016 20:59:30 +0000 (13:59 -0700)]
layers: LX232, Removed invalid object_tracker QueueBindSparse error message
Eric Werness [Fri, 12 Feb 2016 22:34:27 +0000 (14:34 -0800)]
layers: MR247, Snap start and end to page to compare for mem_tracker
Jeff Juliano [Wed, 17 Feb 2016 22:25:42 +0000 (17:25 -0500)]
loader: Fix typos, spelling, grammar in loader interface doc
Karl Schultz [Mon, 22 Feb 2016 16:57:14 +0000 (09:57 -0700)]
build: Remove LunarGLASS from Win update ext sources.
Mark Lobodzinski [Mon, 22 Feb 2016 16:32:55 +0000 (09:32 -0700)]
demos: Properly destroy DebugReportCallback
Error resulted in warnings when shutting down tri --validate.
Also added DebugReportMessage setup.
Karl Schultz [Mon, 22 Feb 2016 16:15:45 +0000 (09:15 -0700)]
Update build info to reflect ICD moving to VulkanTools
Mark Lobodzinski [Mon, 22 Feb 2016 15:57:55 +0000 (08:57 -0700)]
demos: Fix drawstate transition errors in tri.
GregF [Fri, 19 Feb 2016 18:50:05 +0000 (11:50 -0700)]
Build: Remove LunarGLASS from update_external_sources.sh
LunarGLASS is no longer built from here since it not needed for this repo.
Rather, an update_external_sources.sh has been added to VulkanTools which
can be use to build LunarGLASS.
Karl Schultz [Mon, 22 Feb 2016 15:29:42 +0000 (08:29 -0700)]
glslang: Update revision to pick up recent fixes
Jason Ekstrand [Sat, 13 Feb 2016 01:25:03 +0000 (17:25 -0800)]
loader: Fix Wayland support
All that was needed was to fix some misplaced braces, fix a couple of
copy+paste problems from Mir, and add a lookup function. Getting Mir
support working should be pretty easy.
Conflicts:
layers/swapchain.cpp
Jason Ekstrand [Sat, 20 Feb 2016 16:13:28 +0000 (08:13 -0800)]
cmake: Add options for each of the linux wsi interfaces
We default everything except XCB to off since that is the only one that has
been well-tested up to now.
Piers Daniell [Thu, 18 Feb 2016 17:54:15 +0000 (10:54 -0700)]
Don't use width=0,height=0 on window minimize
Vulkan doesn't support width=0 and height=0 so we just ignore the
minimize request on Windows.
Jon Ashburn [Fri, 19 Feb 2016 22:23:41 +0000 (15:23 -0700)]
demos: Add --validate option to tri
First tries to use standard_validation, if not found then a list of
validation layers.
Jon Ashburn [Fri, 19 Feb 2016 22:22:10 +0000 (15:22 -0700)]
loader: Fix standard_validation enumeration on instance chain
Fixed regression and still handle no layers found case.
David Pinedo [Fri, 19 Feb 2016 19:37:48 +0000 (12:37 -0700)]
winrtinstaller: update README.txt to better explain rt installer exit codes
Michael Lentine [Thu, 18 Feb 2016 19:57:18 +0000 (13:57 -0600)]
layers: Allow draw_state layout mismatch with UNDEFINED
Jon Ashburn [Thu, 18 Feb 2016 19:48:24 +0000 (12:48 -0700)]
loader: Fix threading layer name in loader standard_threading
Jon Ashburn [Thu, 18 Feb 2016 19:45:39 +0000 (12:45 -0700)]
loader: Environment variable override got broken with recent change
This fixes that
Conflicts:
update_external_sources.bat
Michael Lentine [Thu, 18 Feb 2016 16:07:26 +0000 (10:07 -0600)]
layers: Fix android build and update hash.
Update android build code to fix generated paramchecker.
Fix draw_state custom hash algorithm for ImageSubresourcePair.
Jon Ashburn [Wed, 17 Feb 2016 20:18:08 +0000 (13:18 -0700)]
loader: Fix windows build from last loader checkin
Jon Ashburn [Tue, 16 Feb 2016 22:34:16 +0000 (15:34 -0700)]
loader: Add a ICD and layer search path for loader to discover JSON files
path is $HOME/.local/share/vulkan/*
Mark Lobodzinski [Wed, 17 Feb 2016 17:28:38 +0000 (10:28 -0700)]
layers: Fix typo in mem_tracker
Mike Stroyan [Wed, 17 Feb 2016 00:29:52 +0000 (17:29 -0700)]
layers: param_check- enable android build
Update android build to use new param_check header files
Mark Lobodzinski [Fri, 12 Feb 2016 21:10:53 +0000 (14:10 -0700)]
layers: Fix possible crash in draw_state layer
Uninitialized descriptor slots are not filled this could cause
null pointer dereferences.
Mark Lobodzinski [Fri, 12 Feb 2016 19:06:09 +0000 (12:06 -0700)]
layers: Fix UpdateDescriptorSets crash in mem_tracker
Validation was handling TEXEL_BUFFER descriptorTypes incorrectly.
Removing for now.
Dustin Graves [Mon, 15 Feb 2016 22:54:52 +0000 (15:54 -0700)]
demos: Adjust vulkaninfo failure cases
For Windows, after vulkaninfo allocates a console, it tries to resize the
console and change the title text. Failure of either operation was
treated as console icreation failure, which led to vulkaninfo printing
to the console and then closing the console immediately. Now treating
AllocConsole() failure as console creation failure and ignoring resize and
title text change failures. With this change, resize failure will not
stop the app from pausing after printing info to the console.
David Pinedo [Sat, 13 Feb 2016 21:06:55 +0000 (14:06 -0700)]
winrtinstaller: change error message
David Pinedo [Fri, 12 Feb 2016 19:23:57 +0000 (12:23 -0700)]
winrtinstaller: Unique error codes
Dustin Graves [Tue, 9 Feb 2016 21:00:18 +0000 (14:00 -0700)]
layers: MR243: NULL pointer and struct type checks
Verify that required parameters are not NULL and that structures with
sType fields have the correct VkStructureType values. Messages are
logged for the following conditions:
- A pointer is NULL and is not marked as optional in the XML
- An array is NULL and is not marked as optional in the XML, unless
its count is 0
- An array count is 0 and is not marked as optional in the XML
- A structre's sType value does not match the value specified
in the XML
Dustin Graves [Thu, 11 Feb 2016 17:10:14 +0000 (10:10 -0700)]
layers: MR243: Add param checker code generation
Generate param checker code to verify that required pointer/array
parameters are not NULL and that structures with sType fields
have the correct VkStructureType value. The checks are generated
from the Vulkan XML API registry based on the optional parameter
tag and sType comments.
Jon Ashburn [Thu, 18 Feb 2016 21:51:18 +0000 (14:51 -0700)]
spirv-tools: update versions for 1.0.3
Tobin Ehlis [Tue, 16 Feb 2016 19:08:54 +0000 (12:08 -0700)]
layers: Fix android build of safe_struct wrappers
Handle default case in switch statement for descriptor types.
Courtney Goeltzenleuchter [Mon, 8 Feb 2016 18:16:21 +0000 (11:16 -0700)]
layers: MR221: Correct name for unique_objects layer
Courtney Goeltzenleuchter [Sun, 7 Feb 2016 00:11:22 +0000 (17:11 -0700)]
layers: MR221: rename threading test
The threading validation layer has been basically
re-written, so updating the vendor name accordingly