Closed oscarbg closed 6 years ago
Thanks! I'll take a look and merge it into the master.
Implemented VK_KHR_get_physical_device_properties2 and expose conservative rasterization extension (not implemented so far). The crash is caused by buffer copy (https://github.com/SaschaWillems/Vulkan/issues/430). The staging buffer is (currently) aligned for TRANSFER_SRC usage to a D3D12 texture data alignment value. To workaround this issue, the region size (https://github.com/SaschaWillems/Vulkan/blob/master/base/VulkanDevice.hpp#L445) should be set to the minimum of src and dst buffer size.
Should be fully implemented now, except inner coverage semantic value handling for SPIRV
Hi, I played with new conservative raster sample @SaschaWillems added to his samples pack, as you seem to play with them and found that it doesn't work on rostkatze but it crashes even after removing new conservative stuff.. you could give a try.. more detail from https://github.com/SaschaWillems/Vulkan/issues/422:
well I'm attaching 2 patches one for triangle sample adding minimal conservative raster support and other for adding conservative raster to rostkatze.. all in all very crude (overestimate support enabled or disable) but it works anyway.. of course proper support will require more work starting with support for VK_KHR_get_physical_device_properties2.. EDIT: conserasterpatches.zip