| Age | Commit message (Collapse) | Author |
|
|
|
fixed x86 compilation.
|
|
Fixes LunarXchange Issue #301.
|
|
Modified CMake ImageMagick detection logic to work with CMake 2.8.
|
|
|
|
We were leaking the presentMode array data, now it's freed.
|
|
Perform the 32-bit vulkaninfo start menu link creation prior to the 64-bit so that the 64-bit one appears by default.
|
|
Fixed more compilation warnings on 32-bit Windows builds.
|
|
Add 32-bit vulkaninfo link to start menu.
|
|
Older versions of Cmake didn't like the newer script.
|
|
Updated docs to indicate that both 32-bit and 64-bit installs of ImageMagick are required.
|
|
Clean up the ConfigLayersAndVulkanDll header comment.
|
|
These changes allow the installation of 32-bit items onto a 64-bit system.
|
|
Added changes to detect 32-bit layers on 64-bit system.
|
|
Modified size and added a clearer comment.
|
|
Installer/scripts should now support 32-bit OS.
|
|
Removed unnecessary code in update_external_sources batch, and added initial 32-bit path in installer.
|
|
Add support to install 32-bit vulkaninfo
|
|
Added ability to install 32-bit and 64-bit Loader into the Win64 installer.
|
|
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
|
|
Fixed a case where getCBNode returned NULL but cleanInFlightcmdBuffer
used the result.
|
|
Workaround for cts to work.
|
|
|
|
|
|
Had to fix more 32-bit build issues caused by recent commits.
|
|
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
|
|
Added /bigobj to Debug build of all layer files when using VS 2015 or newer.
|
|
Moved 64-bit source dir back to build from build64 to be backwards compatible.
|
|
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
|
|
We don't officially support Win32 yet, so hard-code Win64 to protect the build.
|
|
Code to detect Visual Studio version was encapsulated in a local section.
|
|
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.
|
|
Was set to VK_DESCRIPTOR_TYPE_END_RANGE, should have been
VK_DESCRIPTOR_TYPE_RANGE_SIZE
|
|
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
|
|
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>
|
|
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
Previously we just left this filled with junk.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
|
|
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.
|
|
|
|
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.
|
|
Make sure that VK_SUBPASS_EXTERNAL is handled properly.
|
|
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
|
|
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.
|
|
|
|
|
|
|
|
Conflicts:
include/vulkan/vk_ext_debug_report.h
Conflicts:
include/vulkan/vk_ext_debug_report.h
|
|
|
|
|
|
|