Mark Lobodzinski [Fri, 14 Aug 2015 20:24:50 +0000 (14:24 -0600)]
vktrace: GLAVE file/directory renaming
Glave/glv files and directories renamed. Default trace files now named
*.trace.
Cody Northrop [Thu, 27 Aug 2015 16:21:00 +0000 (10:21 -0600)]
Remove extraneous temp file
Tobin Ehlis [Wed, 26 Aug 2015 22:18:52 +0000 (16:18 -0600)]
layers: Fix APIDump to correctly set output file name from settings file
Tobin Ehlis [Thu, 27 Aug 2015 14:00:41 +0000 (10:00 -0400)]
Merge branch 'check-cube-arrays-complete' into 'master'
check that cube array views are complete cubes
See merge request !29
Cass Everitt [Thu, 27 Aug 2015 10:17:57 +0000 (05:17 -0500)]
check that cube array views are complete cubes
Cody Northrop [Wed, 26 Aug 2015 16:39:01 +0000 (10:39 -0600)]
v156: Bump API minor version
Cody Northrop [Wed, 26 Aug 2015 16:01:32 +0000 (10:01 -0600)]
v156: Bug 14451 - Rename dynamic state objects
Cody Northrop [Tue, 25 Aug 2015 21:39:48 +0000 (15:39 -0600)]
Bug 14474: Remove *_USAGE_GENERAL
Cody Northrop [Tue, 25 Aug 2015 21:26:38 +0000 (15:26 -0600)]
v155: Bug 14435 - Remove abbreviations in VkClearColor
Cody Northrop [Mon, 24 Aug 2015 21:11:10 +0000 (15:11 -0600)]
v154: Bug 14417 - Added VkShaderStage to VkShaderCreateInfo
Cody Northrop [Tue, 25 Aug 2015 16:12:18 +0000 (10:12 -0600)]
v153: Minor version bump for bugs 14323, 14400, 14339, 14406
Cody Northrop [Tue, 18 Aug 2015 21:21:16 +0000 (15:21 -0600)]
Bug 14406: Add support for front/back stencil reference dynamic state
Cody Northrop [Tue, 18 Aug 2015 21:16:50 +0000 (15:16 -0600)]
Bug 14339: Add the missing alphaToOneEnable to VkPipelineColorBlendStateCreateInfo
Cody Northrop [Tue, 18 Aug 2015 20:58:29 +0000 (14:58 -0600)]
Bug 14400: Add FORMAT_FEATURES for blits
Cody Northrop [Mon, 17 Aug 2015 17:10:49 +0000 (11:10 -0600)]
Bug 14323: RasterLine and RasterDepthBias changes
Jon Ashburn [Tue, 25 Aug 2015 22:48:24 +0000 (16:48 -0600)]
loader: Add support for relative pathnames in the ICD manifest file lib_path
Jens Owen [Tue, 25 Aug 2015 16:29:34 +0000 (12:29 -0400)]
Fix formatting for GitLab web interface
Tobin Ehlis [Tue, 25 Aug 2015 15:56:38 +0000 (09:56 -0600)]
layers: Initial commit of Validation Details md file
This is intended to be a comprehensive list of validation checks in the Vulkan validation layers. For each layer, a table is included that describes the checks performed by that layer, the relevant API calls, the associated ERROR/WARNING code, any tests that exercise that check, and further notes or TODOs. Also each layer has a "pending work" section so that checks to be added in the future can be documented here.
This is intended to be a working document where the document stays in synch with the code. Also, if missing validation checks are identified, but cannot be immediately implemented, they should be added to an appropriate "pending" section. Finally, if someone wants to contribute to the validation efforts, they can identify existing "pending" work to implement.
Jon Ashburn [Thu, 20 Aug 2015 22:35:30 +0000 (16:35 -0600)]
loader: Make so layer manifest files are retained at CreateInstance
layer manifest files were rescanned after CreateInstance as needed for
CreateDevice and GetPhysicalDeviceXXXProperties. Now stored the device
and instance layer list in instance object.
Also fix mem leak of extension list in some cases.
Also fix bug where deep copy of instance to device layer properties was
not being done. Only a shallow copy was being done.
Also remove the lib_info struct from layer properties structure as only the
lib name field was being used. Other layer library info is stored in the
layer_library_list once the layer libraries are opened.
Jon Ashburn [Wed, 19 Aug 2015 00:04:47 +0000 (18:04 -0600)]
loader: Make the ICD library scan happen as needed rather than once
Add a one time loader init routine also since this was done by ICD scan.
Add icd library struct to instance object.
Jon Ashburn [Fri, 14 Aug 2015 20:55:23 +0000 (14:55 -0600)]
loader: Remove the device_extension list from from scanned icds, unused
Jon Ashburn [Fri, 14 Aug 2015 20:49:22 +0000 (14:49 -0600)]
loader: Remove the global extension list from scanned_icds struct
This list is regenerated as needed and stored in the instance object.
Jon Ashburn [Fri, 14 Aug 2015 18:51:47 +0000 (12:51 -0600)]
loader: Make the global/instance ext list once for each instance
Also fix some bugs in the heap_alloc/heap_free.
Also fix some memory leaks.
Jon Ashburn [Fri, 14 Aug 2015 17:57:54 +0000 (11:57 -0600)]
loader: Remove global instance extension list and rebuild it as needed
This will be necessary once ICDs are rescanned at CreateInstance and prior.
Tobin Ehlis [Tue, 18 Aug 2015 20:24:32 +0000 (14:24 -0600)]
tests: Fix tests that re-submit Cmd Buffers w/ ONE_TIME_SUBMIT flag
Added a way to pass VkCmdBufferBeginInfo through test framework.
For tests that do multiple submits, update BeginCommandBuffer() calls to not set ONE_TIME_SUBMIT flag.
Tobin Ehlis [Tue, 18 Aug 2015 13:10:58 +0000 (07:10 -0600)]
layers: Add validation check to enforce ONE_TIME_SUBMIT of cmd buffers
Track createInfo and beginInfo independently per cmdBuffer & check begin flags at QueueSubmit time to verify cmd buffer not submitted multiple times if VK_CMD_BUFFER_OPTIMIZE_ONE_TIME_SUBMIT_BIT is set.
Add CmdBufferTwoSubmits test to verify this check.
Courtney Goeltzenleuchter [Thu, 13 Aug 2015 22:55:04 +0000 (16:55 -0600)]
cube: Set pipeline renderpass
LunarXchange issue #111:
https://vulkan.lunarg.com/app/issues/
55cbc6d77ef24d0001000001
noticed that the pipeline's renaderPass was not being set.
Mike Stroyan [Thu, 13 Aug 2015 17:33:08 +0000 (11:33 -0600)]
Revert "demos: Add dependency for SPIRV shader components"
This reverts commit
7dffaa146e1ec138b1c6a0b02a3b54d352636683.
Mike Stroyan [Mon, 10 Aug 2015 22:42:53 +0000 (16:42 -0600)]
layers: Change Threading layer dispatch and logging
Use new log_msg with per instance and device dispatch
Mike Stroyan [Mon, 10 Aug 2015 22:41:54 +0000 (16:41 -0600)]
layers: Remove unused layer-dispatch target
Mike Stroyan [Wed, 12 Aug 2015 23:11:28 +0000 (17:11 -0600)]
layers: Optimize DrawState when info is not shown
Return quickly from synchAndPrintDSConfig when info is not requested.
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.
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.
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
Jon Ashburn [Thu, 13 Aug 2015 21:15:07 +0000 (14:15 -0700)]
layers: Fix windows build for multi layer .def file
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
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.
Jon Ashburn [Wed, 12 Aug 2015 22:39:32 +0000 (16:39 -0600)]
loader: Handle multiple layers descriptions per manifest file
Cody Northrop [Tue, 11 Aug 2015 21:50:55 +0000 (15:50 -0600)]
Bug 14407 - Add texelCoords to Sampler state
Cody Northrop [Tue, 11 Aug 2015 21:38:21 +0000 (15:38 -0600)]
Bug 14339 - Add alphaToOne as an optional feature
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
Cody Northrop [Tue, 11 Aug 2015 17:35:58 +0000 (11:35 -0600)]
v150: Bug 14384 - Add a subpass field to VkCmdBufferBeginInfo
Cody Northrop [Tue, 11 Aug 2015 17:21:48 +0000 (11:21 -0600)]
v149: Fix header ordering bug
Ian Elliott [Mon, 10 Aug 2015 19:56:08 +0000 (13:56 -0600)]
nulldrv: 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.
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.
Ian Elliott [Thu, 6 Aug 2015 22:55:36 +0000 (16:55 -0600)]
loader: 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.
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.
GregF [Tue, 11 Aug 2015 22:03:28 +0000 (16:03 -0600)]
build: rebuild LLVM when LLVM overlay files change
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.
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.
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.
GregF [Tue, 11 Aug 2015 00:11:50 +0000 (18:11 -0600)]
build: advance glslang and LunarGLASS versions to SPIR-V rev 31
GregF [Tue, 21 Jul 2015 23:22:50 +0000 (17:22 -0600)]
layers: port ShaderChecker to SPIR-V v31 (from ChrisF)
Ian Elliott [Thu, 6 Aug 2015 22:15:16 +0000 (16:15 -0600)]
WSI: Remove old "vs_wsi_lunarg.h" file.
Mark Lobodzinski [Mon, 10 Aug 2015 20:37:52 +0000 (14:37 -0600)]
layers: Restore information messages to the MemTracker layer
Mark Lobodzinski [Mon, 10 Aug 2015 19:40:32 +0000 (13:40 -0600)]
tests: Move DestroyShaderModule calls after pipeline creation
Jon Ashburn [Fri, 7 Aug 2015 16:55:59 +0000 (10:55 -0600)]
vktrace: Build vktrace as part of the main build
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.
Mark Lobodzinski [Fri, 7 Aug 2015 23:11:09 +0000 (17:11 -0600)]
layers: Reenable informational messages in DrawState layer
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.
Mark Lobodzinski [Fri, 7 Aug 2015 16:17:13 +0000 (10:17 -0600)]
tests: Fixed a few errors in Tri caught by ObjectTracker
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.
Tony Barbour [Thu, 6 Aug 2015 20:32:54 +0000 (14:32 -0600)]
demos: Initialize render pass in pipeline create
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
Tony Barbour [Thu, 23 Jul 2015 16:34:15 +0000 (10:34 -0600)]
demos: Fix trivial bugs in tri
Dejan Mircevski [Wed, 5 Aug 2015 19:17:06 +0000 (15:17 -0400)]
Update stale info in BUILD.md.
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
Cody Northrop [Tue, 4 Aug 2015 20:49:43 +0000 (14:49 -0600)]
v148: Bug 14368 - Minor fixes for VkPhysicalDeviceFeatures
Cody Northrop [Tue, 4 Aug 2015 20:44:03 +0000 (14:44 -0600)]
v147: Bugs 14352 and 14300
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
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
Cody Northrop [Tue, 4 Aug 2015 17:51:03 +0000 (11:51 -0600)]
v144: Bug 14292 - Rename VkRenderPassBeginInfo::attachmentCount to clearValueCount
Cody Northrop [Tue, 4 Aug 2015 17:16:41 +0000 (11:16 -0600)]
v143: Bug 14277 - Follow pointer naming convention in VkSubpassDescription
Cody Northrop [Tue, 4 Aug 2015 16:47:08 +0000 (10:47 -0600)]
v142: Bug 14275 - Remove image layouts in VkFramebufferCreateInfo
Cody Northrop [Mon, 3 Aug 2015 23:04:53 +0000 (17:04 -0600)]
v140: Bug 14251 - Inconsistencies in the definition of queries
Cody Northrop [Mon, 3 Aug 2015 18:47:29 +0000 (12:47 -0600)]
v139: Bug 14257 - Remove pCount parameter from vkAllocDescriptorSets
Mark Lobodzinski [Tue, 4 Aug 2015 16:54:43 +0000 (10:54 -0600)]
layers: Fixed formatting error in DrawState
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.
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.
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.
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
Jon Ashburn [Mon, 3 Aug 2015 23:34:47 +0000 (17:34 -0600)]
loader: Move long DEBUG_REPORT comments into debug report source code
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.
Jon Ashburn [Mon, 3 Aug 2015 15:08:46 +0000 (09:08 -0600)]
loader: Convert layer versions from manifest file to Vulkan int version
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 .
Dana Jansens [Thu, 30 Jul 2015 20:22:15 +0000 (13:22 -0700)]
Initialize VkDesciptorSet to VK_NULL_HANDLE
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
Jeremy Hayes [Fri, 31 Jul 2015 20:16:20 +0000 (14:16 -0600)]
layers: Validate renderPass.
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.
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.
GregF [Tue, 14 Jul 2015 17:35:45 +0000 (11:35 -0600)]
demos: use -o on glslangValidator to allow parallel make
Jon Ashburn [Fri, 31 Jul 2015 17:32:44 +0000 (10:32 -0700)]
loader: Fix Windows layers json files for backslash as separator
David Pinedo [Fri, 31 Jul 2015 16:56:20 +0000 (10:56 -0600)]
Screenshot layer: Works on SDK 0.2 branch
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.
Jon Ashburn [Fri, 31 Jul 2015 16:11:24 +0000 (10:11 -0600)]
loader: Fix alloca ro loader_stack_alloc() for Windows
Tony Barbour [Wed, 29 Jul 2015 20:26:21 +0000 (14:26 -0600)]
loader: get_registry_files needs to parse a list
Courtney Goeltzenleuchter [Thu, 30 Jul 2015 16:49:03 +0000 (10:49 -0600)]
layers: Add separate windows and linux json
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