platform/upstream/Vulkan-Tools.git
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

8 years agolayers: LX234, Fix memory validation for VK_WHOLE_SIZE in memory ranges
Mark Lobodzinski [Fri, 11 Dec 2015 21:55:11 +0000 (14:55 -0700)]
layers: LX234, Fix memory validation for VK_WHOLE_SIZE in memory ranges

8 years agolayers: LX232, Add contstructor for DrawState struct
Mark Lobodzinski [Fri, 11 Dec 2015 18:56:07 +0000 (11:56 -0700)]
layers: LX232, Add contstructor for DrawState struct

PIPELINE_NODE was getting treated as POD with memcpy/memsets.

8 years agolayers: LX231, Fix DeviceLimits windows JSON file
Mark Lobodzinski [Fri, 11 Dec 2015 18:23:07 +0000 (11:23 -0700)]
layers: LX231, Fix DeviceLimits windows JSON file

8 years agolayers: LX230, Complete initialization of MEM_OBJ_INFO structure
Mark Lobodzinski [Fri, 11 Dec 2015 18:17:49 +0000 (11:17 -0700)]
layers: LX230, Complete initialization of MEM_OBJ_INFO structure

Fields added to MemTracker struct were not initialized

8 years agolayers: LX229, Fix swapchain layer imageArrayLayers caps check
Mark Lobodzinski [Fri, 11 Dec 2015 18:05:33 +0000 (11:05 -0700)]
layers: LX229, Fix swapchain layer imageArrayLayers caps check

8 years agoloader: Fix bug where dynamic dispatch for layer dev exts needs to come later
Jon Ashburn [Fri, 11 Dec 2015 17:45:00 +0000 (10:45 -0700)]
loader: Fix bug where dynamic dispatch for layer dev exts needs to come later

GetDeviceProcAddr dynamic dispatch init was happening too soon before layer
device extension was enabled.  Fix it.

8 years agoloader: In CreateDevice trampoline code allow wrapped PhysicalDevice objects
Jon Ashburn [Fri, 11 Dec 2015 16:41:34 +0000 (09:41 -0700)]
loader: In CreateDevice trampoline code allow wrapped PhysicalDevice objects

It was assuming object was not wrapped. Now look up object in instance structure
based on dispatch table pointer.

8 years agoAdd an 'all' debug flag
Michael Worcester [Thu, 10 Dec 2015 18:06:24 +0000 (18:06 +0000)]
Add an 'all' debug flag

8 years agolayers: Some debug_marker fixes for draw state
Jon Ashburn [Fri, 11 Dec 2015 02:12:21 +0000 (19:12 -0700)]
layers: Some debug_marker fixes for draw state

8 years agolayers: Add device extension entrypoints to JSON bug #15012
Jon Ashburn [Fri, 11 Dec 2015 01:20:52 +0000 (18:20 -0700)]
layers:  Add device extension entrypoints to JSON bug #15012

8 years agoloader: Add support for device extension entrypoints in layer JSON files
Jon Ashburn [Fri, 11 Dec 2015 01:17:34 +0000 (18:17 -0700)]
loader: Add support for device extension entrypoints in layer JSON files

Bugzilla #15012

8 years agoloader: Convert ext list helper functions to generic form
Jon Ashburn [Thu, 10 Dec 2015 15:51:10 +0000 (08:51 -0700)]
loader: Convert ext list helper functions to generic form

This allows future changes where the device and instance ext lists are different
types.

8 years agoFix crash: pApplicationInfo is not mandatory
BogDan Vatra [Thu, 10 Dec 2015 07:35:08 +0000 (09:35 +0200)]
Fix crash: pApplicationInfo is not mandatory

8 years agonulldrv: Create icd json file for nulldrv
Courtney Goeltzenleuchter [Thu, 19 Nov 2015 22:19:56 +0000 (15:19 -0700)]
nulldrv: Create icd json file for nulldrv

8 years agonulldrv: Add json for null driver
Courtney Goeltzenleuchter [Mon, 30 Nov 2015 19:16:05 +0000 (12:16 -0700)]
nulldrv: Add json for null driver

The null driver is useful for testing code changes in
layers and the loader that don't depend on a real ICD
so add a json file to make it easier to use.

8 years agomisc: Update dependencies
Courtney Goeltzenleuchter [Tue, 17 Nov 2015 20:17:12 +0000 (13:17 -0700)]
misc: Update dependencies

8 years agodemos: Fix bug in tri so it uses a realloc callback since it uses alloc callback
Jon Ashburn [Tue, 8 Dec 2015 23:36:22 +0000 (16:36 -0700)]
demos: Fix bug in tri so it uses a realloc  callback since it uses alloc callback

8 years agolayers: LX222, suppress warning on partial CmdClearAttachment calls
Mark Lobodzinski [Tue, 8 Dec 2015 20:47:14 +0000 (13:47 -0700)]
layers: LX222, suppress warning on partial CmdClearAttachment calls

Drawstate will warn if this call is made in a renderpass BEFORE making a draw
call. However, this is OK if only a subset of the attachment is being cleared.

8 years agoLayers: changed one more doc file for new layer names
David Pinedo [Tue, 8 Dec 2015 18:52:30 +0000 (11:52 -0700)]
Layers: changed one more doc file for new layer names

8 years agoLoader doc: Modifed WindowsICDs.txt
David Pinedo [Tue, 8 Dec 2015 00:49:43 +0000 (17:49 -0700)]
Loader doc: Modifed WindowsICDs.txt

8 years agolayers: LX223, Properly handle NULL pipelineCache in pipeline create routines
Mark Lobodzinski [Mon, 7 Dec 2015 22:55:11 +0000 (15:55 -0700)]
layers: LX223, Properly handle NULL pipelineCache in pipeline create routines

ObjectTracker was choking on null compute pipeline caches. Disabled validation check
on null pipelineCaches for ONLY Create[Compute|Graphics]Pipelines APIs.

8 years agolayers: Wrap up windows/test issues with DrawState/ShaderChecker merge
Mark Lobodzinski [Fri, 4 Dec 2015 17:11:56 +0000 (10:11 -0700)]
layers: Wrap up windows/test issues with DrawState/ShaderChecker merge

8 years agolayers: MR77, Add draw-time checks for descriptorSet compatibility
Tobin Ehlis [Thu, 3 Dec 2015 16:40:56 +0000 (09:40 -0700)]
layers: MR77, Add draw-time checks for descriptorSet compatibility

When PSO is created, gather the group of sets that are actually used by that PSO.
Then, at Draw time, verify that for each set used by the bound PSO, there is a
corresponding valid descriptorSet bound which also matches the associated
setLayout from the PSO's pipelineLayout. Added two more tests to the
DescriptorSetCompatibility test case to verify that these checks correctly fire.

8 years agolayers: MR75, Smart Merge of DrawState and ShaderChecker into DrawState layer
Tobin Ehlis [Wed, 2 Dec 2015 20:53:34 +0000 (13:53 -0700)]
layers: MR75, Smart Merge of DrawState and ShaderChecker into DrawState layer

Cleaned up the merge to share data structs. Both layers had maps of descriptorSetLayouts,
pipelineLayouts and renderPasses so merged those into single map for each.

8 years agolayers: MR75, Merge DrawState and ShaderChecker into DrawState layer
Tobin Ehlis [Tue, 1 Dec 2015 16:48:58 +0000 (09:48 -0700)]
layers: MR75, Merge DrawState and ShaderChecker into DrawState layer

This is the initial "dumb" merge where a few data structures are now duplicated
within DrawState. This is intentional to simplify the transition and a follow-on
commit will fix these inefficiencies.

Conflicts:
layers/draw_state.cpp

8 years agotests: MR72, Add tests to verify validation layout compatibility checks
Tobin Ehlis [Tue, 1 Dec 2015 16:57:09 +0000 (09:57 -0700)]
tests: MR72, Add tests to verify validation layout compatibility checks

Conflicts:
layers/draw_state.cpp

8 years agoMake sure all createInfo is used creating instance
Tony Barbour [Fri, 4 Dec 2015 20:24:39 +0000 (13:24 -0700)]
Make sure all createInfo is used creating instance

8 years agoFixes, that build is possible with Xlib configuration.
FslNopper [Tue, 1 Dec 2015 12:17:34 +0000 (13:17 +0100)]
Fixes, that build is possible with Xlib configuration.

8 years agomisc: remove unneeded stdint.h and stdbool.h
Courtney Goeltzenleuchter [Thu, 3 Dec 2015 17:47:42 +0000 (10:47 -0700)]
misc: remove unneeded stdint.h and stdbool.h

All the necessary platform defines/includes are now part of
vk_platform.h, so don't need them in vk_icd.h

8 years agolayers: Reenable memory barrier validation
Mark Lobodzinski [Thu, 3 Dec 2015 22:42:32 +0000 (15:42 -0700)]
layers: Reenable memory barrier validation

8 years agolayers: Fix WSI-related build warning in APIDump
Mark Lobodzinski [Wed, 2 Dec 2015 23:12:08 +0000 (16:12 -0700)]
layers: Fix WSI-related build warning in APIDump

Xcb parameter was uint32_t, interpreted as void*.

8 years agodemos: Fix ObjectTracker error in cube demo
Mark Lobodzinski [Wed, 2 Dec 2015 20:26:07 +0000 (13:26 -0700)]
demos: Fix ObjectTracker error in cube demo

8 years agodemos: Update vulkaninfo so it prints a single number for layer version
Jon Ashburn [Wed, 2 Dec 2015 14:57:09 +0000 (07:57 -0700)]
demos: Update vulkaninfo so it prints a single number for layer version

8 years agoDoc: change api_version and layer names in documentation files
David Pinedo [Wed, 2 Dec 2015 00:25:01 +0000 (17:25 -0700)]
Doc: change api_version and layer names in documentation files

8 years agoloader: Fix layer library_path bug
Jon Ashburn [Wed, 2 Dec 2015 00:11:02 +0000 (17:11 -0700)]
loader: Fix layer library_path  bug

8 years agotoolchain: Add option to only build glslang
Cody Northrop [Mon, 30 Nov 2015 20:40:50 +0000 (13:40 -0700)]
toolchain: Add option to only build glslang

New usage:
    update_external_sources.sh -g
or:
    update_external_sources.sh --glslang-only

Building LunarGLASS by default takes a long time on systems that don't
need it.

8 years agoloader: Add initialization of loader dispatch table for wsi device extensions
Jon Ashburn [Tue, 1 Dec 2015 00:21:25 +0000 (17:21 -0700)]
loader: Add initialization of loader dispatch table for wsi device extensions

Since we had trampoline code for these, layers were getting skipped when called
thru the trampoline code.

8 years agolayers: Disable image layout transition validation in DrawState
Mark Lobodzinski [Mon, 30 Nov 2015 23:48:53 +0000 (16:48 -0700)]
layers: Disable image layout transition validation in DrawState

Caused too many invalid failure messages

8 years agolayers: Fix swapchain layer errors
Mark Lobodzinski [Fri, 27 Nov 2015 22:23:23 +0000 (15:23 -0700)]
layers: Fix swapchain layer errors

Part of bringing WSI to header version 210

8 years agoloader: Fix WSI compilation error if not XCB
Jon Ashburn [Mon, 30 Nov 2015 15:23:10 +0000 (08:23 -0700)]
loader: Fix  WSI compilation error if not XCB

8 years agoloader: Add documentation fo loader handling of VK_surface_*KHR extensions.
Jon Ashburn [Sat, 28 Nov 2015 00:57:12 +0000 (17:57 -0700)]
loader: Add documentation fo loader handling of VK_surface_*KHR extensions.

Document the special handling og vkSurfaceKHR objects.

8 years agowsi: Various fixes and Windows build issues
Mark Lobodzinski [Thu, 26 Nov 2015 17:59:58 +0000 (10:59 -0700)]
wsi: Various fixes and Windows build issues

8 years agoloader: Add terminator functions for Create*SurfaceKHR functions
Jon Ashburn [Thu, 26 Nov 2015 00:55:49 +0000 (17:55 -0700)]
loader: Add terminator functions for Create*SurfaceKHR functions

These need to call down the chain for layer intercept.

Also remove DestroySurfaceKHR from ICD table.

8 years agovktrace: Renable trace/replay builds by default
Mark Lobodzinski [Wed, 25 Nov 2015 23:13:36 +0000 (16:13 -0700)]
vktrace: Renable trace/replay builds by default

8 years agoloader: Convert vkDestroySurfaceKHR() to have a terminator.
Ian Elliott [Wed, 25 Nov 2015 21:43:02 +0000 (14:43 -0700)]
loader: Convert vkDestroySurfaceKHR() to have a terminator.

8 years agowsi: Moved definition of CreateXxxSurface extension to CMakefile
Mark Lobodzinski [Wed, 25 Nov 2015 20:26:15 +0000 (13:26 -0700)]
wsi: Moved definition of CreateXxxSurface extension to CMakefile

Removed component-specific definitions