aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-26added gcc versions of aligned mallocDerrick Owens
2016-01-26fixed custom allocator aligned memory allocations in tri sample.unknown
fixed x86 compilation.
2016-01-25FIXES: Non-MSVC compilers on Windows were failing.Mark Young
Fixes LunarXchange Issue #301.
2016-01-25BUILD: Modified CMake ImageMagick detection logic to work with CMake 2.8.Mark Young
Modified CMake ImageMagick detection logic to work with CMake 2.8.
2016-01-25BUILD: Have git ignore the new build32 folder.Mark Young
2016-01-25SAMPLES: Fixed memory leak in of presentMode data.Mark Young
We were leaking the presentMode array data, now it's freed.
2016-01-25INSTALLER: Moved vulkaninfo 32-bit start menu link before 64-bit version.Mark Young
Perform the 32-bit vulkaninfo start menu link creation prior to the 64-bit so that the 64-bit one appears by default.
2016-01-25BUILD: Fixed more compilation warnings on 32-bit Windows builds.Mark Young
Fixed more compilation warnings on 32-bit Windows builds.
2016-01-25LOADER: Add 32-bit vulkaninfo link to start menu.Mark Young
Add 32-bit vulkaninfo link to start menu.
2016-01-25Loader: Fix 32-bit Cmake detection of ImageMagickMark Young
Older versions of Cmake didn't like the newer script.
2016-01-25DOCS: Updated LoaderAndTools doc to indicate updated ImageMagick requirements.Mark Young
Updated docs to indicate that both 32-bit and 64-bit installs of ImageMagick are required.
2016-01-25Installer: Clean up powershell header comment.Mark Young
Clean up the ConfigLayersAndVulkanDll header comment.
2016-01-25Installer: 32-bit installer changes to get working on 64-bit system.Mark Young
These changes allow the installation of 32-bit items onto a 64-bit system.
2016-01-25Installer: Added changes to detect 32-bit layers on 64-bit system.Mark Young
Added changes to detect 32-bit layers on 64-bit system.
2016-01-25Installer: Minor cleanupMark Young
Modified size and added a clearer comment.
2016-01-25Installer: Changes for 32-bit installerMark Young
Installer/scripts should now support 32-bit OS.
2016-01-25Installer: More work towards 32-bit installer for 32-bit OSMark Young
Removed unnecessary code in update_external_sources batch, and added initial 32-bit path in installer.
2016-01-25Installer: Add support to install 32-bit vulkaninfoMark Young
Add support to install 32-bit vulkaninfo
2016-01-25LOADER/INSTALLER: Add support for 32-bit install in Win64 installerMark Young
Added ability to install 32-bit and 64-bit Loader into the Win64 installer.
2016-01-25Win32: Get 32-bit Windows build workingMark Young
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
2016-01-25layers: LX306, Fix NPE in draw_stateMark Lobodzinski
Fixed a case where getCBNode returned NULL but cleanInFlightcmdBuffer used the result.
2016-01-25loader: Disable using CreateInstance allocation callbacksJon Ashburn
Workaround for cts to work.
2016-01-25Added one more license to list of licensesDavid Pinedo
2016-01-25demos: Select queue family based on both graphics and present supportTony Barbour
2016-01-25LAYERS: More 32-bit fixes caused by recent commits.Mark Young
Had to fix more 32-bit build issues caused by recent commits.
2016-01-25Win32: Get 32-bit Windows build workingMark Young
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
2016-01-25BUILD: Fix build of draw_state.cpp with VS 2015.Mark Young
Added /bigobj to Debug build of all layer files when using VS 2015 or newer.
2016-01-25BUILD: Moved 64-bit source dir back to build from build64.Mark Young
Moved 64-bit source dir back to build from build64 to be backwards compatible.
2016-01-25Win32: Get 32-bit Windows build workingMark Young
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
2016-01-25BuildFixes: Hard-code Win64 in Visual Studio detect scriptMark Young
We don't officially support Win32 yet, so hard-code Win64 to protect the build.
2016-01-25BuildFixes: Fixed update_external_sources batch file for Windows build.Mark Young
Code to detect Visual Studio version was encapsulated in a local section.
2016-01-23layers: LX300, Conditionally validate pInheritanceInfo in object_trackerMark Lobodzinski
In BeginCommandBuffers, pInheritance may be non-NULL but should only be validated if it is part of a secondary command buffer. Added status flag for this setting in AllocateCommandBuffers and added code-gen for this special case to the layer generation code and made the routine (dereference_conditionally) general-purpose.
2016-01-23layers: LX295, fix draw_state vkCreateDescriptorPool range sizesMark Lobodzinski
Was set to VK_DESCRIPTOR_TYPE_END_RANGE, should have been VK_DESCRIPTOR_TYPE_RANGE_SIZE
2016-01-22shader compiler: map VertexIndex to VertexIDGregF
This is not a perfect implementation of VertexIndex. It assumes a base of zero. Also pickup latest LunarGLASS that (truly) supports VertexIndex Also re-enable ir_validate for undeclared variables
2016-01-22layers: Only set up tracking for new descriptors if allocation succeeded.Chris Forbes
It's possible for this call to fail -- the pool is exhausted, or the request was simply bogus. In these cases, the returned descriptor set handles are meaningless. Don't shove them in our hashtables. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-01-22nulldrv: Set memory type mask for buffers.Chris Forbes
Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-01-22nulldrv: fill out physical device memory infoChris Forbes
Previously we just left this filled with junk. Signed-off-by: Chris Forbes <chrisforbes@google.com>
2016-01-22layers: Fix draw_state validation of descriptor updates with imagesTobin Ehlis
Earlier fix was broken b/c we didn't have format of swapchain images. This fix adds the format to imageLayoutMap IMAGE_NODE struct, which contains all images created via vkCreateImage() as well as all swapchain images fetched via vkGetSwapchainImagesKHR(). This required enhancing the SWAPCHAIN_NODE to include the createInfo. Since this has a dangling ptr for queueIndices, added a constructor and destructor to that struct to handle allocation and clean-up of that ptr.
2016-01-22misc: bump to header 1.0.2Jon Ashburn
2016-01-22layers: MR153, Correctly track inFlight cmdBuffers per queueTobin Ehlis
There were per-queue vectors of the cmdBuffers in flight, but they were not being consistently used/updated. This change keeps two sets of inFlight cmdBuffers: one globally for all cmdBuffers on the device, and one for each queue. Ideally we could just track per-queue, but secondary command buffers are an exception that's considered "in-flight" from the time they're recorded in a primary command buffer with the vkCmdExecuteCommands() call so having a global list provides a way to account for that. Command buffers are added into both the global inFlight set and the individual queue set at QueueSubmit time. When cleaning up command buffers based on fences or Idle waits, correctly remove the cmdBuffers from the appropriate queue inFlight set. Also, if the cmdBuffer is not inFlight on any other queues, remove it from the the global inFlight set. Removed the deviceMap as it was only being used to hold a vector of queues. Since layer_data struct is already per-device, just moved vector of queues directly into layer_data struct.
2016-01-22layers: MR150, Fix render pass graphics checksMichael Lentine
Make sure that VK_SUBPASS_EXTERNAL is handled properly.
2016-01-22layers: MR139, draw_state VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT checksTobin Ehlis
Added a set to track which secondary cmdBuffers are contained within a primary cmdBuffer. Added new DRAWSTATE_INVALID_CB_SIMULTANEOUS_USE enum value for new error/warning cases, along with line in documentation. New validation issues and state updates are listed below. While tracking cmdBuffers at QueueSubmit time: 1. Flag an error if a cmdBuffer is already in flight and does not have VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT set 2. Account for tracking of secondary cmdBuffers (and their in_use resources) that are submitted within a primary command buffer When submitting secondary command buffers into primary command buffer at CmdExecuteCommands time: 1. Flag an error if secondary cmdBuffer is in flight and doesn't have VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT set. 2. Warn user if secondary cmdBuffer doesn't have VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT set but primary cmdBuffer does. This causes primary cmdBuffer to be treated as if VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT isn't set. 3. Add secondary cmdBuffers to set off of primary cmdBuffer for tracking purposes 4. Add secondary cmdBuffers to inFlight set
2016-01-22layers: MR137, Flag error if set updated or freed while in useTobin Ehlis
It is illegal to free or update a descriptorSet that is in use. Updated SET_NODE to inherit from BASE_NODE for in_use tracking. At the time that Draws are recorded into the cmdBuffer, capture any active sets for that cmdBuffer into std::set<VkDescriptorSet> activeSets. At the time vkCmdBindDescriptorSets is recoreded in cmdBuffer, flag descriptor sets as in use. At the time a set is freed, flag an error if set is in use.
2016-01-21glslang: bump up glslang and spirv-tools versions for ISV releaseGregF
2016-01-21shader compiler: add new VertexIndexGregF
2016-01-21Make cJSON case-sensitiveAntoine Labour
2016-01-20debug_report: Integrate review feedbackCourtney Goeltzenleuchter
Conflicts: include/vulkan/vk_ext_debug_report.h Conflicts: include/vulkan/vk_ext_debug_report.h
2016-01-20layers: Fix screenshot to intercept CreateInstance so it canbe on instance chainJon Ashburn
2016-01-20vktrace: Get partially working again with the new loader/layer interfaceJon Ashburn
2016-01-20layers: Remove obsolete VkbaseLayerObjectJon Ashburn