Ian Elliott [Mon, 13 Jul 2015 18:20:56 +0000 (12:20 -0600)]
demos: Hack to get cube working--only 2 swap chain images.
Other people have hard-coded the number of framebuffers, command buffers,
etc. as being equal to DEMO_BUFFER_COUNT (i.e. 2). Without reworking all of
that code, this demo won't work. Go with the flow for the time being, and
hard-code the number of swap chain images as 2.
Ian Elliott [Mon, 6 Jul 2015 20:36:13 +0000 (14:36 -0600)]
loader: Changes to use new WSI swapchain extensions.
Use device extension list, not global. When validating the PhysicalDevice
extensions really need to use the device extension list not the loader's global
list.
Fix include to find aligned_alloc
Ian Elliott [Mon, 6 Jul 2015 20:34:08 +0000 (14:34 -0600)]
icd-common: Changes to use new WSI swapchain extensions.
Ian Elliott [Mon, 6 Jul 2015 20:31:32 +0000 (14:31 -0600)]
layers: INITIAL Changes to use new WSI swapchain extensions.
There are still some FIXME's that must be addressed, as well as fully
supporting the new entrypoints. This patch serves as a basis for review and
further work with other Vulkan engineers.
Ian Elliott [Mon, 6 Jul 2015 20:29:31 +0000 (14:29 -0600)]
nulldrv: Changes to use new WSI swapchain extensions.
Ian Elliott [Mon, 6 Jul 2015 20:27:58 +0000 (14:27 -0600)]
demos: Changes to use new WSI swapchain extensions.
Ian Elliott [Fri, 19 Jun 2015 23:19:39 +0000 (17:19 -0600)]
WSI: Add swapchain-extension headers (versions 12 & 40).
Courtney Goeltzenleuchter [Mon, 13 Jul 2015 17:08:12 +0000 (11:08 -0600)]
misc: Bump patch number to reflect diffs
We've incorporated two changes that are not in the upstream
v138 header so updating patch number to indicate that things
are different.
Mike Stroyan [Fri, 10 Jul 2015 18:51:14 +0000 (12:51 -0600)]
layers: Add install step for layers rpath settings
This allows a "make -Cbuild install' command to fix layer rpath.
The new layer shared libraries are created in build/install_staging/.
Ian Elliott [Mon, 13 Jul 2015 17:09:59 +0000 (11:09 -0600)]
demos: Fix Linux compiler warnings in "vulkaninfo.c"
Chris Forbes [Sat, 11 Jul 2015 04:06:23 +0000 (16:06 +1200)]
mem_tracker: Provide ctor for embedded union (and name it so we can)
VkSwapChainCreateInfoWSI has a nontrivial default constructor due to
having an embedded VkSwapChain handle.
From the C++11 standard, 9.5:
"If any non-static data member of a union has a non-trivial default
constructor (12.1), copy constructor (12.8), move constructor (12.8),
copy assignment operator (12.8), move assignment operator (12.8), or
destructor (12.4), the corresponding member function of the union must
be user-provided or it will be implicitly deleted (8.4.3) for the
union."
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Courtney Goeltzenleuchter [Mon, 13 Jul 2015 15:23:51 +0000 (09:23 -0600)]
vulkan: Remove unused STRUCTURE_TYPE enum
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:42:02 +0000 (15:42 -0600)]
v106: remove optional primitiveRestartIndex
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:31:57 +0000 (15:31 -0600)]
vulkan.h: Remove unused LAYER_CREATE_INFO type
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:25:20 +0000 (15:25 -0600)]
v115: Remove pLinkConstBufferInfo
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:22:31 +0000 (15:22 -0600)]
v131?: Remove ColorBlendAttachments->format
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:08:32 +0000 (15:08 -0600)]
v122?: Remove provoking vertex, now always last
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:53:14 +0000 (14:53 -0600)]
v106: Remove optional pointOrigin
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:49:41 +0000 (14:49 -0600)]
v106: remove optional depthMode
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:45:38 +0000 (14:45 -0600)]
bug 14084: eliminate ERROR_INVALID_OBJECT_TYPE
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:35:22 +0000 (14:35 -0600)]
v127: Use PFN_vkVoidFunction for GetProcAddr
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:06:04 +0000 (14:06 -0600)]
v115: Remove linkConstBufferCount
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:00:58 +0000 (14:00 -0600)]
v106: Remove optional multisampleEnable
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 19:54:31 +0000 (13:54 -0600)]
v106: Remove clipOrigin
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 19:42:28 +0000 (13:42 -0600)]
v128: Remove maxInlineMemoryUpdateSize
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 19:20:05 +0000 (13:20 -0600)]
v133: eliminate version from extension properties
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 19:07:46 +0000 (13:07 -0600)]
v133: Update parameters on CmdPipelineBarrier
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 18:58:58 +0000 (12:58 -0600)]
v133: Update parameter types on CmdWaitEvents
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 18:52:09 +0000 (12:52 -0600)]
v115: remove GetPhysicalDevicePerformance
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 18:40:29 +0000 (12:40 -0600)]
rename: GetPhysicalDeviceFormatInfo to GetPhysicalDeviceFormatProperties
Courtney Goeltzenleuchter [Thu, 9 Jul 2015 00:41:08 +0000 (18:41 -0600)]
vulkan: Updates to match upstream vulkan.h
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 18:21:19 +0000 (12:21 -0600)]
vulkan: Switch to upstream header
Chris Forbes [Sat, 11 Jul 2015 07:11:39 +0000 (19:11 +1200)]
vulkan.h: API changes for #13744 - sharing across queues
The ICD doesn't do anything differently interesting yet, but this is
enough that the API works.
V2: Fix testbinding.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Courtney Goeltzenleuchter [Sat, 11 Jul 2015 01:50:17 +0000 (19:50 -0600)]
tests: Integrate command pools into tests
Cody Northrop [Fri, 10 Jul 2015 00:08:32 +0000 (18:08 -0600)]
demos: Update for command pools
Cody Northrop [Fri, 10 Jul 2015 00:08:05 +0000 (18:08 -0600)]
icd: Support for command pools
Tobin Ehlis [Sat, 11 Jul 2015 00:25:07 +0000 (18:25 -0600)]
layers: Various layer fixes to get layer validation tests working with type safety changes
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 23:44:33 +0000 (17:44 -0600)]
nulldrv: Fix up compile issues for Windows
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 23:39:59 +0000 (17:39 -0600)]
loader: Fix MS compile warning
Chris Forbes [Fri, 10 Jul 2015 23:05:01 +0000 (11:05 +1200)]
layers: Fixup and reenable fs output validation in ShaderChecker
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 03:57:28 +0000 (21:57 -0600)]
bug-14184: Transient memory allocations
Tony Barbour [Fri, 10 Jul 2015 21:29:03 +0000 (15:29 -0600)]
Bug 14224: Remove abbreviations on some API symbols
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 22:58:42 +0000 (16:58 -0600)]
misc: Bump header version
Tony Barbour [Fri, 10 Jul 2015 20:10:27 +0000 (14:10 -0600)]
Bug 14084: Get tests compiling and running
Some layer tests still have issues.
Tony Barbour [Fri, 10 Jul 2015 16:50:45 +0000 (10:50 -0600)]
Bug 14248: Add vkFreeDescriptorSets
Tobin Ehlis [Wed, 8 Jul 2015 23:08:02 +0000 (17:08 -0600)]
layers: Get MemTracker compiling with type safety header change
Still need to test functionality.
Tobin Ehlis [Tue, 7 Jul 2015 17:02:44 +0000 (11:02 -0600)]
layers: Get Generic layer to compile with type safety header changes
Chris Forbes [Thu, 9 Jul 2015 21:06:54 +0000 (09:06 +1200)]
layers: Update ShaderChecker for 14084
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 01:04:04 +0000 (19:04 -0600)]
TODO: Disable non-working layers for now
Tony Barbour [Thu, 9 Jul 2015 23:31:46 +0000 (17:31 -0600)]
Bug 14084 - Object Tracker, Image, Generic layers
Mike Stroyan [Thu, 9 Jul 2015 17:01:07 +0000 (11:01 -0600)]
layers: Threading layer type safety header changes
Change to one map per data type.
Change to one useObject and finishUsingObject function per data type.
Use object.handle as map key for non-dispatchable objects.
Change to VkDbgObjectType.
Jeremy Hayes [Thu, 9 Jul 2015 23:11:25 +0000 (17:11 -0600)]
layers: Fix param checker compilation errors.
Tobin Ehlis [Tue, 7 Jul 2015 16:42:20 +0000 (10:42 -0600)]
layers: Updated DrawState to work with type safety changes
DrawState now working with cube demo, but lots of cleanup and TODO items that need to be addressed.
Tobin Ehlis [Mon, 6 Jul 2015 20:02:36 +0000 (14:02 -0600)]
layers: Layer updates to get helpers compiling with type safety changes
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 20:36:45 +0000 (14:36 -0600)]
misc: Enable only APIDump layer for now
Tony Barbour [Fri, 3 Jul 2015 16:33:54 +0000 (10:33 -0600)]
Bug 14084 - Improve type safety and remove polymorphism
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 18:57:49 +0000 (12:57 -0600)]
bug 14084: Update test binding for type safety
Tobin Ehlis [Fri, 10 Jul 2015 18:15:19 +0000 (12:15 -0600)]
layers: Updated DrawState to use new VkAttachmentView object
Chia-I Wu [Tue, 7 Jul 2015 03:50:03 +0000 (11:50 +0800)]
update vulkan.h for multi-pass command buffers (V131, #14075)
Minimal changes to keep everything building and functioning.
TODO: Need to port draw_state to use new VkAttachmentView structure.
Chia-I Wu [Wed, 8 Jul 2015 05:58:11 +0000 (13:58 +0800)]
demos: fix color attachment store op
Should be STORE, not DONT_CARE.
Chia-I Wu [Wed, 8 Jul 2015 05:34:24 +0000 (13:34 +0800)]
demos: destroy VkRenderPass and VkFramebuffer with VkDevice
We should not destroy them immediately after the command buffer is built.
Chia-I Wu [Wed, 8 Jul 2015 05:56:49 +0000 (13:56 +0800)]
demos: remove an extraneous vkCmdBeginRenderPass()
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 16:11:50 +0000 (10:11 -0600)]
loader: Exit loop as soon as we know the answer
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 16:10:27 +0000 (10:10 -0600)]
vulkaninfo: Fix compiler complaint on windows
The windows compiler didn't like it when the known_extensions
list of empty. By removing that size from inside the loop
we get the effect we want (0 iterations) and avoid the
compiler complaint.
Courtney Goeltzenleuchter [Thu, 9 Jul 2015 03:13:16 +0000 (21:13 -0600)]
loader: use device extension list, not global
When validating the PhysicalDevice extensions really
need to use the device extension list not the loader's
global list.
Courtney Goeltzenleuchter [Tue, 14 Jul 2015 17:57:05 +0000 (11:57 -0600)]
Revert "demos: use -o on glslangValidator to allow parallel make"
This reverts commit
2d83e06b0dacb8b4d1364b816ce10e56829e048a.
Do not want to make this change at this time.
GregF [Tue, 14 Jul 2015 17:35:45 +0000 (11:35 -0600)]
demos: use -o on glslangValidator to allow parallel make
David Pinedo [Fri, 10 Jul 2015 22:37:31 +0000 (16:37 -0600)]
demos: Fix windows compile error in vulkaninfo.c
Jon Ashburn [Fri, 10 Jul 2015 19:51:52 +0000 (13:51 -0600)]
demos: Fix list of known device extensions to not include WSI_LUNARG
Also remove DEBUG_MARKER from intel_icd list as it doesn't implement the
extension so don't report it.
GregF [Fri, 10 Jul 2015 18:35:41 +0000 (12:35 -0600)]
demos: add code to compile spv files in separate directories.
This enables parallel build.
Tobin Ehlis [Fri, 10 Jul 2015 17:10:21 +0000 (11:10 -0600)]
layers: Allow ObjectTracker to skip validation of objects that can be NULL
Jon Ashburn [Fri, 10 Jul 2015 16:41:15 +0000 (09:41 -0700)]
nulldrv: Update for bug 14033 Add new entrypoints and delete old ones
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 15:47:49 +0000 (09:47 -0600)]
misc: Update header version
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 15:06:56 +0000 (09:06 -0600)]
helper: Update header parser
The generated version of vulkan.h does not include structure
names on enums or structures. This was throwing off our parser.
This patch adds support to handle that.
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 15:42:33 +0000 (09:42 -0600)]
misc: Make spirv compile and mv one command
Seeing some issues where a parallel make causes problems
by moving result of a different compile. Combined the
commands into one line to try and reduce odds that happens.
Courtney Goeltzenleuchter [Thu, 9 Jul 2015 17:44:38 +0000 (11:44 -0600)]
vulkan: Rename bool32_t to VkBool32
Target was v129 of the header
Jon Ashburn [Thu, 9 Jul 2015 21:02:25 +0000 (15:02 -0600)]
misc: Support Pipeline caches and multi pipeline create, bug 14033 API changes
David Pinedo [Thu, 9 Jul 2015 23:46:19 +0000 (17:46 -0600)]
Build: re-enable build of tests on Linux, enable build of null drv on Windows
David Pinedo [Thu, 9 Jul 2015 22:23:44 +0000 (16:23 -0600)]
Layers: They now compile on Windows.
Added missing vk funcs to basic and screenshot
Changed several funcs in mem_tracker to return void
Loader cmake file was generating .def file on linux, removed it
Fixed missing entry points in layers generated via python
Jon Ashburn [Thu, 9 Jul 2015 20:06:55 +0000 (14:06 -0600)]
loader: Fix bug where layer default system path string needed to be copied
Resulted in segfault.
Tobin Ehlis [Tue, 23 Jun 2015 17:34:28 +0000 (11:34 -0600)]
layers: Flag errors in DrawState if Clear or Resolve cmds issued incorrectly
Clear*Image and ResolveImage cmds should only be issued outside of a RenderPass.
Clear*Attachment cmds should only be issued inside of a RenderPass.
Tobin Ehlis [Wed, 1 Jul 2015 22:46:13 +0000 (16:46 -0600)]
layers: Add DrawState check to warn on Clears prior to Draw cmds
If a CmdClear*Attachment for Color or DS is added to CmdBuffer and no Draw cmds have yet been issued, a warning is issued as LOAD_OP_CLEAR is preferred method for clearing these attachments prior to a Draw.
Added a test to verify that this case is correctly flagged.
Updated viewMap to contain create info for Color and DS as well as generic Images.
Tobin Ehlis [Fri, 3 Jul 2015 14:45:14 +0000 (08:45 -0600)]
layers: Add USAGE bit validation to MemTracker layer
Verify both IMAGE and BUFFER usage bits.
Verify correct usage bits set for Image, Color, and DepthStencil View creation. Verify that SOURCE and DESTINATION usage bits correctly set for various transfer operations.
Fixed a bug where CreateInfo was not correctly tracked for swap chain images.
David Pinedo [Thu, 9 Jul 2015 18:44:38 +0000 (12:44 -0600)]
Windows SDK: Rename vulkan.dll to vulkan.<major>.dll
Chris Forbes [Fri, 3 Jul 2015 01:50:24 +0000 (13:50 +1200)]
layers: Update ShaderChecker to use new logging mechanism
V2: Rebase, fix issues with log_msg args, delete more old junk.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Cody Northrop [Thu, 9 Jul 2015 16:47:40 +0000 (10:47 -0600)]
layers: Update custom CMake target for Windows
Mark Lobodzinski [Fri, 3 Jul 2015 21:58:09 +0000 (15:58 -0600)]
vulkan.h: V136 -- Vulkan Sparse Resource Issues
Totally reworked sparse resources. This commit also incorporates the
changes for bug 14237.
Ian Elliott [Wed, 8 Jul 2015 23:09:54 +0000 (17:09 -0600)]
vulkaninfo: Fix so that it compiles on Windows.
Cody Northrop [Wed, 8 Jul 2015 22:48:37 +0000 (16:48 -0600)]
loader: Build fixes for Windows
Cody Northrop [Wed, 8 Jul 2015 22:22:51 +0000 (16:22 -0600)]
layers: Fix CMake custom target on Windows
Cody Northrop [Wed, 8 Jul 2015 15:53:03 +0000 (09:53 -0600)]
toolchain: Update to latest glslang and LunarGLASS, fix script
glslang hash:
e6f7988adec197e0590fb8274b0412811456d3e6
LunarGLASS revision: 1093
Also, ensure update_external_sources.* fetches the repo before
checking out the hash.
Ian Elliott [Wed, 8 Jul 2015 21:43:03 +0000 (15:43 -0600)]
Windows: Show the use of "update_external_sources.bat"
Ian Elliott [Wed, 8 Jul 2015 20:33:52 +0000 (14:33 -0600)]
Windows: Update "Windows System Requirements" for glslang and tests.
Ian Elliott [Wed, 8 Jul 2015 19:24:30 +0000 (13:24 -0600)]
nulldrv: Get compiling and linking on Windows
Jon Ashburn [Tue, 7 Jul 2015 21:21:07 +0000 (15:21 -0600)]
layers: Fix makefile to look for <layerName>.json instead of <layerName>_config
Jon Ashburn [Tue, 7 Jul 2015 21:10:15 +0000 (15:10 -0600)]
layers: Change JSON files to use relative path for shared libraries
Jon Ashburn [Tue, 7 Jul 2015 21:06:25 +0000 (15:06 -0600)]
loader: Handle relative and filename paths in the layer manifest files
Jon Ashburn [Tue, 7 Jul 2015 20:51:57 +0000 (14:51 -0600)]
layers: Rename JSON files to <layer_name>.json
Courtney Goeltzenleuchter [Tue, 7 Jul 2015 20:27:31 +0000 (14:27 -0600)]
layers: Copy json config files to build directory
JSON library_path field should contain relative
path to the layer library. Easiest if both json and
library file live in the same spot.
Courtney Goeltzenleuchter [Tue, 7 Jul 2015 23:51:45 +0000 (17:51 -0600)]
layers: Generic- update extension and layer support