vk: Fixup on linux + RADV combo (#10341)

This commit is contained in:
kd-11 2021-05-25 22:40:53 +03:00 committed by GitHub
parent a736350859
commit 338dc62474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -579,12 +579,12 @@ VKGSRender::VKGSRender() : GSRender()
#if !defined(__linux__) #if !defined(__linux__)
// Intel chipsets would fail on BSD in most cases and DRM_IOCTL_i915_GEM_USERPTR unimplemented // Intel chipsets would fail on BSD in most cases and DRM_IOCTL_i915_GEM_USERPTR unimplemented
case vk::driver_vendor::INTEL: case vk::driver_vendor::INTEL:
#endif
if (backend_config.supports_passthrough_dma) if (backend_config.supports_passthrough_dma)
{ {
rsx_log.error("AMDGPU kernel driver on linux and INTEL driver on some platforms cannot support passthrough DMA buffers."); rsx_log.error("AMDGPU kernel driver on linux and INTEL driver on some platforms cannot support passthrough DMA buffers.");
backend_config.supports_passthrough_dma = false; backend_config.supports_passthrough_dma = false;
} }
#endif
break; break;
#endif #endif
default: break; default: break;