platform/upstream/Vulkan-Tools.git
9 years agolayers: Remove add_dependencies of .def files
Mike Stroyan [Wed, 12 Aug 2015 21:22:04 +0000 (15:22 -0600)]
layers: Remove add_dependencies of .def files

The generated .def files should not be listed with add_dependencies.

9 years agolayers: Remove active flags with removed callbacks
Mike Stroyan [Mon, 10 Aug 2015 22:14:18 +0000 (16:14 -0600)]
layers: Remove active flags with removed callbacks

layer_destroy_msg_callback was including flags from just removed callbacks.

9 years agodemos: Updated vulkaninfo for new features/limits entries
Mark Lobodzinski [Fri, 14 Aug 2015 16:30:30 +0000 (10:30 -0600)]
demos: Updated vulkaninfo for new features/limits entries

Also cleaned up output

9 years agolayers: Fix windows build for multi layer .def file
Jon Ashburn [Thu, 13 Aug 2015 21:15:07 +0000 (14:15 -0700)]
layers:  Fix windows build for multi layer .def file

9 years agoloader: Fix bug in heap_free function to not do double free
Jon Ashburn [Thu, 13 Aug 2015 14:28:48 +0000 (08:28 -0600)]
loader: Fix bug in heap_free function to not do double free

9 years agolayers: Make multi layer functional again as a multi layer per library
Jon Ashburn [Wed, 12 Aug 2015 22:43:01 +0000 (16:43 -0600)]
layers: Make multi layer functional again  as a multi layer per library

Pretty much a total rewrite of this layer.

Make multi1 a Device layer and multi2 an Instance layer.
Remove all extension and layer property stuff, rely on manifest file.
Remove all old common stuff, rely on newer loader/layer interface which
can handle multiple layers pre library via manifest file.

9 years agoloader: Handle multiple layers descriptions per manifest file
Jon Ashburn [Wed, 12 Aug 2015 22:39:32 +0000 (16:39 -0600)]
loader: Handle multiple layers descriptions per manifest file

9 years agoBug 14407 - Add texelCoords to Sampler state
Cody Northrop [Tue, 11 Aug 2015 21:50:55 +0000 (15:50 -0600)]
Bug 14407 - Add texelCoords to Sampler state

9 years agoBug 14339 - Add alphaToOne as an optional feature
Cody Northrop [Tue, 11 Aug 2015 21:38:21 +0000 (15:38 -0600)]
Bug 14339 - Add alphaToOne as an optional feature

9 years agov151: Bug 14386 - Change VK_NULL_HANDLE from a 0 to a nullptr
Cody Northrop [Tue, 11 Aug 2015 21:25:08 +0000 (15:25 -0600)]
v151: Bug 14386 - Change VK_NULL_HANDLE from a 0 to a nullptr

9 years agov150: Bug 14384 - Add a subpass field to VkCmdBufferBeginInfo
Cody Northrop [Tue, 11 Aug 2015 17:35:58 +0000 (11:35 -0600)]
v150: Bug 14384 - Add a subpass field to VkCmdBufferBeginInfo

9 years agov149: Fix header ordering bug
Cody Northrop [Tue, 11 Aug 2015 17:21:48 +0000 (11:21 -0600)]
v149: Fix header ordering bug

9 years agonulldrv: Change to new WSI query functions.
Ian Elliott [Mon, 10 Aug 2015 19:56:08 +0000 (13:56 -0600)]
nulldrv: Change to new WSI query functions.

9 years agolayers: mem_tracker: Change to new WSI query functions.
Ian Elliott [Fri, 7 Aug 2015 20:11:14 +0000 (14:11 -0600)]
layers: mem_tracker: Change to new WSI query functions.

9 years agodemos: Change to new WSI header ...
Ian Elliott [Fri, 7 Aug 2015 21:56:59 +0000 (15:56 -0600)]
demos: Change to new WSI header ...

Change to:

- Use new WSI query functions.
- Set new VkSwapChainCreateInfoWSI members.

9 years agoloader: Change to new WSI query functions.
Ian Elliott [Thu, 6 Aug 2015 22:55:36 +0000 (16:55 -0600)]
loader: Change to new WSI query functions.

9 years agovulkan.py: Change to new WSI query functions.
Ian Elliott [Thu, 6 Aug 2015 23:05:06 +0000 (17:05 -0600)]
vulkan.py: Change to new WSI query functions.

9 years agoWSI: Update swapchain headers to to version 13 and 45.
Ian Elliott [Thu, 6 Aug 2015 22:22:51 +0000 (16:22 -0600)]
WSI: Update swapchain headers to to version 13 and 45.

Update "vk_wsi_device_swapchain.h" to version 45.
Update "vk_wsi_swapchain.h" to version 13.

9 years agobuild: rebuild LLVM when LLVM overlay files change
GregF [Tue, 11 Aug 2015 22:03:28 +0000 (16:03 -0600)]
build: rebuild LLVM when LLVM overlay files change

9 years agolayers: Don't output DrawState dynamic state info for null handles
Mark Lobodzinski [Tue, 11 Aug 2015 21:44:15 +0000 (15:44 -0600)]
layers: Don't output DrawState dynamic state info for null handles

This was causing random segfaults in the layer validation tests.

9 years agoloader: Remove one time scan of layer libraries; do it as needed
Jon Ashburn [Tue, 11 Aug 2015 20:49:54 +0000 (14:49 -0600)]
loader: Remove one time scan of layer libraries; do it as needed

Everytime get a Vulkan API call which needs layer library info rescan
all layer manifest files to get the info.  This way if they change the list will
be updated.

9 years agolayers: Handle uninitialized QueueFamily values in APIDump
Mark Lobodzinski [Tue, 11 Aug 2015 15:35:02 +0000 (09:35 -0600)]
layers: Handle uninitialized QueueFamily values in APIDump

If queueFamilyCount or pQueueFamilyIndices were uninitialized, APIDump
would persist in printing this info resulting in a segfault. Added
check for sharingMode before examining these values.

9 years agobuild: advance glslang and LunarGLASS versions to SPIR-V rev 31
GregF [Tue, 11 Aug 2015 00:11:50 +0000 (18:11 -0600)]
build: advance glslang and LunarGLASS versions to SPIR-V rev 31

9 years agolayers: port ShaderChecker to SPIR-V v31 (from ChrisF)
GregF [Tue, 21 Jul 2015 23:22:50 +0000 (17:22 -0600)]
layers: port ShaderChecker to SPIR-V v31 (from ChrisF)

9 years agoWSI: Remove old "vs_wsi_lunarg.h" file.
Ian Elliott [Thu, 6 Aug 2015 22:15:16 +0000 (16:15 -0600)]
WSI: Remove old "vs_wsi_lunarg.h" file.

9 years agolayers: Restore information messages to the MemTracker layer
Mark Lobodzinski [Mon, 10 Aug 2015 20:37:52 +0000 (14:37 -0600)]
layers: Restore information messages to the MemTracker layer

9 years agotests: Move DestroyShaderModule calls after pipeline creation
Mark Lobodzinski [Mon, 10 Aug 2015 19:40:32 +0000 (13:40 -0600)]
tests: Move DestroyShaderModule calls after pipeline creation

9 years agovktrace: Build vktrace as part of the main build
Jon Ashburn [Fri, 7 Aug 2015 16:55:59 +0000 (10:55 -0600)]
vktrace: Build vktrace as part of the main build

9 years agocodegen: Bring in fixes from glave codegen scripts to vulkan.py vk_helper.py
Jon Ashburn [Thu, 6 Aug 2015 23:27:49 +0000 (17:27 -0600)]
codegen: Bring in fixes from glave codegen scripts to vulkan.py vk_helper.py

Add a new target to vk_helper.py for "struct_size" so vktrace can use that.
Otherwise target "struct_wrappers" builds a bunch of files not needed by vtrace.

Add debug_report as an extension in vulkan.py. Vktrace needs this to intercept
debug_report extensions.

9 years agolayers: Reenable informational messages in DrawState layer
Mark Lobodzinski [Fri, 7 Aug 2015 23:11:09 +0000 (17:11 -0600)]
layers: Reenable informational messages in DrawState layer

9 years agoinclude: Change debug report pUserData parameter to non-const
Jon Ashburn [Thu, 6 Aug 2015 19:56:43 +0000 (13:56 -0600)]
include: Change debug report pUserData parameter to non-const

This was inconsistently defined.

9 years agotests: Fixed a few errors in Tri caught by ObjectTracker
Mark Lobodzinski [Fri, 7 Aug 2015 16:17:13 +0000 (10:17 -0600)]
tests: Fixed a few errors in Tri caught by ObjectTracker

9 years agoUpdate ICD links in BUILD.md.
Peter Gal [Fri, 7 Aug 2015 11:38:58 +0000 (13:38 +0200)]
Update ICD links in BUILD.md.

Update the ICD loader configuration links in the BUILD.md to point
to the master branch.

9 years agodemos: Initialize render pass in pipeline create
Tony Barbour [Thu, 6 Aug 2015 20:32:54 +0000 (14:32 -0600)]
demos: Initialize render pass in pipeline create

9 years agowindows: Fix various warnings
Cody Northrop [Wed, 5 Aug 2015 17:15:02 +0000 (11:15 -0600)]
windows: Fix various warnings

Categories include:
 ASSERT_TRUE(int) changed to ASSERT_TRUE(0 != int)
 Change uint32_t to DeviceSize
 Stop adding with bools
 Add some explicit casting
 Remove unreferenced variables
 Add 'f' suffix to float literals

Conflicts:
tests/vkrenderframework.cpp

9 years agodemos: Fix trivial bugs in tri
Tony Barbour [Thu, 23 Jul 2015 16:34:15 +0000 (10:34 -0600)]
demos: Fix trivial bugs in tri

9 years agoUpdate stale info in BUILD.md.
Dejan Mircevski [Wed, 5 Aug 2015 19:17:06 +0000 (15:17 -0400)]
Update stale info in BUILD.md.

9 years agoloader: Change layer manifest file location env var to VK_LAYER_PATH
Jon Ashburn [Thu, 6 Aug 2015 17:22:33 +0000 (11:22 -0600)]
loader: Change layer manifest file location env var to VK_LAYER_PATH

bug #14394

9 years agov148: Bug 14368 - Minor fixes for VkPhysicalDeviceFeatures
Cody Northrop [Tue, 4 Aug 2015 20:49:43 +0000 (14:49 -0600)]
v148: Bug 14368 - Minor fixes for VkPhysicalDeviceFeatures

9 years agov147: Bugs 14352 and 14300
Cody Northrop [Tue, 4 Aug 2015 20:44:03 +0000 (14:44 -0600)]
v147: Bugs 14352 and 14300

9 years agov146: Bug 14290 - Move typedefs from vk_platform.h to vulkan.h, make pSampleMask...
Cody Northrop [Tue, 4 Aug 2015 20:34:54 +0000 (14:34 -0600)]
v146: Bug 14290 - Move typedefs from vk_platform.h to vulkan.h, make pSampleMask an array

9 years agov145: Bug 14160 - Remove VK_DEVICE_CREATE_VALIDATION_BIT and unused flags field
Cody Northrop [Tue, 4 Aug 2015 19:45:07 +0000 (13:45 -0600)]
v145: Bug 14160 - Remove VK_DEVICE_CREATE_VALIDATION_BIT and unused flags field

9 years agov144: Bug 14292 - Rename VkRenderPassBeginInfo::attachmentCount to clearValueCount
Cody Northrop [Tue, 4 Aug 2015 17:51:03 +0000 (11:51 -0600)]
v144: Bug 14292 - Rename VkRenderPassBeginInfo::attachmentCount to clearValueCount

9 years agov143: Bug 14277 - Follow pointer naming convention in VkSubpassDescription
Cody Northrop [Tue, 4 Aug 2015 17:16:41 +0000 (11:16 -0600)]
v143: Bug 14277 - Follow pointer naming convention in VkSubpassDescription

9 years agov142: Bug 14275 - Remove image layouts in VkFramebufferCreateInfo
Cody Northrop [Tue, 4 Aug 2015 16:47:08 +0000 (10:47 -0600)]
v142: Bug 14275 - Remove image layouts in VkFramebufferCreateInfo

9 years agov140: Bug 14251 - Inconsistencies in the definition of queries
Cody Northrop [Mon, 3 Aug 2015 23:04:53 +0000 (17:04 -0600)]
v140: Bug 14251 - Inconsistencies in the definition of queries

9 years agov139: Bug 14257 - Remove pCount parameter from vkAllocDescriptorSets
Cody Northrop [Mon, 3 Aug 2015 18:47:29 +0000 (12:47 -0600)]
v139: Bug 14257 - Remove pCount parameter from vkAllocDescriptorSets

9 years agolayers: Fixed formatting error in DrawState
Mark Lobodzinski [Tue, 4 Aug 2015 16:54:43 +0000 (10:54 -0600)]
layers: Fixed formatting error in DrawState

9 years agolayers: Fix freed memory use in layer_destroy_msg_callback
Mike Stroyan [Fri, 31 Jul 2015 22:20:39 +0000 (16:20 -0600)]
layers: Fix freed memory use in layer_destroy_msg_callback

Defer free in layer_destroy_msg_callback until after last use of data.

9 years agolayers: DrawState validation cases for BeginCommandBuffer
Mark Lobodzinski [Tue, 4 Aug 2015 22:24:20 +0000 (16:24 -0600)]
layers: DrawState validation cases for BeginCommandBuffer

Framebuffer and Renderpass must be NULL for PRIMARY CBs, non-NULL
for SECONDARY command buffers. Test cases also added.

9 years agoloader: Remove extension origin and use Vulkan ext prop structure
Jon Ashburn [Tue, 4 Aug 2015 17:14:18 +0000 (11:14 -0600)]
loader: Remove extension origin and use Vulkan ext prop structure

Origin was set but unused.  This allowed tghe loader_extension_property
structure to be reduced down to the VkExtensionProperties.

9 years agoloader: Make sure layer list from manifest file is all cleaned up properly
Jon Ashburn [Tue, 4 Aug 2015 16:22:33 +0000 (10:22 -0600)]
loader: Make sure layer list from manifest file is all cleaned up properly

9 years agoloader: Move long DEBUG_REPORT comments into debug report source code
Jon Ashburn [Mon, 3 Aug 2015 23:34:47 +0000 (17:34 -0600)]
loader: Move long DEBUG_REPORT comments into debug report source code

9 years agoloader: Add accessor functions to add/delete from layer property lists.
Jon Ashburn [Mon, 3 Aug 2015 23:19:30 +0000 (17:19 -0600)]
loader: Add accessor functions to add/delete from layer property lists.

Use these to handle building and destroying instance and device layer property
lists.

9 years agoloader: Convert layer versions from manifest file to Vulkan int version
Jon Ashburn [Mon, 3 Aug 2015 15:08:46 +0000 (09:08 -0600)]
loader: Convert layer versions from manifest file to Vulkan int version

9 years agoloader: Allow null string for CMAKE_INSTALL_PREFIX to prevent extra paths
Jon Ashburn [Fri, 31 Jul 2015 21:47:59 +0000 (15:47 -0600)]
loader: Allow null string for CMAKE_INSTALL_PREFIX to prevent extra paths

NULL string was making loader search extra local paths such as /share/...
Also expand log buffer .

9 years agoInitialize VkDesciptorSet to VK_NULL_HANDLE
Dana Jansens [Thu, 30 Jul 2015 20:22:15 +0000 (13:22 -0700)]
Initialize VkDesciptorSet to VK_NULL_HANDLE

9 years agoCompare the handle object to VK_NULL_HANDLE, not its internal integer value
Dana Jansens [Thu, 30 Jul 2015 20:21:41 +0000 (13:21 -0700)]
Compare the handle object to VK_NULL_HANDLE, not its internal integer value

9 years agolayers: Validate renderPass.
Jeremy Hayes [Fri, 31 Jul 2015 20:16:20 +0000 (14:16 -0600)]
layers: Validate renderPass.

9 years agocmake: Set CMAKE_INSTALL_PREFIX to "" so loader will be built with sys paths
Jon Ashburn [Fri, 31 Jul 2015 21:15:00 +0000 (15:15 -0600)]
cmake: Set CMAKE_INSTALL_PREFIX to "" so loader will be built with sys paths

CMake seems to default to non-null but for system SDK builds want this to
be empty string.

9 years agolayers: Rework APIDump changes to fix windows compilation errors
Mark Lobodzinski [Fri, 31 Jul 2015 19:47:42 +0000 (13:47 -0600)]
layers: Rework APIDump changes to fix windows compilation errors

MSVC compiler hated unions of structs with non-default constructors.

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 agoloader: Fix Windows layers json files for backslash as separator
Jon Ashburn [Fri, 31 Jul 2015 17:32:44 +0000 (10:32 -0700)]
loader: Fix Windows layers json files for backslash as separator

9 years agoScreenshot layer: Works on SDK 0.2 branch
David Pinedo [Fri, 31 Jul 2015 16:56:20 +0000 (10:56 -0600)]
Screenshot layer: Works on SDK 0.2 branch

9 years agoObjectTracker Layer: Fix crash on windows in CreateInstance
David Pinedo [Fri, 31 Jul 2015 16:46:25 +0000 (10:46 -0600)]
ObjectTracker Layer: Fix crash on windows in CreateInstance

function explicit_CreateInstance was crashing when it tried to
use a mutex before it was initialized. Determined mutex wasn't needed
at the start of this function, so remove the lock.

9 years agoloader: Fix alloca ro loader_stack_alloc() for Windows
Jon Ashburn [Fri, 31 Jul 2015 16:11:24 +0000 (10:11 -0600)]
loader: Fix alloca ro loader_stack_alloc() for Windows

9 years agoloader: get_registry_files needs to parse a list
Tony Barbour [Wed, 29 Jul 2015 20:26:21 +0000 (14:26 -0600)]
loader: get_registry_files needs to parse a list

9 years agolayers: Add separate windows and linux json
Courtney Goeltzenleuchter [Thu, 30 Jul 2015 16:49:03 +0000 (10:49 -0600)]
layers: Add separate windows and linux json

9 years agoxchange-94: Use VK_ prefix for environment vars
Courtney Goeltzenleuchter [Wed, 29 Jul 2015 15:08:22 +0000 (09:08 -0600)]
xchange-94: Use VK_ prefix for environment vars

Use the Vulkan namespace (VK_ prefix) on debug environment
variables used in the loader and the Intel sample driver.
This resolves LunarXchange bug #94.
https://vulkan.lunarg.com/app/issues/55b76baa7ef24d0001000072

9 years agoxchange-93: Use VK_ prefix on DEBUG_REPORT_..._NAME
Courtney Goeltzenleuchter [Thu, 30 Jul 2015 17:32:46 +0000 (11:32 -0600)]
xchange-93: Use VK_ prefix on DEBUG_REPORT_..._NAME

Use the Vulkan namespace (VK_ prefix) on DEBUG_REPORT_EXTENSION_NAME
This resolves LunarXchange bug #93.
https://vulkan.lunarg.com/app/issues/55b76ae37ef24d0001000070

9 years agolayers: Fix vkGetPipelineCacheSize validation.
Jeremy Hayes [Fri, 31 Jul 2015 18:54:58 +0000 (12:54 -0600)]
layers: Fix vkGetPipelineCacheSize validation.

9 years agolayers: Enabled detailed output of void* memBarrier parameters
Mark Lobodzinski [Thu, 30 Jul 2015 16:11:32 +0000 (10:11 -0600)]
layers: Enabled detailed output of void* memBarrier parameters

APIDump now interprets these void* pointers and prints the appropriate
information.

9 years agolayers: Fix misc bugs in param checker.
Jeremy Hayes [Wed, 29 Jul 2015 17:23:46 +0000 (11:23 -0600)]
layers: Fix misc bugs in param checker.

Fix sType validation.
Improve nullptr validation.
Remove more false positives.
Fix VkResult validation.

9 years agoloader: Fix bug in Windows for mod a static string DEFAULT_VK_LAYERS_INFO
Jon Ashburn [Fri, 31 Jul 2015 15:33:21 +0000 (09:33 -0600)]
loader: Fix bug in Windows for mod a static string DEFAULT_VK_LAYERS_INFO

9 years agoloader: fix typo in log message
Jon Ashburn [Fri, 31 Jul 2015 15:41:31 +0000 (09:41 -0600)]
loader: fix typo in log message

9 years agocube: We reuse cmd bufs, so dont do one_time flag
Courtney Goeltzenleuchter [Tue, 28 Jul 2015 14:59:17 +0000 (08:59 -0600)]
cube: We reuse cmd bufs, so dont do one_time flag

9 years agobug-14352: Update vulkan.h version
Courtney Goeltzenleuchter [Tue, 28 Jul 2015 15:09:45 +0000 (09:09 -0600)]
bug-14352: Update vulkan.h version

9 years agobug-14352: Missing size parameter in VkSparseMemoryBindInfo
Courtney Goeltzenleuchter [Tue, 28 Jul 2015 15:05:09 +0000 (09:05 -0600)]
bug-14352: Missing size parameter in VkSparseMemoryBindInfo

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14352

9 years agodemos: Add dependency for SPIRV shader components
Courtney Goeltzenleuchter [Wed, 29 Jul 2015 15:07:01 +0000 (09:07 -0600)]
demos: Add dependency for SPIRV shader components

Occasional saw issues with parallel make because dependency
was not specified for the shader SPIRV components used by tri
and cube.

9 years agobug-14330: Initialize handle on Vulkan objects
Courtney Goeltzenleuchter [Wed, 29 Jul 2015 16:53:07 +0000 (10:53 -0600)]
bug-14330: Initialize handle on Vulkan objects

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14330
Accepted in gl_common 7/27

9 years agolayers: Add validation case for mismatched renderpass attachements and subpasses
Mark Lobodzinski [Wed, 29 Jul 2015 15:21:22 +0000 (09:21 -0600)]
layers: Add validation case for mismatched renderpass attachements and subpasses

Added to the Image validation layer.

9 years agoWSI: Initialize WSI entry points
Courtney Goeltzenleuchter [Mon, 27 Jul 2015 20:09:07 +0000 (14:09 -0600)]
WSI: Initialize WSI entry points

Had missed initializing some WSI function pointers for
the device dispatch table.

9 years agovulkan: Add vkCmdPushConstants entry point
Courtney Goeltzenleuchter [Mon, 27 Jul 2015 20:04:01 +0000 (14:04 -0600)]
vulkan: Add vkCmdPushConstants entry point

This patch fixes LunarXchange issue #84.
Also adds corresponding stub entry point to the Intel
sample driver.

9 years agointel: Add support for GetRenderAreaGranularity
Courtney Goeltzenleuchter [Mon, 27 Jul 2015 19:47:08 +0000 (13:47 -0600)]
intel: Add support for GetRenderAreaGranularity

9 years agotri/cube: Correct WSI swapChainPresentMode fallback is FIFO.
Ian Elliott [Mon, 27 Jul 2015 19:53:11 +0000 (13:53 -0600)]
tri/cube: Correct WSI swapChainPresentMode fallback is FIFO.

A copy and paste error from the spec made it seem that all ICDs will support
VK_PRESENT_MODE_IMMEDIATE_WSI (a.k.a. "immediate").  That's not true.  They all
need to support VK_PRESENT_MODE_FIFO_WSI.  Changed the comment and code so that
the preference of these demos is:

1) VK_PRESENT_MODE_MAILBOX_WSI
2) VK_PRESENT_MODE_IMMEDIATE_WSI
3) VK_PRESENT_MODE_FIFO_WSI

9 years agolayers: Adjust SC to validate bulk pipeline creation
Chris Forbes [Fri, 24 Jul 2015 01:53:47 +0000 (13:53 +1200)]
layers: Adjust SC to validate bulk pipeline creation

Previously we passed `count` down to the validator and then dropped it
on the floor, ignoring anything other than pipeline 0.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Courtney Goeltzenleuchter <courtney@lunarg.com>
9 years agoFurther layer search path fix: s/implicit/explict
James Jones [Fri, 24 Jul 2015 18:35:16 +0000 (11:35 -0700)]
Further layer search path fix: s/implicit/explict

A cut+paste error resulted in using the same value
for the explicit and implicit layer config paths.
This change remedies that.

Signed-off-by: James Jones <jajones@nvidia.com>
9 years agoAdded ICD loading path debug messages
Liam Middlebrook [Fri, 24 Jul 2015 01:32:20 +0000 (18:32 -0700)]
Added ICD loading path debug messages

Reviewed-by: James Jones <jajones@nvidia.com>
9 years agoFix loader paths for "etc" directories.
James Jones [Fri, 24 Jul 2015 16:47:37 +0000 (09:47 -0700)]
Fix loader paths for "etc" directories.

The previous libdir/confdir patches mistakenly
used /usr/etc rather than /etc as the default
location for configuration files.  This patch
corrects that mistake.

Signed-off-by: James Jones <jajones@nvidia.com>
Tested-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
9 years agolinux: Fix standard GNU path usage
James Jones [Fri, 24 Jul 2015 00:39:37 +0000 (17:39 -0700)]
linux: Fix standard GNU path usage

The previous attempt at using GNU standard paths
limited searching to the prefix where the loader
was installed.  What we really want though is to
always search in /usr, also search in whatever
local prefix the user installed at if it wasn't
/usr, and use the standard GNU libdir, sysconfdir,
and datadir under those prefixes.  This change
implements that behavior.

Signed-off-by: James Jones <jajones@nvidia.com>
Tested-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
9 years agolinux: Use standard GNU install paths
Adam Jackson [Thu, 23 Jul 2015 20:29:26 +0000 (16:29 -0400)]
linux: Use standard GNU install paths

These should get inherited from the build environment, which should
handle the variation between /usr/lib/$triple on debian vs /usr/lib{,64}
on redhat.

Signed-off-by: Adam Jackson <ajax@redhat.com>
9 years agoRevert "vulkan: Updated LICENSE.txt with all known license information"
Courtney Goeltzenleuchter [Fri, 24 Jul 2015 17:21:01 +0000 (11:21 -0600)]
Revert "vulkan: Updated LICENSE.txt with all known license information"

This reverts commit 3d2dc08ed28b159f1d86476add4719b3ec975b1b.

Just adding attributiones here does not match our SDK
and loader redistributable plans. Will add attributions to
specific areas rather than a global attribution file.

9 years agoWindows nulldrv: Add stub for vkGetPhysicalDeviceImageFormatProperties
David Pinedo [Fri, 24 Jul 2015 16:54:41 +0000 (10:54 -0600)]
Windows nulldrv: Add stub for vkGetPhysicalDeviceImageFormatProperties

9 years agoloader: Only check 32-bits for magic value
Courtney Goeltzenleuchter [Fri, 24 Jul 2015 16:18:40 +0000 (10:18 -0600)]
loader: Only check 32-bits for magic value

The loaderMagic grew to be 64-bits to look better
but need to mask it to 32bits for the validation check.

9 years agoloader: Update the Linux and Windows manifest file documentation to match khr
Jon Ashburn [Fri, 24 Jul 2015 15:20:11 +0000 (09:20 -0600)]
loader: Update the Linux and Windows manifest file documentation to match khr

9 years agoloader: Change VK_LAYERS_FOLDERS to VK_LAYER_FOLDERS to match documentation
Jon Ashburn [Fri, 24 Jul 2015 00:58:21 +0000 (18:58 -0600)]
loader: Change VK_LAYERS_FOLDERS to VK_LAYER_FOLDERS to match documentation

This effects Windows layers.

9 years agoloader: Add missing entrypoints CmdPushConstants, GetRenderArea, GetPDImgFormat
Jon Ashburn [Fri, 24 Jul 2015 00:49:07 +0000 (18:49 -0600)]
loader: Add missing entrypoints CmdPushConstants, GetRenderArea, GetPDImgFormat

Also fix several other missing entrypoints from dispatch table related functions.
Also reorder some of these functions to better match header list order so
can more easily spot missing entry points.

9 years agomisc: Add vkGetPhysicalDeviceImageFormatProperties as a stub
Jon Ashburn [Fri, 24 Jul 2015 00:48:20 +0000 (18:48 -0600)]
misc: Add vkGetPhysicalDeviceImageFormatProperties as a stub

9 years agolayers: eliminate Windows compiler warning
Courtney Goeltzenleuchter [Thu, 23 Jul 2015 17:25:17 +0000 (11:25 -0600)]
layers: eliminate Windows compiler warning

9 years agoFix win32 build
Dan Ginsburg [Thu, 23 Jul 2015 17:15:00 +0000 (13:15 -0400)]
Fix win32 build