V-EZ
V-EZ copied to clipboard
In Device.cpp, MapBuffer completely ignores offset creating issues if you are mapping a region of a buffer. Replace with something more like this: ``` VkResult Device::MapBuffer(Buffer* pBuffer, VkDeviceSize offset, VkDeviceSize...
I've contacted author @soconne of V-EZ hoping to become a maintainer of this repo, but unfortunately it's not possible.  Our company's open-source division is willing to maintain it, but...
DescriptorPool leaks descriptor sets when the number of descriptor sets exceeds the `m_maxSetsPerPool` value. The reason is simple : in `FreeDescriptorSets` we override `m_currentAllocationPoolIndex` by the freed descriptor set pool...
Make the following change in Device.cpp to fix this, it is incorrectly ignoring the .z offset when deciding the current offset. ``` // Each depth layer in a 3D texture...
Begin/EndRenderPass with CLEAR and STORE, but no draw calls won't actually clear and store [fixed]
I don't know if this is a complete fix, but these are the changes that I found to fix the most common case: ``` void StreamEncoder::CmdBeginRenderPass(const VezRenderPassBeginInfo* pBeginInfo) SubpassDesc firstSubpass...
This is because they are coming from an unordered_map and the sets might get shuffled around, the following code in Pipeline.cpp inserts them into a vector in essentially random order:...
There can be a divide by zero on this line when `numBlocksX` is zero, which occurs for small / mip textures. ``` VkResult Device::CompressedImageSubData(Image* pImage, const VezImageSubDataInfo* pSubDataInfo, const void*...
If you have multiple pipelines where the only difference is color blend state, the pipeline cache may choose the wrong cached pipeline. This is caused by GraphicsState hash being computed...
Seeing a pipeline barrier issue with srcAccessMask Reported as ``` Vulkan (Error) : Validation Error: [ VUID-VkSubpassDependency-srcAccessMask-00868 ] Object 0: handle = 0x19e8cf5c440, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x2ef6351e...
When no pipelines are used in a pass, `CmdClearAttachments` has no effect. This is because `RenderPassCache::CreateRenderPass` will flag color attachment as `VK_ATTACHMENT_UNUSED` when no pipelines are used. One possible solution...