mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-04-01 09:25:24 +02:00
[dxbc] Always export point size on ANV
AC:Origins reportedly breaks otherwise, and presumably other games too.
This commit is contained in:
parent
bdb9e4f814
commit
ef113680de
@ -46,6 +46,10 @@ namespace dxvk {
|
|||||||
needsPointSizeExport = !device->features().khrMaintenance5.maintenance5
|
needsPointSizeExport = !device->features().khrMaintenance5.maintenance5
|
||||||
&& !device->adapter()->matchesDriver(VK_DRIVER_ID_QUALCOMM_PROPRIETARY);
|
&& !device->adapter()->matchesDriver(VK_DRIVER_ID_QUALCOMM_PROPRIETARY);
|
||||||
|
|
||||||
|
// ANV breaks when we *don't* explicitly write point size, even though it
|
||||||
|
// supports maintenance5. TODO version check if this gets fixed upstream.
|
||||||
|
needsPointSizeExport |= device->adapter()->matchesDriver(VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA);
|
||||||
|
|
||||||
// Figure out float control flags to match D3D11 rules
|
// Figure out float control flags to match D3D11 rules
|
||||||
if (options.floatControls) {
|
if (options.floatControls) {
|
||||||
if (devInfo.vk12.shaderSignedZeroInfNanPreserveFloat32)
|
if (devInfo.vk12.shaderSignedZeroInfNanPreserveFloat32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user