1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-28 02:19:26 +01:00

[dxbc] Always export point size on ANV

AC:Origins reportedly breaks otherwise, and presumably other games too.
This commit is contained in:
Philip Rebohle 2025-03-23 21:05:25 +01:00
parent bdb9e4f814
commit ef113680de

View File

@ -46,6 +46,10 @@ namespace dxvk {
needsPointSizeExport = !device->features().khrMaintenance5.maintenance5
&& !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
if (options.floatControls) {
if (devInfo.vk12.shaderSignedZeroInfNanPreserveFloat32)