platform/upstream/Vulkan-Tools.git
8 years agolayers: Remove vestigial bits of old derivatives API from DS
Chris Forbes [Thu, 3 Mar 2016 22:19:52 +0000 (11:19 +1300)]
layers: Remove vestigial bits of old derivatives API from DS

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Validate pipeline derivative requirements in DrawState
Chris Forbes [Thu, 3 Mar 2016 21:40:09 +0000 (10:40 +1300)]
layers: Validate pipeline derivative requirements in DrawState

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agoMerge pull request #80 from lentinem/mlentine-buildfix
tobine [Sat, 5 Mar 2016 01:33:45 +0000 (18:33 -0700)]
Merge pull request #80 from lentinem/mlentine-buildfix

Remove unused var.

8 years agoRemove unused var.
Michael Lentine [Fri, 4 Mar 2016 23:11:00 +0000 (17:11 -0600)]
Remove unused var.

8 years agolayers: LX423 Set string var with handle value before using.
Karl Schultz [Fri, 4 Mar 2016 22:20:27 +0000 (15:20 -0700)]
layers: LX423 Set string var with handle value before using.

Change-Id: I50e7a2778bd14ff4e0b8fc3f2fcb201faefce548

8 years agoadd generated files for smoke demo.
Karl Schultz [Fri, 4 Mar 2016 20:27:05 +0000 (13:27 -0700)]
add generated files for smoke demo.

Change-Id: I7169419113c74fc7e1e16c827f6553cf86abe989

8 years agovalidation: Promote validation warnings to errors
Tony Barbour [Wed, 2 Mar 2016 22:12:01 +0000 (15:12 -0700)]
validation: Promote validation warnings to errors

Change-Id: Ib527e646aabbd0aecbadf9071ca9e271a8729735

8 years agolayers: LX401, Handle VK_WHOLE_SIZE in flush/invalidateMappedMemoryRanges
Mark Lobodzinski [Thu, 3 Mar 2016 21:50:52 +0000 (14:50 -0700)]
layers: LX401, Handle VK_WHOLE_SIZE in flush/invalidateMappedMemoryRanges

Mem_tracker was ignoring this setting and emitting invalid error messages.

Change-Id: Id26a5e0bdf3f5c907356a384b9febbae1e885c27

8 years agolayers: LVLGH47 DS Include swapchain images in search
Karl Schultz [Fri, 4 Mar 2016 15:59:07 +0000 (08:59 -0700)]
layers: LVLGH47 DS Include swapchain images in search

Change-Id: I08941af0153c123d5f552bae8dc02023dc4f9965

8 years agoloader: gllavl#46 add check for device extensions
Jeremy Hayes [Thu, 3 Mar 2016 23:03:03 +0000 (16:03 -0700)]
loader: gllavl#46 add check for device extensions

Make GetInstanceProcAddr check layers for device extensions.

Change-Id: Ib23c5d42d11be415e9a6acd3b8427d0e474087a5

8 years agoMerge pull request #59 from chrisforbes/ds-more-fixes
tobine [Fri, 4 Mar 2016 13:59:59 +0000 (06:59 -0700)]
Merge pull request #59 from chrisforbes/ds-more-fixes

Miscellaneous fixes for DrawState layer

8 years agowinrtinstaller: sign uninstaller
David Pinedo [Fri, 4 Mar 2016 04:25:45 +0000 (21:25 -0700)]
winrtinstaller: sign uninstaller

8 years agoRemove generated files from source control
Tony Barbour [Thu, 3 Mar 2016 22:32:58 +0000 (15:32 -0700)]
Remove generated files from source control

8 years agolayers: GHPR43, Add tracking of total number of levels and layers for images
Chris Forbes [Fri, 26 Feb 2016 05:04:30 +0000 (18:04 +1300)]
layers: GHPR43, Add tracking of total number of levels and layers for images

8 years agobuild: LVLPR65, Fix android extensions support in unique_objects
Michael Lentine [Wed, 2 Mar 2016 23:28:55 +0000 (17:28 -0600)]
build: LVLPR65, Fix android extensions support in unique_objects

8 years agoMerge pull request #42 from chrisforbes/push-constants
tobine [Thu, 3 Mar 2016 20:00:01 +0000 (13:00 -0700)]
Merge pull request #42 from chrisforbes/push-constants

Validation of push constants

8 years agolayers: validate push constant ranges accessed by shader
Chris Forbes [Fri, 26 Feb 2016 03:55:34 +0000 (16:55 +1300)]
layers: validate push constant ranges accessed by shader

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: add more shader checker error codes
Chris Forbes [Fri, 26 Feb 2016 03:55:12 +0000 (16:55 +1300)]
layers: add more shader checker error codes

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: move get_shader_stage_id up a bit
Chris Forbes [Fri, 26 Feb 2016 03:54:29 +0000 (16:54 +1300)]
layers: move get_shader_stage_id up a bit

We're about to need this in another place too

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: extract helper for getting to block/struct type
Chris Forbes [Fri, 26 Feb 2016 03:53:51 +0000 (16:53 +1300)]
layers: extract helper for getting to block/struct type

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Add push constant storage class to stringify support
Chris Forbes [Fri, 26 Feb 2016 01:52:55 +0000 (14:52 +1300)]
layers: Add push constant storage class to stringify support

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Remove nonsense `sinterface` param from
Chris Forbes [Fri, 26 Feb 2016 01:51:25 +0000 (14:51 +1300)]
layers: Remove nonsense `sinterface` param from
collect_interface_by_descriptor_slot

This was only used to produce a misleading error message.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Add push constant validation to draw_state
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.

8 years agowinrtinstaller: Don't create a menu item for each version of RT installed
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

8 years agowinrtinsaller: change comment
David Pinedo [Thu, 3 Mar 2016 18:57:41 +0000 (11:57 -0700)]
winrtinsaller: change comment

8 years agomisc: Remove lunarg_debug_marker extension
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.

8 years agolayers: Allow use of QUEUE_FAMILY_IGNORED for BufferMemoryBarriers
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.

8 years agolayers: add missing error check
Jeremy Hayes [Thu, 3 Mar 2016 00:27:58 +0000 (17:27 -0700)]
layers: add missing error check

Change-Id: I18e36f8007d6555a152ac4e0632e2d38a03352be

8 years agoloader: Update documentation to remove editing comments.
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.

8 years agolayers: fix imageLayout bug
Jeremy Hayes [Wed, 2 Mar 2016 23:48:17 +0000 (16:48 -0700)]
layers: fix imageLayout bug

8 years agolayers: Fix false positive on initialLayout in image layer
Tony Barbour [Wed, 2 Mar 2016 23:22:40 +0000 (16:22 -0700)]
layers: Fix false positive on initialLayout in image layer

8 years agoloader: ghlvl 33, ghlvl 34 Fix aliasing of VkPhysicalDevice
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.

8 years agoLX #410 - Use ${PYTHON_EXECUTABLE} for PYTHON_CMD
Tony Barbour [Tue, 1 Mar 2016 23:40:39 +0000 (16:40 -0700)]
LX #410 - Use ${PYTHON_EXECUTABLE} for PYTHON_CMD

8 years agosmoke: use $<TARGET_FILE> instead of LOCATION prop
Tony Barbour [Tue, 1 Mar 2016 23:08:41 +0000 (16:08 -0700)]
smoke: use $<TARGET_FILE> instead of LOCATION prop

8 years agolayers: DS: populate features correctly
Chris Forbes [Wed, 2 Mar 2016 04:21:08 +0000 (17:21 +1300)]
layers: DS: populate features correctly

- Remove the redundant first fetching of the device features. This was
  always clobbered.
- Treat pEnabledFeatures==NULL as disabling all features, as per
  30.1 of the spec.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: gllavl#78 validate base pipeline
Jeremy Hayes [Wed, 2 Mar 2016 00:51:54 +0000 (17:51 -0700)]
layers: gllavl#78 validate base pipeline

Change-Id: I08313295ac545652aca2060744b55274ed3cd4ca

8 years agolayers: gllavl#77 validate layout during clear
Jeremy Hayes [Tue, 1 Mar 2016 23:51:02 +0000 (16:51 -0700)]
layers: gllavl#77 validate layout during clear

Change-Id: I427cd1fcc6ecf115dbaf521387a909f117c13d07

8 years agolayers: gllavl#76 validate initialLayout
Jeremy Hayes [Tue, 1 Mar 2016 21:01:45 +0000 (14:01 -0700)]
layers: gllavl#76 validate initialLayout

Change-Id: Iede6dcf3bc83a5663b80b62c3239ef54bc74278a

8 years agolayers: Separate some variables
Chris Forbes [Tue, 1 Mar 2016 20:45:13 +0000 (09:45 +1300)]
layers: Separate some variables

Don't abuse maxInputAttachmentCount in the second loop which has nothing
to do with input attachments.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
8 years agolayers: Update QueueFamilyIndex validation
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.

8 years agoloader: refactor EnumerateDevice*Properties terminate/trampoline code
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.

8 years agolayers: GH LVL#49, Updated layer docs/README for new layers
Mark Lobodzinski [Mon, 29 Feb 2016 18:49:51 +0000 (11:49 -0700)]
layers: GH LVL#49, Updated layer docs/README for new layers

8 years agolayers: GL107, Validate queueFamilyIndices for CreateSwapchain
Mark Lobodzinski [Thu, 25 Feb 2016 20:56:57 +0000 (13:56 -0700)]
layers: GL107, Validate queueFamilyIndices for CreateSwapchain

8 years agolayers: GL207, Validate queue_family_index
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

8 years agolayers: LX322, Track semaphore state acroos QueueBindSparse calls
Mark Lobodzinski [Thu, 25 Feb 2016 17:54:31 +0000 (10:54 -0700)]
layers: LX322, Track semaphore state acroos QueueBindSparse calls

8 years agobuild: GH PR17, Remove unused displayserver ENV settings
Mark Lobodzinski [Mon, 29 Feb 2016 15:35:38 +0000 (08:35 -0700)]
build: GH PR17, Remove unused displayserver ENV settings

8 years agobuild: GH PR17, Add Android WSI info to Windows version of codegen script
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

8 years agolayers: GH PR17, Add support for building for Android on Windows
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.

8 years agocmake: GH PR17, Improve error detection for displayserver selection
Mark Lobodzinski [Fri, 26 Feb 2016 01:14:56 +0000 (18:14 -0700)]
cmake: GH PR17, Improve error detection for displayserver selection

8 years agoloader: GH PR17, Add windows support for new displayserver types
Mark Lobodzinski [Wed, 24 Feb 2016 22:04:11 +0000 (15:04 -0700)]
loader: GH PR17, Add windows support for new displayserver types

8 years agocmake: GH PR17, Fix vulkan.py code generation script for Windows builds
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

8 years agocmake: GH PR17, Add DisplayServer variables for the WSI interfaces
Mun, Gwan-gyeong [Mon, 22 Feb 2016 11:32:17 +0000 (20:32 +0900)]
cmake: GH PR17, Add DisplayServer variables for the WSI interfaces

8 years agoBuild: GH PR17, Add Android WSI info to android codegen script
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

8 years agocmake: GH PR17, Add WSI options to loader codegen script
Mun, Gwan-gyeong [Mon, 22 Feb 2016 11:27:31 +0000 (20:27 +0900)]
cmake: GH PR17, Add WSI options to loader codegen script

8 years agolayers: GH PR17, Add WSI argument passing to vk-generate.py
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

8 years agocmake: GH PR17, Pass WSI arg to layer generating scripts
Mun, Gwan-gyeong [Mon, 22 Feb 2016 02:02:58 +0000 (11:02 +0900)]
cmake: GH PR17, Pass WSI arg to layer generating scripts

8 years agolayers: GH PR17, Add Wayland, Xlib, Android & Mir extensions to codegen 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

8 years agoloader: GH PR17, Fix typo in comment
Mun, Gwan-gyeong [Mon, 22 Feb 2016 00:33:58 +0000 (09:33 +0900)]
loader: GH PR17, Fix typo in comment

8 years agodocs: Add CONTRIBUTING.md
Karl Schultz [Fri, 26 Feb 2016 22:42:57 +0000 (15:42 -0700)]
docs: Add CONTRIBUTING.md

8 years agodemos: Add Hologram snapshot as Smoke test/demo
Tony Barbour [Thu, 25 Feb 2016 22:44:10 +0000 (15:44 -0700)]
demos: Add Hologram snapshot as Smoke test/demo

8 years agoloader: Better delineate trampoline and terminator functions
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.

8 years agolayers: Fix compliation error in draw_state
Jon Ashburn [Fri, 26 Feb 2016 17:55:14 +0000 (10:55 -0700)]
layers: Fix compliation error in draw_state

8 years agoandroid: Drop layer validation tests for now
Cody Northrop [Wed, 24 Feb 2016 21:44:39 +0000 (14:44 -0700)]
android: Drop layer validation tests for now

8 years agowindows: Add android-generate.bat
Cody Northrop [Wed, 24 Feb 2016 19:37:37 +0000 (12:37 -0700)]
windows: Add android-generate.bat

8 years agolayers: remove unused file
Courtney Goeltzenleuchter [Sat, 20 Feb 2016 23:35:23 +0000 (16:35 -0700)]
layers: remove unused file

8 years agolayers: Fix file permissions
Courtney Goeltzenleuchter [Sat, 20 Feb 2016 23:34:18 +0000 (16:34 -0700)]
layers: Fix file permissions

8 years agolayers: Fix clang warning
Courtney Goeltzenleuchter [Sat, 20 Feb 2016 23:20:48 +0000 (16:20 -0700)]
layers: Fix clang warning

8 years agolayers: Fix typo in vk_validation_layer_details.md
Ian Elliott [Fri, 19 Feb 2016 22:55:15 +0000 (15:55 -0700)]
layers: Fix typo in vk_validation_layer_details.md

8 years agolayers: Validate image barrier in draw_state
Michael Lentine [Fri, 12 Feb 2016 04:10:08 +0000 (22:10 -0600)]
layers: Validate image barrier in draw_state

8 years agolayers: Fix descriptor resource tracking in mem_tracker
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.

8 years agolayers: draw_state validates VkPipelineColorBlendStateCreateInfo
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.

8 years agoDocs: GH39, Update BUILD.md for directions on installing python lxml module
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

8 years agodocs: Update BUILD.md
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.

8 years agoUse API Version 1.0.0 instead of using VK_API_VERSION for tests/demos
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

8 years agolayers: Add component awareness to SC interface matching
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>
8 years agoloader: Fix MSVS warnings
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

8 years agolayers: Fixed markStoreImagesAndBuffersAsWritten() in mem_tracker
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.

8 years agoloader: Update doc to add the Linux search path
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

8 years agoloader: Add example code
Courtney Goeltzenleuchter [Mon, 15 Feb 2016 22:05:16 +0000 (15:05 -0700)]
loader: Add example code

8 years agoloader: doc cleanup
Courtney Goeltzenleuchter [Mon, 15 Feb 2016 22:07:54 +0000 (15:07 -0700)]
loader: doc cleanup

8 years agoloader: 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

8 years agolayers: Make layer option names more consistent and update docs
Mark Lobodzinski [Tue, 23 Feb 2016 16:58:39 +0000 (09:58 -0700)]
layers: Make layer option names more consistent and update docs

8 years agoCheck boolean values in vkCreateSampler
rdb [Sun, 21 Feb 2016 01:14:18 +0000 (02:14 +0100)]
Check boolean values in vkCreateSampler

8 years agodemos: Fix vulkaninfo on win32 to use existing console
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.

8 years agodocs: fix bad link in layers/README.md
Karl Schultz [Wed, 24 Feb 2016 17:57:40 +0000 (10:57 -0700)]
docs: fix bad link in layers/README.md

8 years agolayers: Added TODO in drawstate for Khronos-github issue #30
Mark Lobodzinski [Wed, 24 Feb 2016 16:52:53 +0000 (09:52 -0700)]
layers: Added TODO in drawstate for Khronos-github issue #30

8 years agolayers: draw_state VK_WHOLE_SIZE in barriers
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.

8 years agolayers: Allow draw_state layout mismatch with UNDEFINED
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.

8 years agolayers: Fix memory leak in mem_tracker
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.

8 years agolayers: Remove unnecessary null pointer checks
Eric Engestrom [Sun, 21 Feb 2016 19:58:09 +0000 (19:58 +0000)]
layers: Remove unnecessary null pointer checks

Fixes GitHub Issue #6

8 years agolayers: LX232, Removed invalid object_tracker QueueBindSparse error message
Mark Lobodzinski [Mon, 22 Feb 2016 20:59:30 +0000 (13:59 -0700)]
layers: LX232, Removed invalid object_tracker QueueBindSparse error message

8 years agolayers: MR247, Snap start and end to page to compare for mem_tracker
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

8 years agoloader: Fix typos, spelling, grammar in loader interface doc
Jeff Juliano [Wed, 17 Feb 2016 22:25:42 +0000 (17:25 -0500)]
loader: Fix typos, spelling, grammar in loader interface doc

8 years agobuild: Remove LunarGLASS from Win update ext sources.
Karl Schultz [Mon, 22 Feb 2016 16:57:14 +0000 (09:57 -0700)]
build: Remove LunarGLASS from Win update ext sources.

8 years agodemos: Properly destroy DebugReportCallback
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.

8 years agoUpdate build info to reflect ICD moving to VulkanTools
Karl Schultz [Mon, 22 Feb 2016 16:15:45 +0000 (09:15 -0700)]
Update build info to reflect ICD moving to VulkanTools

8 years agodemos: Fix drawstate transition errors in tri.
Mark Lobodzinski [Mon, 22 Feb 2016 15:57:55 +0000 (08:57 -0700)]
demos: Fix drawstate transition errors in tri.

8 years agoBuild: Remove LunarGLASS from update_external_sources.sh
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.

8 years agoglslang: Update revision to pick up recent fixes
Karl Schultz [Mon, 22 Feb 2016 15:29:42 +0000 (08:29 -0700)]
glslang: Update revision to pick up recent fixes

8 years agoloader: Fix Wayland support
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