mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[d3d11] Remove predication workaround for RADV
This no longer has any effect due to changes in the driver, and we no longer support Predication anyway.
This commit is contained in:
parent
60827c1b22
commit
9f264ba008
@ -38,16 +38,8 @@ namespace dxvk {
|
||||
|
||||
|
||||
void D3D11CounterBuffer::CreateBuffer() {
|
||||
VkMemoryPropertyFlags memoryType = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT;
|
||||
|
||||
// Workaround for predicate buffer sync issues on RADV
|
||||
if ((m_bufferInfo.usage & VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT)
|
||||
&& (m_device->adapter()->matchesDriver(DxvkGpuVendor::Amd, VK_DRIVER_ID_MESA_RADV_KHR, 0, 0))) {
|
||||
memoryType |= VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT
|
||||
| VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
|
||||
}
|
||||
|
||||
Rc<DxvkBuffer> buffer = m_device->createBuffer(m_bufferInfo, memoryType);
|
||||
Rc<DxvkBuffer> buffer = m_device->createBuffer(m_bufferInfo,
|
||||
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT);
|
||||
|
||||
VkDeviceSize sliceCount = m_bufferInfo.size / m_sliceLength;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user