platform/upstream/Vulkan-Tools.git
8 years agomisc: Add pipeline stage flags to wait upon for queueSubmit semaphores; v216
Jon Ashburn [Wed, 30 Dec 2015 23:42:50 +0000 (16:42 -0700)]
misc: Add pipeline stage flags to wait upon for queueSubmit semaphores; v216

8 years agomisc: Changes to go to header v215 including vulkan.h version update
Jon Ashburn [Wed, 30 Dec 2015 21:52:49 +0000 (14:52 -0700)]
misc: Changes to go to header v215 including vulkan.h version update

8 years agomisc: Changes to go to header v214 including vulkan.h version update
Jon Ashburn [Wed, 30 Dec 2015 21:39:53 +0000 (14:39 -0700)]
misc: Changes to go to header v214 including vulkan.h version update

8 years agobump header version to 213.1
Jon Ashburn [Wed, 30 Dec 2015 21:09:31 +0000 (14:09 -0700)]
bump header version to 213.1

This includes WSI changes that are post vers 213 so that is why use 213.1

8 years agomisc: rename startXXX to firstXXX and add firstXXX param to setviewport/scissor
Jon Ashburn [Wed, 30 Dec 2015 21:06:55 +0000 (14:06 -0700)]
misc: rename startXXX to firstXXX and add firstXXX param to setviewport/scissor

Header file changes going to 213 version

8 years agolayers: Rename Layer/library/json files for consistency
Mark Lobodzinski [Wed, 30 Dec 2015 15:16:12 +0000 (08:16 -0700)]
layers: Rename Layer/library/json files for consistency

Renamed layers from (for example) xxx_DrawState to xxx_draw_state
Renamed JSON files
Renamed libraries
Renamed object_track.* to object_tracker.*
Renamed apidump.h to api_dump.h
Renamed screen_shot layer to screenshot
Renamed APIDump layer settings file options to ApiDump
Bug fixes here and there from prior renames

8 years agolayers: MR89, Fix gtests for android
Michael Lentine [Fri, 11 Dec 2015 18:49:51 +0000 (10:49 -0800)]
layers: MR89, Fix gtests for android

Conflicts:
layers/draw_state.cpp
layers/image.cpp
layers/mem_tracker.cpp

8 years agomisc: Bump header to 212.1
Jon Ashburn [Tue, 29 Dec 2015 21:57:48 +0000 (14:57 -0700)]
misc: Bump header to 212.1

Adds rest of version 212 changes (timestamp in DeviceLimits) that wasn't
in the 217 WSI header updates.

8 years agovktrace: version 217 WSI changes
Jon Ashburn [Tue, 29 Dec 2015 21:21:25 +0000 (14:21 -0700)]
vktrace: version 217 WSI changes

8 years agodemos: Fix win32_surface compile errors for demos and tests
Jon Ashburn [Fri, 25 Dec 2015 00:08:01 +0000 (17:08 -0700)]
demos: Fix win32_surface compile errors for demos and tests

8 years agonulldrv: Fix swapchain compile error
Jon Ashburn [Thu, 24 Dec 2015 23:59:07 +0000 (16:59 -0700)]
nulldrv: Fix swapchain compile error

8 years agodemos: Version 217 WSI changes.
Ian Elliott [Fri, 11 Dec 2015 22:52:12 +0000 (15:52 -0700)]
demos: Version 217 WSI changes.

8 years agolayers: Version 217 WSI changes.
Ian Elliott [Fri, 11 Dec 2015 22:03:05 +0000 (15:03 -0700)]
layers: Version 217 WSI changes.

8 years agonulldrv: Version 217 WSI changes.
Ian Elliott [Fri, 11 Dec 2015 20:31:36 +0000 (13:31 -0700)]
nulldrv: Version 217 WSI changes.

8 years agoloader: Version 217 WSI changes.
Ian Elliott [Fri, 11 Dec 2015 00:28:50 +0000 (17:28 -0700)]
loader: Version 217 WSI changes.

8 years agoWSI: Update "vulkan.h" with WSI contents of version 217.
Ian Elliott [Fri, 11 Dec 2015 00:11:21 +0000 (17:11 -0700)]
WSI: Update "vulkan.h" with WSI contents of version 217.

8 years agolayers: MR103, Improve image dependency validation
Michael Lentine [Tue, 22 Dec 2015 17:36:14 +0000 (11:36 -0600)]
layers: MR103, Improve image dependency validation

Remove duplicate dag creation and make sure image is valid if read first
in a subpass dag.

8 years agolayers: Fix windows build issue with drawstate merge requests
Mark Lobodzinski [Mon, 28 Dec 2015 22:51:07 +0000 (15:51 -0700)]
layers: Fix windows build issue with drawstate merge requests

8 years agolayers: MR101, Add DrawState validation of pDynamicOffsets
Tobin Ehlis [Thu, 17 Dec 2015 18:48:42 +0000 (11:48 -0700)]
layers: MR101, Add DrawState validation of pDynamicOffsets

At draw time, verify that any dynamic descriptors that are bound and used by the
pipeline do not overflow their buffer. This requires checking the combindation of
the pDynamicOffsets value from vkCmdBindDescriptorSets() for each descriptor
along with its offset and range from vkUpdateDescriptors() to makes sure this
combination doesn't overflow the buffer size.
Also added a test to hit this case along with some additional testing for
incorrect dynamicOffsetCount at vkCmdBindDescriptorSets() time.

Conflicts:
layers/draw_state.cpp

8 years agolayers: MR95, Add renderPass compatibility checks to DrawState
Tobin Ehlis [Wed, 16 Dec 2015 12:01:22 +0000 (05:01 -0700)]
layers: MR95, Add renderPass compatibility checks to DrawState

Add functions to check renderpass compatibility based on spec.
Add check for renderPass compatibility at vkBeginCommandBuffers() for a secondary
command buffer where a framebuffer is included. The renderPass for that framebuffer
must be compatible with the renderPass for the secondary command buffer.
Add checks for renderPass compatibility at time vkCmdExecuteCommands() is called.
If secondary command buffer renderPass is not compatible with active renderPass
from primary command buffer, flag an error.
Also added a check at vkCmdExecuteCommands() time to make sure that framebuffer
from active renderPass matches any framebuffer that was set in secondary command
buffer (if any).

Conflicts:
layers/draw_state.cpp

8 years agolayers: MR94, DrawState refactor to verify CmdBuffer RECORDING
Tobin Ehlis [Wed, 16 Dec 2015 15:19:42 +0000 (08:19 -0700)]
layers: MR94, DrawState refactor to verify CmdBuffer RECORDING

For all of the vkCmd* calls, we were checking to make CmdBuffer was in RECORDING
state and adding Cmd to internal tracking struct. It cleans up all of the vkCmd*
functions to do the RECORDING check inside of the addCmd() call.
This also fixes a few holes where we weren't doing the RECORDING state check.

Conflicts:
layers/draw_state.cpp
tests/layer_validation_tests.cpp

8 years agolayers: Fix DrawState BeginCommandBuffer check
Tobin Ehlis [Wed, 16 Dec 2015 14:17:23 +0000 (07:17 -0700)]
layers: Fix DrawState BeginCommandBuffer check

According to the spec, framebuffer parameter can be NULL when vkBeginCommandBuffer()
is called on a secondary command buffer, however it may result in lower performance.
Changed this ERROR to a PERF_WARN.

Conflicts:
layers/draw_state.cpp

8 years agolayers: Fix Drawstate issues with binding pipelines in/outside a renderpass
Mark Lobodzinski [Fri, 18 Dec 2015 22:35:38 +0000 (15:35 -0700)]
layers: Fix Drawstate issues with binding pipelines in/outside a renderpass

8 years agoloader: Don't override VK_LAYER_PATH for implicit layers
Jon Ashburn [Thu, 24 Dec 2015 20:58:35 +0000 (13:58 -0700)]
loader: Don't override VK_LAYER_PATH for implicit layers

8 years agoloader: Fix typo in CreateDevice so ICDs see filtered device extension list
Jon Ashburn [Thu, 24 Dec 2015 17:50:08 +0000 (10:50 -0700)]
loader: Fix typo in CreateDevice so ICDs see filtered device extension list

8 years agolayers: Add basic implicit layer JSON file as an example implicit layer
Jon Ashburn [Thu, 24 Dec 2015 17:11:10 +0000 (10:11 -0700)]
layers: Add basic implicit layer JSON file as an example implicit layer

8 years agoDemos: Fix name of MemTrack layer in tri.c demo
David Pinedo [Wed, 23 Dec 2015 20:43:48 +0000 (13:43 -0700)]
Demos: Fix name of MemTrack layer in tri.c demo

8 years agoFix Android layers build
Jesse Hall [Wed, 23 Dec 2015 05:27:55 +0000 (21:27 -0800)]
Fix Android layers build

Conflicts:
include/vulkan/vk_lunarg_debug_report.h

8 years agoloader: Properly filter ICD extensions
Courtney Goeltzenleuchter [Mon, 21 Dec 2015 23:41:47 +0000 (16:41 -0700)]
loader: Properly filter ICD extensions

As of NVIDIA driver 355.00.19, the ICD's CreateInstance
checks for invalid extension names and it turns out the
loader was passing on DEBUG_REPORT when it should have
been filtered out.
This change re-constructs the ICD's extension list to
do that filtering.

8 years agolayers: Fixes for issues resulting from MR87
Mark Lobodzinski [Fri, 18 Dec 2015 16:24:52 +0000 (09:24 -0700)]
layers: Fixes for issues resulting from MR87

8 years agolayers: MR87, Adding validation for image validity
Michael Lentine [Tue, 24 Nov 2015 23:55:33 +0000 (17:55 -0600)]
layers: MR87, Adding validation for image validity

Conflicts:
layers/mem_tracker.cpp

8 years agoBug 15314: Make clear for layers that the registry value must be 0.
Ian Elliott [Thu, 17 Dec 2015 17:22:33 +0000 (10:22 -0700)]
Bug 15314: Make clear for layers that the registry value must be 0.

8 years agoloader: Add support for implicit layers
Jon Ashburn [Fri, 18 Dec 2015 00:38:24 +0000 (17:38 -0700)]
loader: Add support for implicit layers

8 years agolayers: Remove vkCmdExecuteCommands checks that don't match spec
Tony Barbour [Thu, 17 Dec 2015 22:54:05 +0000 (15:54 -0700)]
layers: Remove vkCmdExecuteCommands checks that don't match spec

8 years agoloader: Fix erroneous call to loader_log previously added
Jon Ashburn [Thu, 17 Dec 2015 21:30:21 +0000 (14:30 -0700)]
loader: Fix erroneous call to loader_log previously added

8 years agolayers: bump debug_report version number
Jon Ashburn [Thu, 17 Dec 2015 21:27:03 +0000 (14:27 -0700)]
layers: bump debug_report version number

8 years agotri: remove unneeded cast
Courtney Goeltzenleuchter [Wed, 16 Dec 2015 23:42:59 +0000 (16:42 -0700)]
tri: remove unneeded cast

8 years agoloader: Fix compile error from rebase
Jon Ashburn [Thu, 17 Dec 2015 19:31:41 +0000 (12:31 -0700)]
loader: Fix compile error from rebase

8 years agoloader: Fix comment leader on def files
Courtney Goeltzenleuchter [Wed, 16 Dec 2015 21:57:27 +0000 (14:57 -0700)]
loader: Fix comment leader on def files

8 years agolayers: clean up mismatched sign warnings
Courtney Goeltzenleuchter [Wed, 16 Dec 2015 23:06:06 +0000 (16:06 -0700)]
layers: clean up mismatched sign warnings

8 years agolayers: clean up bool vs. VkBool32 warnings
Courtney Goeltzenleuchter [Wed, 16 Dec 2015 23:07:01 +0000 (16:07 -0700)]
layers: clean up bool vs. VkBool32 warnings

8 years agolayers: clean up path without return warning
Courtney Goeltzenleuchter [Wed, 16 Dec 2015 23:08:08 +0000 (16:08 -0700)]
layers: clean up path without return warning

8 years agomisc: fix comment
Courtney Goeltzenleuchter [Wed, 16 Dec 2015 23:08:44 +0000 (16:08 -0700)]
misc: fix comment

8 years agoloader: fix mismatch size warning
Courtney Goeltzenleuchter [Wed, 16 Dec 2015 23:19:46 +0000 (16:19 -0700)]
loader: fix mismatch size warning

8 years agoloader: correct compiler warning
Courtney Goeltzenleuchter [Thu, 17 Dec 2015 16:51:22 +0000 (09:51 -0700)]
loader: correct compiler warning

Fixed compiler warning of idx potentially being
undefined. Also added test to check if the code
took that path and return an error if that happens.

8 years agodemos: Fix compiler warnings
Courtney Goeltzenleuchter [Thu, 17 Dec 2015 16:53:29 +0000 (09:53 -0700)]
demos: Fix compiler warnings

gcc complains that return result is unused. This change
prevents the warning and should be a no-op otherwise.

8 years agodebug_report: Update extension name
Courtney Goeltzenleuchter [Thu, 10 Dec 2015 23:41:22 +0000 (16:41 -0700)]
debug_report: Update extension name

8 years agodebug_report: rename object type and error bits
Courtney Goeltzenleuchter [Wed, 9 Dec 2015 22:48:16 +0000 (15:48 -0700)]
debug_report: rename object type and error bits

Conflicts:
demos/tri.c
layers/device_limits.cpp
layers/draw_state.cpp
layers/image.cpp
layers/mem_tracker.cpp
layers/param_checker.cpp
layers/vk_layer_logging.h
loader/debug_report.c
tests/layer_validation_tests.cpp

8 years agoloader: save memory pointer before it's lost
Courtney Goeltzenleuchter [Wed, 9 Dec 2015 19:26:34 +0000 (12:26 -0700)]
loader: save memory pointer before it's lost

The first time a library is loaded the code will
allocate space for the list. But if the dlopen fails
the pointer for that wasn't being saved and the next
call would get a segfault on a null pointer.
Now save the new pointer so it doesn't get lost.

8 years agodebug_report: rename vk_lunarg_debug_report.h
Courtney Goeltzenleuchter [Wed, 9 Dec 2015 21:33:56 +0000 (14:33 -0700)]
debug_report: rename vk_lunarg_debug_report.h

8 years agovulkaninfo: Register a callback at CreateInstance
Courtney Goeltzenleuchter [Thu, 3 Dec 2015 20:50:49 +0000 (13:50 -0700)]
vulkaninfo: Register a callback at CreateInstance

Add the CreateInstance callback to demonstrate the use of that
limited-time callback mechanism.

8 years agoloader: Enable callbacks from loader_log
Courtney Goeltzenleuchter [Thu, 3 Dec 2015 20:48:01 +0000 (13:48 -0700)]
loader: Enable callbacks from loader_log

Need to have the instance pointer to find
the list of callbacks.
Anything that happens before CreateInstance is invisible to
the application. For that reason, I've left in the
environment variable logging.

8 years agoloader: use callbacks from CreateInstance
Courtney Goeltzenleuchter [Thu, 3 Dec 2015 20:45:51 +0000 (13:45 -0700)]
loader: use callbacks from CreateInstance

If an application links a VkDebugReportCreateInfo
structure to the InstanceCreateInfo structure the
loader will log the callback for the duration of
the CreateInstance call. This allows the app
to catch any loader issues detected at CreateInstance
time.

8 years agoloader: utils for managing debug report events
Courtney Goeltzenleuchter [Wed, 2 Dec 2015 22:29:33 +0000 (15:29 -0700)]
loader: utils for managing debug report events

Now need to create & destroy callbacks as part of
vkCreateInstance, so refactor debug_report entries
into API function and work function that can be
used from the loader.

Conflicts:
loader/debug_report.c

8 years agomisc: Update copyright statements
Courtney Goeltzenleuchter [Wed, 2 Dec 2015 21:53:22 +0000 (14:53 -0700)]
misc: Update copyright statements

8 years agoloader: Adjust internal naming to match API naming
Courtney Goeltzenleuchter [Wed, 2 Dec 2015 21:00:19 +0000 (14:00 -0700)]
loader: Adjust internal naming to match API naming

Now that we've settled on EnumerateInstance* and
EnumerateDevice* we can change the internal function
names in the loader that were global and physical_device
to instance and device to make it more clear what's
being used by the function.

8 years agocube: Update debug report support
Courtney Goeltzenleuchter [Tue, 1 Dec 2015 21:11:38 +0000 (14:11 -0700)]
cube: Update debug report support

Add break callback (it's been removed from the extension).
Grab function pointer for DebugReportMessageLUNARG.

8 years agolayers: Add support for DebugReportMessageLUNARG
Courtney Goeltzenleuchter [Tue, 1 Dec 2015 21:10:55 +0000 (14:10 -0700)]
layers: Add support for DebugReportMessageLUNARG

8 years agolayers: export debug_report extension
Courtney Goeltzenleuchter [Tue, 1 Dec 2015 21:08:28 +0000 (14:08 -0700)]
layers: export debug_report extension

Need the EnumerateInstanceExtensionProperties to report
support for the debug report extension as well as in
the json file because different platforms will use either
the json file (Windows & Linux) or the Enumerate call (Android).

8 years agolayers: declare support for DEBUG_REPORT extension
Courtney Goeltzenleuchter [Mon, 30 Nov 2015 19:14:06 +0000 (12:14 -0700)]
layers: declare support for DEBUG_REPORT extension

Have layers that support the debug_report extension
(all validation layers) include that extension in
it's extension list.

8 years agovkinfo: Clean up output formatting
Courtney Goeltzenleuchter [Tue, 1 Dec 2015 16:53:13 +0000 (09:53 -0700)]
vkinfo: Clean up output formatting

8 years agoloader: debug_report terminator functions use cast to get loader instance
Jon Ashburn [Wed, 16 Dec 2015 22:22:10 +0000 (15:22 -0700)]
loader: debug_report terminator functions use cast to get loader instance

8 years agodebug_report: Add DebugReportMessage function
Courtney Goeltzenleuchter [Mon, 30 Nov 2015 22:28:25 +0000 (15:28 -0700)]
debug_report: Add DebugReportMessage function

8 years agonulldrv: export device extension
Courtney Goeltzenleuchter [Mon, 30 Nov 2015 22:24:56 +0000 (15:24 -0700)]
nulldrv: export device extension

The device extension list was reporting the instance swapchain
extension. It needs to be the device version. Also renamed
the extension arrays to have names that make it easier to
see what they encompass.

8 years agodebug_report: make destroy have void return value
Courtney Goeltzenleuchter [Mon, 30 Nov 2015 22:22:41 +0000 (15:22 -0700)]
debug_report: make destroy have void return value

8 years agodebug_report: rename and update to use CreateInfo
Courtney Goeltzenleuchter [Mon, 30 Nov 2015 19:13:14 +0000 (12:13 -0700)]
debug_report: rename and update to use CreateInfo

8 years agodebug_report: Rename VkDbgMsgCallback object
Courtney Goeltzenleuchter [Wed, 25 Nov 2015 21:07:05 +0000 (14:07 -0700)]
debug_report: Rename VkDbgMsgCallback object

8 years agonulldrv: Update to latest extension names
Courtney Goeltzenleuchter [Wed, 2 Dec 2015 16:15:31 +0000 (09:15 -0700)]
nulldrv: Update to latest extension names

8 years agolayers: Remove validation errors for CmdBindPipeline during active render pass
Mark Lobodzinski [Thu, 17 Dec 2015 16:24:14 +0000 (09:24 -0700)]
layers: Remove validation errors for CmdBindPipeline during active render pass

CmdBindPipeline can be inside OR outside a render pass.

8 years agolayers: Fix find-first-set bitscan util
Mark Lobodzinski [Thu, 17 Dec 2015 00:47:28 +0000 (17:47 -0700)]
layers: Fix find-first-set bitscan util

On win32, was using leading-zero count instead of find-first-set.
Caused random failures on Windows release builds.

8 years agolayers: Work around Windows release build crash in cube
Mark Lobodzinski [Wed, 16 Dec 2015 21:25:22 +0000 (14:25 -0700)]
layers: Work around Windows release build crash in cube

DrawState validate_pipeline_shaders is doing something uncool.

8 years agoRemove FindPkgConfig from Windows build to stop error messages
Tony Barbour [Wed, 16 Dec 2015 21:57:33 +0000 (14:57 -0700)]
Remove FindPkgConfig from Windows build to stop error messages

8 years agolayers: LX235, Validate all Pipeline VBOs for CommandBuffers
Mark Lobodzinski [Mon, 14 Dec 2015 22:14:10 +0000 (15:14 -0700)]
layers: LX235, Validate all Pipeline VBOs for CommandBuffers

Validation was throwing errors if a CB had extra VBOs bound, and was not
checking each VBO binding explicitly.

Conflicts:
layers/draw_state.cpp
tests/layer_validation_tests.cpp

8 years agowsi: Do not enable Xlib support by default
Mark Lobodzinski [Tue, 15 Dec 2015 16:25:29 +0000 (09:25 -0700)]
wsi: Do not enable Xlib support by default

8 years agodemos: Fix build warning on Linux for tri
Jon Ashburn [Tue, 15 Dec 2015 19:45:33 +0000 (12:45 -0700)]
demos: Fix build warning on Linux for tri

8 years agocube and tri: change shader version numbers to 400
GregF [Tue, 15 Dec 2015 18:23:43 +0000 (11:23 -0700)]
cube and tri: change shader version numbers to 400

8 years agolayers: Remove extra increment in DrawState vkCmdNextSubpass
Tony Barbour [Tue, 15 Dec 2015 17:24:45 +0000 (10:24 -0700)]
layers: Remove extra increment in DrawState vkCmdNextSubpass

8 years agodemos: Fix cube for missing dbgBreakCallback which has been removed from loader
Jon Ashburn [Tue, 15 Dec 2015 15:47:46 +0000 (08:47 -0700)]
demos: Fix cube for missing dbgBreakCallback which has been removed from loader

8 years agodebug_report: Make pUserData always a const
Courtney Goeltzenleuchter [Mon, 30 Nov 2015 18:52:06 +0000 (11:52 -0700)]
debug_report: Make pUserData always a const

This prevents compiler warnings.

8 years agolayers: Add allocator to layer init functions
Courtney Goeltzenleuchter [Wed, 25 Nov 2015 21:31:49 +0000 (14:31 -0700)]
layers: Add allocator to layer init functions

Conflicts:
layers/shader_checker.cpp

8 years agoloader: Remove unused function
Courtney Goeltzenleuchter [Wed, 25 Nov 2015 21:35:26 +0000 (14:35 -0700)]
loader: Remove unused function

8 years agonulldrv: Add swapchain "support" to nulldrv
Courtney Goeltzenleuchter [Wed, 25 Nov 2015 20:52:54 +0000 (13:52 -0700)]
nulldrv: Add swapchain "support" to nulldrv

This allows us to use the null driver ICD in place of
a real ICD for loader & layer development.

8 years agoloader: Remove unused debug helper functions
Courtney Goeltzenleuchter [Wed, 25 Nov 2015 20:50:00 +0000 (13:50 -0700)]
loader: Remove unused debug helper functions

Helper functions weren't considered essential to the
debug_report extension and will be moved to a library.

8 years agolayers: Fix debug_report extension number
Jon Ashburn [Tue, 15 Dec 2015 14:59:20 +0000 (07:59 -0700)]
layers: Fix debug_report extension number

8 years agolayers: Rename VK_DEBUG_REPORT_EXTENSION enums
Courtney Goeltzenleuchter [Wed, 25 Nov 2015 20:40:37 +0000 (13:40 -0700)]
layers: Rename VK_DEBUG_REPORT_EXTENSION enums

8 years agolayers: Fix debugReport object type in draw_state
Jon Ashburn [Tue, 15 Dec 2015 16:07:26 +0000 (09:07 -0700)]
layers: Fix debugReport object type in draw_state

8 years agolayers: rename VkDbgObjectType
Courtney Goeltzenleuchter [Wed, 25 Nov 2015 18:38:54 +0000 (11:38 -0700)]
layers: rename VkDbgObjectType

VkDebugReportObjectTypeLUNARG fits the extension naming requirements

8 years agolayers: Rename DebugReport flags
Courtney Goeltzenleuchter [Wed, 25 Nov 2015 17:30:56 +0000 (10:30 -0700)]
layers: Rename DebugReport flags

Conflicts:
layers/mem_tracker.cpp

Conflicts:
layers/draw_state.cpp

8 years agovulkan: Changes for header version 211
Jon Ashburn [Mon, 14 Dec 2015 21:59:20 +0000 (14:59 -0700)]
vulkan: Changes for header version 211

Add anisotropyEnable to VkSamplerCreateInfo.
Add inheritedQueries to VkPhysicalDeviceFeatures

8 years agoSPV Toolchain: Pickup latest LunarGLASS fix
GregF [Mon, 14 Dec 2015 22:15:53 +0000 (15:15 -0700)]
SPV Toolchain: Pickup latest LunarGLASS fix

8 years agodemos: Update command pool flags for implicit resets in tri.c
Mark Lobodzinski [Mon, 14 Dec 2015 22:47:36 +0000 (15:47 -0700)]
demos: Update command pool flags for implicit resets in tri.c

8 years agolayers: Add DrawState checks for correct CmdBuffer reset
Tobin Ehlis [Mon, 14 Dec 2015 20:46:38 +0000 (13:46 -0700)]
layers: Add DrawState checks for correct CmdBuffer reset

Can only reset individual CmdBuffers if they are allocated from a pool that
included the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT. Also need to
intercept vkResetCommandPool() function and make sure that all individual
CmdBuffers allocated from that pool are reset when called. Finally, updated
naming of cmdBuffer states (RECORDING & RECORDED) to more closely match spec.

8 years agoloader: Fix physical device cast for enumerate properties trampoline code
Jon Ashburn [Mon, 14 Dec 2015 15:52:14 +0000 (08:52 -0700)]
loader: Fix physical device cast for enumerate properties trampoline code

Enumerate layer and extension properties don't always call down chain
so can't just cast physical device to the loader struct. Must search for it
in cases where a layer wrapped it.

8 years agodemos: Fix free queue so no use of it after free in vulkaninfo
Jon Ashburn [Sat, 12 Dec 2015 00:11:43 +0000 (17:11 -0700)]
demos: Fix free queue so no use of it after free in vulkaninfo

8 years agolayers: Updates to vk_validation_layer_details.md
tobine [Fri, 11 Dec 2015 18:41:32 +0000 (11:41 -0700)]
layers: Updates to vk_validation_layer_details.md

Remove a couple of tasks that have been completed and fix a couple typos.

8 years agowsi: Make WSI cases more consistent, fail if not set correctly
Mark Lobodzinski [Thu, 10 Dec 2015 23:25:21 +0000 (16:25 -0700)]
wsi: Make WSI cases more consistent, fail if not set correctly

Filled in build details for Mir, Wayland, etc.

8 years agoandroid: Update build to define android platform at build time
Michael Lentine [Wed, 9 Dec 2015 22:33:52 +0000 (14:33 -0800)]
android: Update build to define android platform at build time

8 years agoandroid: Change utils to a static lib for easier disto.
Michael Lentine [Tue, 8 Dec 2015 23:41:43 +0000 (15:41 -0800)]
android: Change utils to a static lib for easier disto.

8 years agoandroid: Fix android build.
Michael Lentine [Thu, 3 Dec 2015 22:33:09 +0000 (14:33 -0800)]
android: Fix android build.

Temporarily disable shader checker which now depends on glslang
Fix xcb guards and set the ifdef based on platform

8 years agoSPV toolchain: update for SDK 0.10.1
GregF [Fri, 11 Dec 2015 17:11:28 +0000 (10:11 -0700)]
SPV toolchain: update for SDK 0.10.1