aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-27cube: Removed some #if 0's that had bee left in the code.Ian Elliott
2015-10-27tri/cube: Handle window resizes (from WSI or XCB).Ian Elliott
If either vkAcquireNextImageKHR() or vkQueuePresentKHR() return VK_ERROR_OUT_OF_DATE, a new demo_resize() function is called, that replaces the current state, command buffers, swapchain, etc, with new ones that reflect the new size of the window. As part of this, the app picks up the window size from vkGetSurfacePropertiesKHR(). The same occurs if the application receives an XCB_CONFIGURE_NOTIFY event, with a changed window size.
2015-10-27layers: Improve DrawState Descriptor validationTobin Ehlis
Adding further validation for the contents of vkUpdateDescriptorSets() call. Make sure that provided sampler/image/buffer data is consistent with type and layout of the update. For imageView updates, make sure that aspect bits are set correctly for Color and DS images and make sure that the imageLayout is compatible with the underlying image format. This results in 4 new validation checks: DRAWSTATE_SAMPLER_DESCRIPTOR_ERROR DRAWSTATE_IMAGEVIEW_DESCRIPTOR_ERROR DRAWSTATE_BUFFERVIEW_DESCRIPTOR_ERROR DRAWSTATE_BUFFERINFO_DESCRIPTOR_ERROR Each of the new checks has a basic check to verify that the underlying Vk object (sampler, imageview, bufferview, buffer) for the respective type of check is valid. The ImageView error also includes cases where format of the image is not consistent with the layout (Color vs DS). Also added some enhancements to existing check: DRAWSTATE_INVALID_IMAGE_ASPECT - verify D&S bits not both set, but that one is for a DS layout, verify COLOR bit set for Color layout This change included adding and/or enhancing the tracking in DrawState for image[View] and buffer[View]. There is documentation for each of the new checks. There are new tests added for each of the new error cases as well as the ASPECT error case.
2015-10-26layers: Modify Image layer to store IMAGE_STATE structs instead of their ↵Tobin Ehlis
unique_ptrs
2015-10-26loader: Check for NULL ICD in CreateDeviceJon Ashburn
Related to lunargxchange #163
2015-10-26misc: Bump to header version 183Courtney Goeltzenleuchter
2015-10-26draw_state: Remove obsolete checkCourtney Goeltzenleuchter
2015-10-26bug-14827: Remove DescriptorInfo unionCourtney Goeltzenleuchter
The DescriptorInfo union is invalid in C++
2015-10-26bug-14258: Remove maxCommandBuffersCourtney Goeltzenleuchter
commit #53c2f7e
2015-10-26layers: Update ObjectTracker to handle double-embedded loops of array struct ↵Tobin Ehlis
params w/ object arrays in them ObjectTracker still only goes 1-level deep on object validation so if an array struct param has an embedded struct that then has an object, validating those objects is not yet done by ObjectTracker.
2015-10-26layers: Fix objectTracker to validate DSs in CmdBindDescriptorSets()Tobin Ehlis
2015-10-26bug-14258: Make descriptor pools and command pools more consistentCourtney Goeltzenleuchter
2015-10-26misc: bump to header version 182Courtney Goeltzenleuchter
2015-10-26bug-14575: normalized queue prioritiesCourtney Goeltzenleuchter
2015-10-26Bug 14789: Clean up limit structureCourtney Goeltzenleuchter
2015-10-26layers: Fix windows build errorMark Lobodzinski
Image layer had a list initialzation inside a member initializer list
2015-10-26layers: Add state-dependent image aspect/format checksMark Lobodzinski
2015-10-23misc: Update header to v181Courtney Goeltzenleuchter
2015-10-23bug-14827: Make DescriptorInfo a union of bufferInfo, imageInfo, and bufferViewCourtney Goeltzenleuchter
2015-10-23bug-14786: CmdBufferOptimizeFlags -> CmdBufferUsageFlagsCourtney Goeltzenleuchter
2015-10-23bug-14786: Addressing layered subresources in vkCmdCopyImageCourtney Goeltzenleuchter
commit: ad27e2b Attempt at naming consistency
2015-10-23bug-14786: minor renamesCourtney Goeltzenleuchter
2015-10-23misc: Change clear rectangle to include array layer/countCourtney Goeltzenleuchter
commit: 53a511d
2015-10-23bug-14542: Remove VK_UNSUPPORTED from success return codesCourtney Goeltzenleuchter
2015-10-23WIP bug-14815: VkShaderStageCourtney Goeltzenleuchter
2015-10-23WIP bug-14815: VkImageAspectCourtney Goeltzenleuchter
2015-10-23misc: Bump header version to v180Courtney Goeltzenleuchter
2015-10-23misc: change is unneeded?Courtney Goeltzenleuchter
2015-10-23bug-14746: add batched submit for semaphores and command buffersCourtney Goeltzenleuchter
2015-10-23misc: match upstream header v179Courtney Goeltzenleuchter
2015-10-23Bug 14621: Change vkGet* functions to not return VkResultCourtney Goeltzenleuchter
2015-10-23bug-14580: add dataSize to vkGetPipelineCacheDataCourtney Goeltzenleuchter
commit: aaa2ae0
2015-10-23bug-14809: Need VK_ERROR_FEATURE_NOT_PRESENTCourtney Goeltzenleuchter
2015-10-23misc: make enum boundary names consistentCourtney Goeltzenleuchter
2015-10-23bug-14808: report number of valid bits in timesampsCourtney Goeltzenleuchter
2015-10-23misc: upstream header v176Courtney Goeltzenleuchter
2015-10-23misc: Remove WRITE_COMBINEDCourtney Goeltzenleuchter
2015-10-23misc: Fix compile warnings about undefined _MSC_VERCourtney Goeltzenleuchter
commit: a500fc4
2015-10-23bug-14737: Move alphaToCoverageEnable to MultisampleStateCreateInfoCourtney Goeltzenleuchter
2015-10-23bug-14646: remove VK_SUBPASS_DESCRIPTION_NO_OVERDRAW_BITCourtney Goeltzenleuchter
commit: 854f367
2015-10-23misc: bump header version 174Courtney Goeltzenleuchter
2015-10-23bug-14084: Replace abbreviations in VkQueryPipelineStatisticFlagsCourtney Goeltzenleuchter
2015-10-23bug-14531: Expand tess abbreviation to tessellationCourtney Goeltzenleuchter
2015-10-23misc: Bump header to align with upstreamCourtney Goeltzenleuchter
2015-10-23bug-14642: Rename queueRecordCount to requestedQueueCountCourtney Goeltzenleuchter
2015-10-23misc: Bump header to align with upstreamCourtney Goeltzenleuchter
2015-10-23bug-14291: combine color and depth/stencil clearsCourtney Goeltzenleuchter
2015-10-23misc: Rename depthClip to depthClampCourtney Goeltzenleuchter
Implementations will need to invert their behavior. commit: 60a6646e24e58b1e2c44ea8eeb1017fc133593a1
2015-10-23demos: Check all return valuesTony Barbour
2015-10-23Return empty string instead of nullMichael Lentine