Courtney Goeltzenleuchter [Fri, 28 Aug 2015 22:47:15 +0000 (16:47 -0600)]
bug-14532: Rename VK_LAST_* to VK_REMAINING_*
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14532
Courtney Goeltzenleuchter [Fri, 28 Aug 2015 22:36:35 +0000 (16:36 -0600)]
misc: tool updates, no functional change
Courtney Goeltzenleuchter [Fri, 28 Aug 2015 22:31:15 +0000 (16:31 -0600)]
Bug-14177: Remove Float16 feature.
Due to the fact that this isn't currently well-specified and there is expected
implementation variability on current HW, this is removed from
the current API.
Courtney Goeltzenleuchter [Fri, 28 Aug 2015 22:27:33 +0000 (16:27 -0600)]
bug-13970: Sparse Texture VA Size
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=13970
Cody Northrop [Fri, 28 Aug 2015 22:22:48 +0000 (16:22 -0600)]
wsi: Fix image usage flags in tests and demos
Mark Lobodzinski [Thu, 27 Aug 2015 21:30:29 +0000 (15:30 -0600)]
vktrace: Glave renaming -- removed all references to *glave* and *glv*
Mike Stroyan [Fri, 28 Aug 2015 17:33:32 +0000 (11:33 -0600)]
layers: Add todo flagging destroy while on queue
This starts with the case of early VkDestroySemaphore seen in demos.
It is a much larger general case of objects that are active on queues.
Mike Stroyan [Fri, 28 Aug 2015 16:58:06 +0000 (10:58 -0600)]
demos: vkDestroySemaphore only after it is unused.
Semaphores should not be destroyed when in use.
Call vkQueueWaitIdle before calling vkDestroySemaphore.
Tobin Ehlis [Fri, 28 Aug 2015 15:57:53 +0000 (09:57 -0600)]
layers: Handle bad filename in APIDump settings file
If APIDumpLogFilename requested in vk_layer_settings.txt file has a bad path or cannot be opened for some other reason, then APIDump will write out an ERROR message w/ the bad filename and notify user that STDOUT will be used instead.
Tobin Ehlis [Thu, 27 Aug 2015 23:41:42 +0000 (17:41 -0600)]
vktrace: Add support for debug_marker_lunarg extension
Tobin Ehlis [Wed, 26 Aug 2015 17:22:09 +0000 (11:22 -0600)]
layers: Fix ObjectTracker to handle dyanamic array params
ObjectTracker will now check for valid objects across all entries of arrays that are passed as params. This includes all objects embedded in arrays of structs such as the pCreateInfos array in vkCreateGraphicsPipelines().
Courtney Goeltzenleuchter [Wed, 26 Aug 2015 21:09:25 +0000 (15:09 -0600)]
vk_platform: Update to upstream vk_platform.h
Gitlab bug #9: https://gitlab.khronos.org/vulkan/LoaderAndTools/issues/9
noted that the SDK's vk_platform.h did not match the upstream vk_platform.h.
This patch makes them identical updates impacted code.
Courtney Goeltzenleuchter [Wed, 26 Aug 2015 20:48:00 +0000 (14:48 -0600)]
demos: Fix compile warning setting renderPass
Jon Ashburn [Thu, 27 Aug 2015 21:02:23 +0000 (14:02 -0700)]
nulldrv: Make build work on Windows with destroydynamiclinewidth
Jon Ashburn [Thu, 27 Aug 2015 14:30:50 +0000 (08:30 -0600)]
loader: Fix SegFault if ICD JSON file doesn't exist to return gracefully
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.