platform/upstream/Vulkan-Tools.git
9 years agocmake: Specify -std=c++11
Adam Jackson [Tue, 23 Jun 2015 19:33:48 +0000 (15:33 -0400)]
cmake: Specify -std=c++11

gcc 5.1 will complain (and refuse to compile) if you use 'auto' in the
C++11 sense but haven't asked for C++11.

9 years agocmake: Don't check for installed glm, it's in-tree
Adam Jackson [Tue, 23 Jun 2015 19:41:13 +0000 (15:41 -0400)]
cmake: Don't check for installed glm, it's in-tree

9 years agoMinor SDK-0.2 fixes for "tri"
Piers Daniell [Thu, 16 Jul 2015 15:35:35 +0000 (09:35 -0600)]
Minor SDK-0.2 fixes for "tri"

Changes to "tri" are similar to the fixes for "cube":

1) WSI function were being called with an uninitialized pPlatformWindow.
Fixed by splitting demo_init_vk into two functions.

2) VkAttachmentViewCreateInfo.format wasn't being set.

3) VkShaderCreateInfo.pName wasn't being set.

4) demo->cmdPool was being leaked.

9 years agocube: Fill in pPlatformWindow after you have a window
Courtney Goeltzenleuchter [Wed, 15 Jul 2015 23:45:38 +0000 (17:45 -0600)]
cube: Fill in pPlatformWindow after you have a window

demo_init_vk(), which sets the surface_description.pPlatformWindow was
getting called before the window was created so surface_description.pPlatformWindow
was always NULL. I added a new demo_init_vk_wsi() which splits demo_init_vk()
in two so that the window is created before surface_description.pPlatformWindow is assigned.

9 years agocube: set VkAttachmentViewCreateInfo.format
Courtney Goeltzenleuchter [Wed, 15 Jul 2015 23:41:38 +0000 (17:41 -0600)]
cube: set VkAttachmentViewCreateInfo.format

9 years agocube: Keep track of queue_count in demo structure
Courtney Goeltzenleuchter [Wed, 15 Jul 2015 23:40:20 +0000 (17:40 -0600)]
cube: Keep track of queue_count in demo structure

Need to know the number of queues in multiple places so just
save it as part of the demo info data structure.

9 years agoloader: Switch to using layer manifest file info for layer extension info
Jon Ashburn [Thu, 16 Jul 2015 23:19:31 +0000 (17:19 -0600)]
loader: Switch to using layer manifest file info for layer extension info

Remove the direct queries for the layer extensions and properties.

9 years agolayers: In DrawState correctly return rasterSamples count for PSO
Tobin Ehlis [Mon, 13 Jul 2015 20:51:15 +0000 (14:51 -0600)]
layers: In DrawState correctly return rasterSamples count for PSO

9 years agovulkan: Updated LICENSE.txt with all known license information
Mark Lobodzinski [Thu, 16 Jul 2015 16:35:18 +0000 (10:35 -0600)]
vulkan: Updated LICENSE.txt with all known license information

9 years agoloader:Remove dead code involving layer library queries now in manifest file
Jon Ashburn [Thu, 16 Jul 2015 17:06:07 +0000 (11:06 -0600)]
loader:Remove dead code involving layer library queries now in manifest file

9 years agoloader: Update loader readme and add ICD/ layer discovery documentation
Jon Ashburn [Thu, 16 Jul 2015 16:54:55 +0000 (10:54 -0600)]
loader: Update loader readme and add ICD/ layer discovery documentation

9 years agoloader: Use GetInstanceProcAddr rather than dlsym for most ICD entrypoints
Jon Ashburn [Thu, 16 Jul 2015 16:17:29 +0000 (10:17 -0600)]
loader: Use GetInstanceProcAddr rather than dlsym for most ICD entrypoints

Conflicts:
loader/loader.c

9 years agoicd: Generate vkInstanceProcAddr with real entrypoints
Jon Ashburn [Thu, 16 Jul 2015 16:12:59 +0000 (10:12 -0600)]
icd: Generate vkInstanceProcAddr with real entrypoints

9 years agoloader: use VkDevice when initializing device table
Courtney Goeltzenleuchter [Thu, 16 Jul 2015 16:36:57 +0000 (10:36 -0600)]
loader: use VkDevice when initializing device table

Had ICD that actually checked the device parameter at GetProcAddr
and discovered we weren't using the device object.

9 years agodemos: Set size of uniform buffer in cube
Cody Northrop [Thu, 16 Jul 2015 16:29:32 +0000 (10:29 -0600)]
demos: Set size of uniform buffer in cube

9 years agodemos: Remove reference to undefined variable
Courtney Goeltzenleuchter [Wed, 15 Jul 2015 17:17:08 +0000 (11:17 -0600)]
demos: Remove reference to undefined variable

9 years agomisc: Create new glslang directory if needed
Courtney Goeltzenleuchter [Wed, 15 Jul 2015 17:15:37 +0000 (11:15 -0600)]
misc: Create new glslang directory if needed

glslang has now moved to git. The update script will
recreate the glslang folder if the existing one is
the svn version.

9 years agoUpdated BUILD.md to ref the specs on how the loader finds ICDs/layers.
Ian Elliott [Wed, 15 Jul 2015 15:46:10 +0000 (09:46 -0600)]
Updated BUILD.md to ref the specs on how the loader finds ICDs/layers.

Since specifications now exist, those specs are pointed to instead of
duplicated in this document.

9 years agobug-14282: remove const
Courtney Goeltzenleuchter [Tue, 14 Jul 2015 17:56:44 +0000 (11:56 -0600)]
bug-14282: remove const

9 years agoClean up warnings from release build
Tony Barbour [Tue, 14 Jul 2015 19:34:05 +0000 (13:34 -0600)]
Clean up warnings from release build

9 years agomem_tracker: Use device object for dispatch tables
Courtney Goeltzenleuchter [Tue, 14 Jul 2015 00:41:17 +0000 (18:41 -0600)]
mem_tracker: Use device object for dispatch tables

Need to use the device object to lookup the right dispatch
table now that WSI objects are non-dispatchable.

9 years agomem_tracker: Don't try to copy data if none available
Courtney Goeltzenleuchter [Tue, 14 Jul 2015 00:40:35 +0000 (18:40 -0600)]
mem_tracker: Don't try to copy data if none available

Check that call received data before trying to copy.

9 years agoWindows: Clean up more compiler errors and warnings
Tony Barbour [Mon, 13 Jul 2015 22:37:21 +0000 (16:37 -0600)]
Windows: Clean up more compiler errors and warnings

9 years agoWindows: more changes for windows compiler
Tony Barbour [Mon, 13 Jul 2015 21:28:47 +0000 (15:28 -0600)]
Windows: more changes for windows compiler

9 years agoWindows: more fixes for windows compile
Tony Barbour [Mon, 13 Jul 2015 21:06:12 +0000 (15:06 -0600)]
Windows: more fixes for windows compile

9 years agoWindows: More windows compilier fixes
Tony Barbour [Mon, 13 Jul 2015 19:37:24 +0000 (13:37 -0600)]
Windows: More windows compilier fixes

9 years agowindows: clean up windows compile issues
Tony Barbour [Sat, 11 Jul 2015 00:32:33 +0000 (18:32 -0600)]
windows:  clean up windows compile issues

Conflicts:
layers/object_track.h
vk-layer-generate.py

9 years agolayers: Remove dead code.
Jeremy Hayes [Mon, 13 Jul 2015 21:21:40 +0000 (15:21 -0600)]
layers: Remove dead code.

9 years agolayers: In MemTracker remove non-intercepted WSI funcs from GetProcAddr
Tobin Ehlis [Mon, 13 Jul 2015 20:21:59 +0000 (14:21 -0600)]
layers: In MemTracker remove non-intercepted WSI funcs from GetProcAddr

9 years agovulkan: Fix definition of LayerProperties
Courtney Goeltzenleuchter [Mon, 13 Jul 2015 20:01:15 +0000 (14:01 -0600)]
vulkan: Fix definition of LayerProperties

9 years agolayers: MemTracker fix to skip COLOR usage bit check for now
Tobin Ehlis [Mon, 13 Jul 2015 19:42:25 +0000 (13:42 -0600)]
layers: MemTracker fix to skip COLOR usage bit check for now

Now that Attachments are generalized and not color or DS specific, need to make sure we only check usage bits appropriate for a given image.

9 years agolayers: Fix some failing layer validation tests
Tobin Ehlis [Mon, 13 Jul 2015 19:14:24 +0000 (13:14 -0600)]
layers: Fix some failing layer validation tests

Correctly set stageCount to 1 for simple VS-only pipelines. Moved some DrawState code so state is only updated in event of no validation ERROR.

9 years agodemos: Hack to get cube working--only 2 swap chain images.
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.

9 years agoloader: Changes to use new WSI swapchain extensions.
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

9 years agoicd-common: Changes to use new WSI swapchain extensions.
Ian Elliott [Mon, 6 Jul 2015 20:34:08 +0000 (14:34 -0600)]
icd-common: Changes to use new WSI swapchain extensions.

9 years agolayers: INITIAL 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.

9 years agonulldrv: Changes to use new WSI swapchain extensions.
Ian Elliott [Mon, 6 Jul 2015 20:29:31 +0000 (14:29 -0600)]
nulldrv: Changes to use new WSI swapchain extensions.

9 years agodemos: 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.

9 years agoWSI: Add swapchain-extension headers (versions 12 & 40).
Ian Elliott [Fri, 19 Jun 2015 23:19:39 +0000 (17:19 -0600)]
WSI: Add swapchain-extension headers (versions 12 & 40).

9 years agomisc: Bump patch number to reflect diffs
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.

9 years agolayers: Add install step for layers rpath settings
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/.

9 years agodemos: Fix Linux compiler warnings in "vulkaninfo.c"
Ian Elliott [Mon, 13 Jul 2015 17:09:59 +0000 (11:09 -0600)]
demos: Fix Linux compiler warnings in "vulkaninfo.c"

9 years agomem_tracker: Provide ctor for embedded union (and name it so we can)
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>
9 years agovulkan: Remove unused STRUCTURE_TYPE enum
Courtney Goeltzenleuchter [Mon, 13 Jul 2015 15:23:51 +0000 (09:23 -0600)]
vulkan: Remove unused STRUCTURE_TYPE enum

9 years agov106: remove optional primitiveRestartIndex
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:42:02 +0000 (15:42 -0600)]
v106: remove optional primitiveRestartIndex

9 years agovulkan.h: Remove unused LAYER_CREATE_INFO type
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:31:57 +0000 (15:31 -0600)]
vulkan.h: Remove unused LAYER_CREATE_INFO type

9 years agov115: Remove pLinkConstBufferInfo
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:25:20 +0000 (15:25 -0600)]
v115: Remove pLinkConstBufferInfo

9 years agov131?: Remove ColorBlendAttachments->format
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:22:31 +0000 (15:22 -0600)]
v131?: Remove ColorBlendAttachments->format

9 years agov122?: Remove provoking vertex, now always last
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 21:08:32 +0000 (15:08 -0600)]
v122?: Remove provoking vertex, now always last

9 years agov106: Remove optional pointOrigin
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:53:14 +0000 (14:53 -0600)]
v106: Remove optional pointOrigin

9 years agov106: remove optional depthMode
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:49:41 +0000 (14:49 -0600)]
v106: remove optional depthMode

9 years agobug 14084: eliminate ERROR_INVALID_OBJECT_TYPE
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:45:38 +0000 (14:45 -0600)]
bug 14084: eliminate ERROR_INVALID_OBJECT_TYPE

9 years agov127: Use PFN_vkVoidFunction for GetProcAddr
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:35:22 +0000 (14:35 -0600)]
v127: Use PFN_vkVoidFunction for GetProcAddr

9 years agov115: Remove linkConstBufferCount
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:06:04 +0000 (14:06 -0600)]
v115: Remove linkConstBufferCount

9 years agov106: Remove optional multisampleEnable
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 20:00:58 +0000 (14:00 -0600)]
v106: Remove optional multisampleEnable

9 years agov106: Remove clipOrigin
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 19:54:31 +0000 (13:54 -0600)]
v106: Remove clipOrigin

9 years agov128: Remove maxInlineMemoryUpdateSize
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 19:42:28 +0000 (13:42 -0600)]
v128: Remove maxInlineMemoryUpdateSize

9 years agov133: eliminate version from extension properties
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 19:20:05 +0000 (13:20 -0600)]
v133: eliminate version from extension properties

9 years agov133: Update parameters on CmdPipelineBarrier
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 19:07:46 +0000 (13:07 -0600)]
v133: Update parameters on CmdPipelineBarrier

9 years agov133: Update parameter types on CmdWaitEvents
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 18:58:58 +0000 (12:58 -0600)]
v133: Update parameter types on CmdWaitEvents

9 years agov115: remove GetPhysicalDevicePerformance
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 18:52:09 +0000 (12:52 -0600)]
v115: remove GetPhysicalDevicePerformance

9 years agorename: GetPhysicalDeviceFormatInfo to GetPhysicalDeviceFormatProperties
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 18:40:29 +0000 (12:40 -0600)]
rename: GetPhysicalDeviceFormatInfo to GetPhysicalDeviceFormatProperties

9 years agovulkan: Updates to match upstream vulkan.h
Courtney Goeltzenleuchter [Thu, 9 Jul 2015 00:41:08 +0000 (18:41 -0600)]
vulkan: Updates to match upstream vulkan.h

9 years agovulkan: Switch to upstream header
Courtney Goeltzenleuchter [Sun, 12 Jul 2015 18:21:19 +0000 (12:21 -0600)]
vulkan: Switch to upstream header

9 years agovulkan.h: API changes for #13744 - sharing across queues
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>
9 years agotests: Integrate command pools into tests
Courtney Goeltzenleuchter [Sat, 11 Jul 2015 01:50:17 +0000 (19:50 -0600)]
tests: Integrate command pools into tests

9 years agodemos: Update for command pools
Cody Northrop [Fri, 10 Jul 2015 00:08:32 +0000 (18:08 -0600)]
demos: Update for command pools

9 years agoicd: Support for command pools
Cody Northrop [Fri, 10 Jul 2015 00:08:05 +0000 (18:08 -0600)]
icd: Support for command pools

9 years agolayers: Various layer fixes to get layer validation tests working with type safety...
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

9 years agonulldrv: Fix up compile issues for Windows
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 23:44:33 +0000 (17:44 -0600)]
nulldrv: Fix up compile issues for Windows

9 years agoloader: Fix MS compile warning
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 23:39:59 +0000 (17:39 -0600)]
loader: Fix MS compile warning

9 years agolayers: Fixup and reenable fs output validation in ShaderChecker
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>
9 years agobug-14184: Transient memory allocations
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 03:57:28 +0000 (21:57 -0600)]
bug-14184: Transient memory allocations

9 years agoBug 14224: Remove abbreviations on some API symbols
Tony Barbour [Fri, 10 Jul 2015 21:29:03 +0000 (15:29 -0600)]
Bug 14224: Remove abbreviations on some API symbols

9 years agomisc: Bump header version
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 22:58:42 +0000 (16:58 -0600)]
misc: Bump header version

9 years agoBug 14084: Get tests compiling and running
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.

9 years agoBug 14248: Add vkFreeDescriptorSets
Tony Barbour [Fri, 10 Jul 2015 16:50:45 +0000 (10:50 -0600)]
Bug 14248: Add vkFreeDescriptorSets

9 years agolayers: Get MemTracker compiling with type safety header change
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.

9 years agolayers: Get Generic layer to compile with type safety header changes
Tobin Ehlis [Tue, 7 Jul 2015 17:02:44 +0000 (11:02 -0600)]
layers: Get Generic layer to compile with type safety header changes

9 years agolayers: Update ShaderChecker for 14084
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>
9 years agoTODO: Disable non-working layers for now
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 01:04:04 +0000 (19:04 -0600)]
TODO: Disable non-working layers for now

9 years agoBug 14084 - Object Tracker, Image, Generic layers
Tony Barbour [Thu, 9 Jul 2015 23:31:46 +0000 (17:31 -0600)]
Bug 14084 - Object Tracker, Image, Generic layers

9 years agolayers: Threading layer type safety header changes
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.

9 years agolayers: Fix param checker compilation errors.
Jeremy Hayes [Thu, 9 Jul 2015 23:11:25 +0000 (17:11 -0600)]
layers: Fix param checker compilation errors.

9 years agolayers: Updated DrawState to work with type safety changes
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.

9 years agolayers: Layer updates to get helpers compiling with type safety changes
Tobin Ehlis [Mon, 6 Jul 2015 20:02:36 +0000 (14:02 -0600)]
layers: Layer updates to get helpers compiling with type safety changes

9 years agomisc: Enable only APIDump layer for now
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 20:36:45 +0000 (14:36 -0600)]
misc: Enable only APIDump layer for now

9 years agoBug 14084 - Improve type safety and remove polymorphism
Tony Barbour [Fri, 3 Jul 2015 16:33:54 +0000 (10:33 -0600)]
Bug 14084 - Improve type safety and remove polymorphism

9 years agobug 14084: Update test binding for type safety
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 18:57:49 +0000 (12:57 -0600)]
bug 14084: Update test binding for type safety

9 years agolayers: Updated DrawState to use new VkAttachmentView object
Tobin Ehlis [Fri, 10 Jul 2015 18:15:19 +0000 (12:15 -0600)]
layers: Updated DrawState to use new VkAttachmentView object

9 years agoupdate vulkan.h for multi-pass command buffers (V131, #14075)
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.

9 years agodemos: fix color attachment store op
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.

9 years agodemos: destroy VkRenderPass and VkFramebuffer with VkDevice
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.

9 years agodemos: remove an extraneous vkCmdBeginRenderPass()
Chia-I Wu [Wed, 8 Jul 2015 05:56:49 +0000 (13:56 +0800)]
demos: remove an extraneous vkCmdBeginRenderPass()

9 years agoloader: Exit loop as soon as we know the answer
Courtney Goeltzenleuchter [Fri, 10 Jul 2015 16:11:50 +0000 (10:11 -0600)]
loader: Exit loop as soon as we know the answer

9 years agovulkaninfo: Fix compiler complaint on windows
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.

9 years agoloader: use device extension list, not global
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.

9 years agoRevert "demos: use -o on glslangValidator to allow parallel make"
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.

9 years agodemos: use -o on glslangValidator to allow parallel make
GregF [Tue, 14 Jul 2015 17:35:45 +0000 (11:35 -0600)]
demos: use -o on glslangValidator to allow parallel make

9 years agodemos: Fix windows compile error in vulkaninfo.c
David Pinedo [Fri, 10 Jul 2015 22:37:31 +0000 (16:37 -0600)]
demos: Fix windows compile error in vulkaninfo.c