GregF [Fri, 20 Nov 2015 21:37:17 +0000 (14:37 -0700)]
icd compiler, glslang: move to SPV 1.0
Cody Northrop [Mon, 23 Nov 2015 20:52:26 +0000 (13:52 -0700)]
layers: Add link to example vk_layer_settings.txt
Mark Lobodzinski [Mon, 23 Nov 2015 16:07:20 +0000 (09:07 -0700)]
layers: Fix image layer issue validating aspectMasks
Jon Ashburn [Fri, 20 Nov 2015 23:02:33 +0000 (16:02 -0700)]
Revert "icd compiler, glslang: move to SPV 1.0"
This reverts commit
0775868ddec7cc20b83bc3ed7aecdfff2179b1a4.
Michael Lentine [Fri, 20 Nov 2015 20:11:42 +0000 (12:11 -0800)]
Fix build in master
Use dispatchable handles in mdd, fix include path for vulkan.h,
and do not build armeabi.
Mark Lobodzinski [Thu, 19 Nov 2015 22:45:36 +0000 (15:45 -0700)]
layers: MemTracker cleanup, remove redundant object-tracker type checks
GregF [Fri, 20 Nov 2015 21:37:17 +0000 (14:37 -0700)]
icd compiler, glslang: move to SPV 1.0
Michael Lentine [Wed, 4 Nov 2015 00:20:30 +0000 (16:20 -0800)]
tests: Make some of the validation tests work on android
Conflicts:
tests/vkrenderframework.h
Mark Lobodzinski [Fri, 20 Nov 2015 21:33:48 +0000 (14:33 -0700)]
layers: Fix thread-safety issues found in rendersystemtests
MemTracker and DrawState needed some mutex protection.
Jon Ashburn [Thu, 19 Nov 2015 22:43:26 +0000 (15:43 -0700)]
loader: Don't use ICD's VkDevice after it has been destroyed
LX # 201
Conflicts:
loader/trampoline.c
Mark Lobodzinski [Fri, 20 Nov 2015 16:27:27 +0000 (09:27 -0700)]
layers: Temporarily disable memory barrier validation in drawstate
Commented out memory barrier validation until confidence is reached for
an implementation.
Mark Lobodzinski [Thu, 12 Nov 2015 22:14:35 +0000 (15:14 -0700)]
layers: LX196, validate createImage paramters against format limits
Relocated some validation from DeviceLimits layer to Image layer,
added additional per-format limit validation for CreateImage parameters.
Mark Lobodzinski [Thu, 19 Nov 2015 22:48:49 +0000 (15:48 -0700)]
layers: Add null-check in MemTracker to prevent layer crash
Mark Lobodzinski [Thu, 19 Nov 2015 21:13:44 +0000 (14:13 -0700)]
layers: Additional MapMemory validation checks in MemTracker
Mark Lobodzinski [Thu, 19 Nov 2015 20:22:11 +0000 (13:22 -0700)]
layers: LX206, properly restore command buffer level on a reset
Mark Lobodzinski [Thu, 19 Nov 2015 19:07:21 +0000 (12:07 -0700)]
layers: LX205, fix BeginCommandBuffer log messages
Mark Lobodzinski [Thu, 19 Nov 2015 17:40:58 +0000 (10:40 -0700)]
layers: Fix memory barrier validation issues
Some Valve DrawState issues
Jon Ashburn [Thu, 19 Nov 2015 16:29:51 +0000 (09:29 -0700)]
loader: Don't init icds if CreateInstance() from ICD fails.
Tobin Ehlis [Thu, 5 Nov 2015 16:52:49 +0000 (09:52 -0700)]
layers: Add DrawState checks for incompatible layouts at BindDescriptorSets time
At vkCmdBindDescriptorSets() time, verify that each set being bound is compatible
with the referenced VkPipelineLayout "layout". Also track bound descriptorSets per
CommandBuffer and if previously-bound sets outside of the current binding range
are being disturbed, mark them as INVALID and report an INFO message.
Mark Lobodzinski [Thu, 19 Nov 2015 15:31:31 +0000 (08:31 -0700)]
layers: Fix windows build errors in MemTracker
David Pinedo [Thu, 19 Nov 2015 15:26:02 +0000 (08:26 -0700)]
mem_tracker: Return VK_SUCCESS in vkCreateCommandPool, vkResetCommandPool
Build on Windows was failing.
Jon Ashburn [Wed, 18 Nov 2015 23:46:48 +0000 (16:46 -0700)]
loader: Make version in layer JSON files consistent
bugzilla #15057 part two
Jon Ashburn [Wed, 18 Nov 2015 00:35:40 +0000 (17:35 -0700)]
loader: Add parsing of api_version in ICD JSON
bugzilla #15057 part one
Also make this version for Intel sample driver be v210.
Jon Ashburn [Tue, 17 Nov 2015 22:31:02 +0000 (15:31 -0700)]
loader: Add dynamic dispatch for unknown device extension entrypoints
GetInstancePorcAddr() is specified to return trampoline entrypoints for all
Vulkan core and extension entrypoints that are dispatched on an instance object
or a child of that instance object. However, typically, device extensions would
be unknown to the loader (don't want to rev the loader everytime an IHV creates
a new device extension).
This patch allows loader to dynamically discover device extension entrypoints
and configure generic trampoline code for these discovered device extensions.
Jon Ashburn [Tue, 17 Nov 2015 22:22:07 +0000 (15:22 -0700)]
demos: Change tri to use GetInstanceProcAddr for WSI dev ext entry points
This is a better test for loader dynamic dev extension dispatch
Mark Lobodzinski [Fri, 13 Nov 2015 20:47:01 +0000 (13:47 -0700)]
layers: Add CommandBufferPool validation to MemTracker
Mark Lobodzinski [Wed, 18 Nov 2015 15:38:27 +0000 (08:38 -0700)]
layers: Add command pool validation to DrawState
Mark Lobodzinski [Wed, 18 Nov 2015 18:01:02 +0000 (11:01 -0700)]
layers: Fix infinite loop in DrawState
Jeremy Hayes [Wed, 18 Nov 2015 01:24:56 +0000 (18:24 -0700)]
layers: Fix error messages.
Jeremy Hayes [Wed, 18 Nov 2015 01:19:55 +0000 (18:19 -0700)]
layers: Validate barrier subresource range.
Check subresource range for image memory barriers.
Mark Lobodzinski [Wed, 18 Nov 2015 16:14:04 +0000 (09:14 -0700)]
layers: Fix CreateImageView depth/stencil aspect validation
Mark Lobodzinski [Wed, 18 Nov 2015 15:58:31 +0000 (08:58 -0700)]
layers: Remove invalid depth/stencil validation check
Mark Lobodzinski [Tue, 17 Nov 2015 22:11:24 +0000 (15:11 -0700)]
layers: Fix invalid depth/stencil attachment index validation
Was validating against color attachment index instead of attachment
index for depth/stencil ClearAttachment calls.
Mark Lobodzinski [Tue, 17 Nov 2015 19:42:57 +0000 (12:42 -0700)]
layers: Fix Dota 2 crash in draw_state layer
Memsetting STL vectors again -- added default constructor to struct.
Jeremy Hayes [Tue, 17 Nov 2015 00:23:59 +0000 (17:23 -0700)]
layers: Check compareEnable.
Don't validate compareOp if compareEnable is false.
David Pinedo [Tue, 17 Nov 2015 00:01:29 +0000 (17:01 -0700)]
Change version 1.0 to 0.10
Mark Lobodzinski [Thu, 12 Nov 2015 23:02:35 +0000 (16:02 -0700)]
layers: Add validation for object pools
Added proper alloc/free tracking for ObjectTracker -- it now handles
multiple command buffers and descriptor sets.
Jon Ashburn [Mon, 16 Nov 2015 16:12:13 +0000 (09:12 -0700)]
header: bump to vers 210 only changes were to WSI
David Pinedo [Thu, 12 Nov 2015 23:25:53 +0000 (16:25 -0700)]
Version change from 0.9 to 1.0
Mark Lobodzinski [Thu, 12 Nov 2015 23:14:04 +0000 (16:14 -0700)]
layers: Add missing null-check in DrawState
Tony Barbour [Wed, 11 Nov 2015 23:15:54 +0000 (16:15 -0700)]
demos: Fix access masks in layout transitions in tri
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
v209: bump API minor version
Chia-I Wu [Wed, 11 Nov 2015 22:09:22 +0000 (06:09 +0800)]
bug 15120: rename vkCmdPushConstants "values" to "pValues"
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15120
Chia-I Wu [Wed, 11 Nov 2015 22:09:22 +0000 (06:09 +0800)]
MR671: Rename VK_STRUCTURE_TYPE_LAYER_* to ..LOADER_*
Nothing to do.
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/671
Mark Lobodzinski [Thu, 12 Nov 2015 17:11:21 +0000 (10:11 -0700)]
layers: LX194, Change 'fence already signaled' warning to INFO-level
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
v208: bump API minor version
Chia-I Wu [Wed, 11 Nov 2015 02:18:12 +0000 (10:18 +0800)]
bug 15089: Does "Across Command Buffer Boundaries" apply to second-level command buffers?
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15089
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
v207: bump API minor version
Chia-I Wu [Tue, 10 Nov 2015 08:21:09 +0000 (16:21 +0800)]
MR640: Alloc -> Allocate naming fixes
Drop a workaround in get_struct_name_from_struct_type in vk_helper.py.
s/VK_STRUCTURE_TYPE_MEMORY_ALLOC_INFO/VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO/g
s/VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOC_INFO/VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO/g
s/VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOC_INFO/VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO/g
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/640
Chia-I Wu [Tue, 10 Nov 2015 08:21:09 +0000 (16:21 +0800)]
MR632: Valid usage xml global changes
Nothing to do.
https://gitlab.khronos.org/vulkan/vulkan/merge_requests/632
Chia-I Wu [Tue, 10 Nov 2015 21:55:25 +0000 (05:55 +0800)]
bug 12998 part 9: add back explicit enum values
Chia-I Wu [Tue, 10 Nov 2015 09:01:22 +0000 (17:01 +0800)]
bug 12998 part 8: add new formats
Chia-I Wu [Tue, 10 Nov 2015 09:01:22 +0000 (17:01 +0800)]
bug 12998 part 7: drop unwanted USCALED formats
Chia-I Wu [Tue, 10 Nov 2015 09:01:22 +0000 (17:01 +0800)]
bug 12998 part 6: add missing formats to icd and demos
Chia-I Wu [Tue, 10 Nov 2015 09:01:22 +0000 (17:01 +0800)]
bug 12998 part 5: reorder formats
Chia-I Wu [Tue, 10 Nov 2015 09:01:22 +0000 (17:01 +0800)]
bug 12998 part 4: drop explicit enum values temporarily
There is no real change.
Chia-I Wu [Tue, 10 Nov 2015 09:01:22 +0000 (17:01 +0800)]
bug 12998 part 3: append _PACK* to remaining packed formats
s/VK_FORMAT_R4G4_UNORM\b/VK_FORMAT_R4G4_UNORM_PACK8/g
s/VK_FORMAT_B4G4R4A4_UNORM\b/VK_FORMAT_B4G4R4A4_UNORM_PACK16/g
s/VK_FORMAT_B5G6R5_UNORM\b/VK_FORMAT_B5G6R5_UNORM_PACK16/g
s/VK_FORMAT_R5G6B5_UNORM\b/VK_FORMAT_R5G6B5_UNORM_PACK16/g
s/VK_FORMAT_B5G5R5A1_UNORM\b/VK_FORMAT_B5G5R5A1_UNORM_PACK16/g
s/VK_FORMAT_R5G5B5A1_UNORM\b/VK_FORMAT_R5G5B5A1_UNORM_PACK16/g
s/STR(R4G4_UNORM\b/STR(R4G4_UNORM_PACK8/g
s/STR(B4G4R4A4_UNORM\b/STR(B4G4R4A4_UNORM_PACK16/g
s/STR(B5G6R5_UNORM\b/STR(B5G6R5_UNORM_PACK16/g
s/STR(R5G6B5_UNORM\b/STR(R5G6B5_UNORM_PACK16/g
s/STR(B5G5R5A1_UNORM\b/STR(B5G5R5A1_UNORM_PACK16/g
s/STR(R5G5B5A1_UNORM\b/STR(R5G5B5A1_UNORM_PACK16/g
s/VK_FORMAT_R4G4B4A4_UNORM/VK_FORMAT_R4G4B4A4_UNORM_PACK16/g
s/STR(R4G4B4A4_UNORM/STR(R4G4B4A4_UNORM_PACK16/g
Chia-I Wu [Tue, 10 Nov 2015 09:01:22 +0000 (17:01 +0800)]
bug 12998 part 2: append _PACK* to packed formats that change conventions
s/VK_FORMAT_R11G11B10_UFLOAT\b/VK_FORMAT_B10G11R11_UFLOAT_PACK32/g
s/VK_FORMAT_R9G9B9E5_UFLOAT\b/VK_FORMAT_E5B9G9R9_UFLOAT_PACK32/g
s/VK_FORMAT_D24_UNORM_X8\b/VK_FORMAT_X8_D24_UNORM_PACK32/g
s/VK_FORMAT_R10G10B10A2_UNORM\b/VK_FORMAT_A2B10G10R10_UNORM_PACK32/g
s/VK_FORMAT_R10G10B10A2_SNORM\b/VK_FORMAT_A2B10G10R10_SNORM_PACK32/g
s/VK_FORMAT_R10G10B10A2_USCALED\b/VK_FORMAT_A2B10G10R10_USCALED_PACK32/g
s/VK_FORMAT_R10G10B10A2_SSCALED\b/VK_FORMAT_A2B10G10R10_SSCALED_PACK32/g
s/VK_FORMAT_R10G10B10A2_UINT\b/VK_FORMAT_A2B10G10R10_UINT_PACK32/g
s/VK_FORMAT_R10G10B10A2_SINT\b/VK_FORMAT_A2B10G10R10_SINT_PACK32/g
s/VK_FORMAT_B10G10R10A2_UNORM\b/VK_FORMAT_A2R10G10B10_UNORM_PACK32/g
s/VK_FORMAT_B10G10R10A2_SNORM\b/VK_FORMAT_A2R10G10B10_SNORM_PACK32/g
s/VK_FORMAT_B10G10R10A2_USCALED\b/VK_FORMAT_A2R10G10B10_USCALED_PACK32/g
s/VK_FORMAT_B10G10R10A2_SSCALED\b/VK_FORMAT_A2R10G10B10_SSCALED_PACK32/g
s/VK_FORMAT_B10G10R10A2_UINT\b/VK_FORMAT_A2R10G10B10_UINT_PACK32/g
s/VK_FORMAT_B10G10R10A2_SINT\b/VK_FORMAT_A2R10G10B10_SINT_PACK32/g
s/STR(R11G11B10_UFLOAT\b/STR(B10G11R11_UFLOAT_PACK32/g
s/STR(R9G9B9E5_UFLOAT\b/STR(E5B9G9R9_UFLOAT_PACK32/g
s/STR(D24_UNORM_X8\b/STR(X8_D24_UNORM_PACK32/g
s/STR(R10G10B10A2_UNORM\b/STR(A2B10G10R10_UNORM_PACK32/g
s/STR(R10G10B10A2_SNORM\b/STR(A2B10G10R10_SNORM_PACK32/g
s/STR(R10G10B10A2_USCALED\b/STR(A2B10G10R10_USCALED_PACK32/g
s/STR(R10G10B10A2_SSCALED\b/STR(A2B10G10R10_SSCALED_PACK32/g
s/STR(R10G10B10A2_UINT\b/STR(A2B10G10R10_UINT_PACK32/g
s/STR(R10G10B10A2_SINT\b/STR(A2B10G10R10_SINT_PACK32/g
s/STR(B10G10R10A2_UNORM\b/STR(A2R10G10B10_UNORM_PACK32/g
s/STR(B10G10R10A2_SNORM\b/STR(A2R10G10B10_SNORM_PACK32/g
s/STR(B10G10R10A2_USCALED\b/STR(A2R10G10B10_USCALED_PACK32/g
s/STR(B10G10R10A2_SSCALED\b/STR(A2R10G10B10_SSCALED_PACK32/g
s/STR(B10G10R10A2_UINT\b/STR(A2R10G10B10_UINT_PACK32/g
s/STR(B10G10R10A2_SINT\b/STR(A2R10G10B10_SINT_PACK32/g
Chia-I Wu [Tue, 10 Nov 2015 08:44:23 +0000 (16:44 +0800)]
bug 12998 part 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RGB_BLOCK/g
s/VK_FORMAT_ETC2_R8G8B8_SRGB\b/VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK/g
s/VK_FORMAT_ETC2_R8G8B8A1_SRGB\b/VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK/g
s/VK_FORMAT_ETC2_R8G8B8A8_SRGB\b/VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK/g
Mark Lobodzinski [Tue, 10 Nov 2015 18:01:32 +0000 (11:01 -0700)]
layers: LX190, Image layer doe snot recognize swapchain images
Image layer was using helper function limited only to header definitions,
ignoring the WSI extension images for image layouts.
Piers Daniell [Thu, 5 Nov 2015 23:58:26 +0000 (16:58 -0700)]
Reset the "access_flags" for each loop iteration
Without out this fix the access_flags will have KEY_WOW64_32KEY set for
all iterations except the first one.
Jon Ashburn [Fri, 6 Nov 2015 22:47:20 +0000 (15:47 -0700)]
vulkan: Bump header to API version 206
Jon Ashburn [Fri, 6 Nov 2015 22:31:44 +0000 (15:31 -0700)]
loader: Compile fixes to instance extension from rebase of bug 15068 changes
Chia-I Wu [Fri, 6 Nov 2015 02:29:05 +0000 (10:29 +0800)]
bug 15086: maxDrawIndirectInstanceCount?
s/maxDrawIndirectInstanceCount/maxDrawIndirectCount/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15086
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
bug 15085: queue creation naming issues
Manually rename arraySize and
s/queuePriorityCount/queueCount/g
s/requestedQueueCount/queueCreateInfoCount/g
s/pRequestedQueues/pQueueCreateInfos/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15085
Conflicts:
layers/draw_state.cpp
Chia-I Wu [Fri, 6 Nov 2015 02:37:51 +0000 (10:37 +0800)]
bug 15004: Non-coherent memory, when is flush and invalidate required
Add nonCoherentAtomSize.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15004
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
bug 15038: Need a way to express the total limit of resources per stage
Add maxPerStageResources.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15038
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
v205: bump API minor version
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
v204: bump API minor version
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
bug 15050: Add device limit for max number of input attachments
Add maxPerStageDescriptorInputAttachments and
maxDescriptorSetInputAttachments.
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15050
Chia-I Wu [Thu, 5 Nov 2015 22:42:02 +0000 (06:42 +0800)]
bug 15068: Use hardfp calling convention on Android for 32-bit ARM targets
Update python scripts.
s/(VKAPI \*/(VKAPI_PTR */g
s/void VKAPI\b/VKAPI_ATTR void VKAPI_CALL/g
s/VkResult VKAPI\b/VKAPI_ATTR VkResult VKAPI_CALL/g
s/PFN_vkVoidFunction VKAPI\b/VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL/g
s/void\* VKAPI\b/VKAPI_ATTR void* VKAPI_CALL/g
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15068
Jon Ashburn [Fri, 6 Nov 2015 21:31:07 +0000 (14:31 -0700)]
loader: Update calling conventions on instance extension functions
David Pinedo [Fri, 6 Nov 2015 21:32:33 +0000 (14:32 -0700)]
Merge branch 'david_include_change_20151106'
Move header files to include/vulkan
Jon Ashburn [Fri, 6 Nov 2015 18:02:40 +0000 (11:02 -0700)]
loader: Convert GetInstanceProcAddr and GetDeviceProcAddr over to new semantics
As per Vulkan bug 13288. Still need to handle device extensions correctly.
David Pinedo [Fri, 6 Nov 2015 19:54:48 +0000 (12:54 -0700)]
Moved header files from include to include/vulkan
Mark Lobodzinski [Fri, 6 Nov 2015 17:24:23 +0000 (10:24 -0700)]
layers: LX187: Change unused input WARN to PERF_WARN
Shaderchecker will now throw PERF_WARN messages for unused vertex
attributes or for unused inputs between shader stages.
Tony Barbour [Fri, 6 Nov 2015 17:10:37 +0000 (10:10 -0700)]
demos: Stage is no longer needed for demo_prepare_shader_module
Tobin Ehlis [Wed, 4 Nov 2015 20:30:34 +0000 (13:30 -0700)]
tests: Add InvalidDynamicOffsetCount validation test
This test hits the validation error case where a descriptorSet with a dynamic type is bound, but no dynamicOffest is provided.
Tobin Ehlis [Wed, 4 Nov 2015 19:28:28 +0000 (12:28 -0700)]
layers: Add DrawState check for correct dynamicOffsetCount
At vkCmdBindDescriptorSets() time, the dynamicOffsetCount must match the actual count of dynamic descriptors that are being bound. If not, validation flags an error of type DRAWSTATE_INVALID_DYNAMIC_OFFSET_COUNT.
Michael Lentine [Wed, 4 Nov 2015 22:35:12 +0000 (14:35 -0800)]
layers: Fix compilation on 32bit platforms
Merge Request 57
Remove use of nullptr for handles
Modify maps to use uint64_t
Modify overloaded functions to have different signatures
Conflicts:
vk-layer-generate.py
Michael Lentine [Wed, 4 Nov 2015 00:19:46 +0000 (16:19 -0800)]
layers: Fix printf formats
Add validation to printf format strings
Mark Lobodzinski [Thu, 5 Nov 2015 22:27:03 +0000 (15:27 -0700)]
layers: Fix GPA and debug output in swapchain layer
Mark Lobodzinski [Wed, 4 Nov 2015 20:49:48 +0000 (13:49 -0700)]
layers: Fix barrier access flag validation warnings in Cube.
Tobin Ehlis [Mon, 2 Nov 2015 22:24:32 +0000 (15:24 -0700)]
layers: Remove ObjectTracker check of pTexelBufferView array
The different UpdateDescriptorSets() cases are validated in DrawState. Skipping these object checks in ObjectTracker to avoid duplication and to avoid needing custom code gen to handle different update cases and their associated objects.
Updated InvalidBufferViewObject test to now catch descriptor error update instead of the ObjectTracker error.
Michael Lentine [Thu, 29 Oct 2015 17:41:47 +0000 (10:41 -0700)]
layers: Validate Flush/Invalidate ranges.
Merge Request 53
Conflicts:
layers/mem_tracker.cpp
layers/mem_tracker.h
Mark Lobodzinski [Wed, 4 Nov 2015 20:51:23 +0000 (13:51 -0700)]
layers: Fix some bugs in the memory barrier validation code
Fix some merge-request related issues in DrawState
Jon Ashburn [Tue, 3 Nov 2015 20:46:15 +0000 (13:46 -0700)]
vktrace: Update authorship for generated files
Jon Ashburn [Tue, 3 Nov 2015 20:41:23 +0000 (13:41 -0700)]
layers: update copyright and authorship on some files
Jon Ashburn [Tue, 3 Nov 2015 18:57:00 +0000 (11:57 -0700)]
misc: Fix build errors from the author changes
Courtney Goeltzenleuchter [Fri, 30 Oct 2015 17:14:30 +0000 (11:14 -0600)]
misc: Update author information
Author information was added to any file
with the standard license text.
Authors were added that added/changed >= 3%
of the lines of a file.
Courtney Goeltzenleuchter [Thu, 29 Oct 2015 19:50:34 +0000 (13:50 -0600)]
misc: switch copyright to Valve
Courtney Goeltzenleuchter [Thu, 29 Oct 2015 19:17:36 +0000 (13:17 -0600)]
misc: Remove Vulkan name from Copyright
Michael Lentine [Wed, 4 Nov 2015 00:18:46 +0000 (16:18 -0800)]
Add skip call to the shader checker.
Courtney Goeltzenleuchter [Fri, 30 Oct 2015 21:19:27 +0000 (15:19 -0600)]
misc: Remove glsl backdoor
SPIR-V support is now supported well enough in IHV's
drivers that we don't have to send GLSL directly anymore
so remove that from cube and tri demos.
Michael Lentine [Wed, 28 Oct 2015 23:26:14 +0000 (16:26 -0700)]
layers: Add map range validation.
Merge Request 52
Michael Lentine [Wed, 28 Oct 2015 22:55:18 +0000 (15:55 -0700)]
layers: Add Secondary Command Buffer Validation.
Merge Request 51
Conflicts:
layers/draw_state.cpp
Mark Lobodzinski [Wed, 28 Oct 2015 19:03:56 +0000 (13:03 -0600)]
layers: Fix some merge-related issues in demos and tests
Michael Lentine [Fri, 16 Oct 2015 23:08:09 +0000 (18:08 -0500)]
Add validation for masks in barriers
Michael Lentine [Fri, 23 Oct 2015 19:41:44 +0000 (12:41 -0700)]
Add layout validation for mapped images.
Michael Lentine [Thu, 15 Oct 2015 22:07:00 +0000 (17:07 -0500)]
Add validation for barriers within render passes.
Conflicts:
layers/draw_state.cpp