aboutsummaryrefslogtreecommitdiff
path: root/layers/swapchain.cpp
AgeCommit message (Collapse)Author
2016-01-06Bug 15392 (Swapchain): Don't check VkPresentInfoKHR's waitSemaphoreCount & ↵Ian Elliott
pWaitSemaphores The VkPresentInfoKHR's waitSemaphoreCount may be zero and pWaitSemaphores may be NULL. These are optional values.
2016-01-06Swapchain: Use an INFO instead of an ERROR for when pNext is non-NULL.Ian Elliott
This is a compromise. Currently, this is an error situation. However, another extension could be added that uses pNext, and then if the Swapchain layer isn't updated, a false-error situation could occur. By using an INFO message, the user is still alerted of the possibility of a problem, but won't be annoyed in the case of a new extension.
2016-01-06Swapchain: Change way p*Count is checked--make sure not bigger than should be.Ian Elliott
2016-01-06Swapchain: Only check that queueFamilyIndexCount is greater than 0.Ian Elliott
From review feedback. We're not sure, and so we won't check that it is greater than 1.
2016-01-06Swapchain: Update my authorship to include Google.Ian Elliott
2016-01-06Swapchain: No longer validate VkSwapchainKHR (object_track will do) ...Ian Elliott
Actually, leave one VkSwapchainKHR check in. This is checking the pCreateInfo->oldSwapchain value, which I'm not sure object_track will look for). Can remove this later, if object_track does check this.
2016-01-06Swapchain: No longer validate VkDevice (object_track will do).Ian Elliott
2016-01-06Swapchain: No longer validate VkPhysicalDevice (object_track will do).Ian Elliott
2016-01-06Swapchain: No longer validate VkInstance (object_track will do).Ian Elliott
2016-01-06Swapchain: Remove tracking/validation of VkSurfaceKHR object.Ian Elliott
The object_track layer will do this.
2016-01-06Bug 15383 (Swapchain): Treat VkSurfaceKHR as opaque--don't look inside it.Ian Elliott
2016-01-06Swapchain: Track/use enablement of the WSI platform extensions.Ian Elliott
The old code either wasn't checking, or was using the enablment of the surface extension instead of the correct platform extension
2016-01-06Swapchain: Fixes and improvements validating vkCreate*SurfaceKHR().Ian Elliott
2016-01-06Swapchain: Fixes and improvements validating vkAcquireNextImageKHR().Ian Elliott
2016-01-06Swapchain: Fixes and improvements validating vkQueuePresentKHR().Ian Elliott
2016-01-06Swapchain: Fixes and improvements validating vkCreateSwapchainKHR().Ian Elliott
2016-01-06Swapchain: Rework the way that pCount is dealt with.Ian Elliott
2016-01-06Swapchain: Added NULL_POINTER checks & pCount checks.Ian Elliott
2016-01-06Swapchain: Update TODOsIan Elliott
2016-01-06Swapchain: Support vkGetPhysicalDevice*PresentationSupportKHR().Ian Elliott
2016-01-06Swapchain: Port to latest (v217) WSI & VK_EXT_debug_report extensions.Ian Elliott
2016-01-06Swapchain: Enhance validation of vkCreateSwapchainKHR().Ian Elliott
2016-01-06Swapchain: Replace implementation of presentModeStr()Ian Elliott
2016-01-06Swapchain: Rename deviceSwapchainExtensionEnabled->swapchainExtensionEnabledIan Elliott
2016-01-06Swapchain: Rename swapchainExtensionEnabled->surfaceExtensionEnabledIan Elliott
2016-01-06Swapchain: Start validating the new VkSurfaceKHR object.Ian Elliott
Do so for Android as well as the Linux/Windows "platforms".
2016-01-04layers: Enable fine-grained filtering of swapchain log messagesMark Lobodzinski
2015-12-30layers: Rename Layer/library/json files for consistencyMark Lobodzinski
Renamed layers from (for example) xxx_DrawState to xxx_draw_state Renamed JSON files Renamed libraries Renamed object_track.* to object_tracker.* Renamed apidump.h to api_dump.h Renamed screen_shot layer to screenshot Renamed APIDump layer settings file options to ApiDump Bug fixes here and there from prior renames
2015-12-17debug_report: Update extension nameCourtney Goeltzenleuchter
2015-12-17debug_report: rename object type and error bitsCourtney Goeltzenleuchter
Conflicts: demos/tri.c layers/device_limits.cpp layers/draw_state.cpp layers/image.cpp layers/mem_tracker.cpp layers/param_checker.cpp layers/vk_layer_logging.h loader/debug_report.c tests/layer_validation_tests.cpp
2015-12-17layers: Add support for DebugReportMessageLUNARGCourtney Goeltzenleuchter
2015-12-17layers: export debug_report extensionCourtney Goeltzenleuchter
Need the EnumerateInstanceExtensionProperties to report support for the debug report extension as well as in the json file because different platforms will use either the json file (Windows & Linux) or the Enumerate call (Android).
2015-12-17debug_report: rename and update to use CreateInfoCourtney Goeltzenleuchter
2015-12-17debug_report: Rename VkDbgMsgCallback objectCourtney Goeltzenleuchter
2015-12-15layers: Add allocator to layer init functionsCourtney Goeltzenleuchter
Conflicts: layers/shader_checker.cpp
2015-12-15layers: Rename DebugReport flagsCourtney Goeltzenleuchter
Conflicts: layers/mem_tracker.cpp Conflicts: layers/draw_state.cpp
2015-12-11layers: LX229, Fix swapchain layer imageArrayLayers caps checkMark Lobodzinski
2015-12-01layers: Fix swapchain layer errorsMark Lobodzinski
Part of bringing WSI to header version 210
2015-12-01wsi: Various fixes and Windows build issuesMark Lobodzinski
2015-12-01swapchain: Can build after major updates for new WSI (works?)Ian Elliott
Plus: Move 3 entrypoints from GDPA to GIPA
2015-12-01WSI: sed-generated changes to WSI code (not all that's needed).Ian Elliott
Conflicts: demos/cube.c demos/tri.c demos/vulkaninfo.c icd/common/icd.h loader/loader.h
2015-11-06bug 15068: Use hardfp calling convention on Android for 32-bit ARM targetsChia-I Wu
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
2015-11-05layers: Fix printf formatsMichael Lentine
Add validation to printf format strings
2015-11-05layers: Fix GPA and debug output in swapchain layerMark Lobodzinski
2015-11-04misc: Update author informationCourtney Goeltzenleuchter
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.
2015-11-04misc: switch copyright to ValveCourtney Goeltzenleuchter
2015-11-04misc: Remove Vulkan name from CopyrightCourtney Goeltzenleuchter
2015-11-02bug 14921 part 1: sed renamesChia-I Wu
Workaround header bug (ALLOC_INFO vs AllocateInfo) in vk_helper.py. This affects the debug extensions as well. s/NONDISP/NON_DISPATCHABLE/g s/CmdBuffer/CommandBuffer/g s/cmdBuffer/commandBuffer/g s/CMD_BUFFER/COMMAND_BUFFER/g s/AllocMemory/AllocateMemory/g s/AllocDescriptorSets/AllocateDescriptorSets/g s/AllocCommandBuffers/AllocateCommandBuffers/g s/VkAllocCallbacks/VkAllocationCallbacks/g s/VkSystemAllocScope/VkSystemAllocationScope/g s/allocScope/allocationScope/g s/allocType/allocationType/g s/pfnAlloc\b/pfnAllocation/g s/pfnRealloc\b/pfnReallocation/g s/VK_SYSTEM_ALLOC_/VK_SYSTEM_ALLOCATION_/g s/extName/extensionName/g s/implVersion/implementationVersion/g s/pAppInfo/pApplicationInfo/g s/pMem\b/pMemory/g s/VkMemoryAllocInfo/VkMemoryAllocateInfo/g s/VkDescriptorSetAllocInfo/VkDescriptorSetAllocateInfo/g s/CmdPool/CommandPool/g s/cmdPool/commandPool/g s/CMD_POOL/COMMAND_POOL/g s/VkCommandBufferAllocInfo/VkCommandBufferAllocateInfo/g s/maxTessellationGenLevel/maxTessellationGenerationLevel/g s/maxFragmentDualSourceAttachments/maxFragmentDualSrcAttachments/g s/destSubpass/dstSubpass/g s/destStageMask/dstStageMask/g s/dualSourceBlend/dualSrcBlend/g s/destBlendColor/dstBlendColor/g s/destBlendAlpha/dstBlendAlpha/g s/VK_FORMAT_NUM/VK_FORMAT_RANGE_SIZE/g s/VK_DYNAMIC_STATE_NUM/VK_DYNAMIC_STATE_RANGE_SIZE/g s/pAppName/pApplicationName/g s/appVersion/applicationVersion/g s/numLevels/levelCount/g s/numLayers/layerCount/g s/destOffset/dstOffset/g s/destSubresource/dstSubresource/g s/VK_IMAGE_LAYOUT_TRANSFER_SOURCE_OPTIMAL/VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL/g s/VK_IMAGE_LAYOUT_TRANSFER_DESTINATION_OPTIMAL/VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL/g s/VK_IMAGE_USAGE_TRANSFER_SOURCE_BIT/VK_IMAGE_USAGE_TRANSFER_SRC_BIT/g s/VK_IMAGE_USAGE_TRANSFER_DESTINATION_BIT/VK_IMAGE_USAGE_TRANSFER_DST_BIT/g s/destBuffer/dstBuffer/g s/destQueueFamilyIndex/dstQueueFamilyIndex/g s/destSet/dstSet/g s/destBinding/dstBinding/g s/destArrayElement/dstArrayElement/g s/VK_BLEND_DEST_COLOR/VK_BLEND_DST_COLOR/g s/VK_BLEND_ONE_MINUS_DEST_COLOR/VK_BLEND_ONE_MINUS_DST_COLOR/g s/VK_BLEND_DEST_ALPHA/VK_BLEND_DST_ALPHA/g s/VK_BLEND_ONE_MINUS_DEST_ALPHA/VK_BLEND_ONE_MINUS_DST_ALPHA/g s/VK_FORMAT_FEATURE_BLIT_SOURCE_BIT/VK_FORMAT_FEATURE_BLIT_SRC_BIT/g s/VK_FORMAT_FEATURE_BLIT_DESTINATION_BIT/VK_FORMAT_FEATURE_BLIT_DST_BIT/g s/VK_BUFFER_USAGE_TRANSFER_SOURCE_BIT/VK_BUFFER_USAGE_TRANSFER_SRC_BIT/g s/VK_BUFFER_USAGE_TRANSFER_DESTINATION_BIT/VK_BUFFER_USAGE_TRANSFER_DST_BIT/g s/VK_COMPARE_OP_LESS_EQUAL/VK_COMPARE_OP_LESS_OR_EQUAL/g s/VK_COMPARE_OP_GREATER_EQUAL/VK_COMPARE_OP_GREATER_OR_EQUAL/g s/VkPipelineRasterStateCreateInfo/VkPipelineRasterizationStateCreateInfo/g s/rasterSamples/rasterizationSamples/g s/pRasterState/pRasterizationState/g s/VK_FRONT_FACE_CCW/VK_FRONT_FACE_COUNTER_CLOCKWISE/g s/VK_FRONT_FACE_CW/VK_FRONT_FACE_CLOCKWISE/g s/VK_PRIMITIVE_TOPOLOGY_LINE_LIST_ADJ/VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_ADJ/VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_ADJ/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_ADJ/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY/g s/VK_STENCIL_OP_INC_CLAMP/VK_STENCIL_OP_INCREMENT_AND_CLAMP/g s/VK_STENCIL_OP_DEC_CLAMP/VK_STENCIL_OP_DECREMENT_AND_CLAMP/g s/VK_STENCIL_OP_INC_WRAP/VK_STENCIL_OP_INCREMENT_AND_WRAP/g s/VK_STENCIL_OP_DEC_WRAP/VK_STENCIL_OP_DECREMENT_AND_WRAP/g s/VK_LOGIC_OP_NOOP/VK_LOGIC_OP_NO_OP/g s/VK_LOGIC_OP_EQUIV\b/VK_LOGIC_OP_EQUIVALENT/g s/memBarrierCount/memoryBarrierCount/g s/ppMemBarriers/ppMemoryBarriers/g s/destImage/dstImage/g s/destImageLayout/dstImageLayout/g s/destCache/dstCache/g s/memOffset/memoryOffset/g s/vk_print_vkmemoryallocinfo/vk_print_vkmemoryallocateinfo/g s/pAllocInfo/pAllocateInfo/g s/memRangeCount/memoryRangeCount/g s/pMemRanges/pMemoryRanges/g s/VK_IMAGE_TYPE_NUM/VK_IMAGE_TYPE_RANGE_SIZE/g s/VK_PIPELINE_BIND_POINT_NUM/VK_PIPELINE_BIND_POINT_RANGE_SIZE/g s/vk_size_vkdescriptorsetallocinfo/vk_size_vkdescriptorsetallocateinfo/g s/remap_cmdbuffers/remap_commandbuffers/g s/remap_cmdpool/remap_commandpool/g s/add_to_cmdbuffers_map/add_to_commandbuffers_map/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14921 a
2015-11-02bug 12921: Memory callback (WIP)Chia-I Wu
The per-object allocator is ignored for now. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=12921
2015-11-02bug 14892: 'count' parameters and members named inconsistently in many cases ↵Chia-I Wu
(WIP) s/waitSemCount/waitSemaphoreCount/g s/signalSemCount/signalSemaphoreCount/g s/cmdBufferCount/commandBufferCount/g s/queueFamilyCount/queueFamilyIndexCount/g s/layerCount/enabledLayerNameCount/g s/extensionCount/enabledExtensionNameCount/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892