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

[dxbc] Don't export point size by default

This commit is contained in:
Philip Rebohle 2025-03-24 01:08:27 +01:00
parent 6f5e185ceb
commit a839438d7b
2 changed files with 2 additions and 7 deletions

View File

@ -41,14 +41,9 @@ namespace dxvk {
enableSampleShadingInterlock = device->features().extFragmentShaderInterlock.fragmentShaderSampleInterlock;
supportsTightIcbPacking = device->features().vk12.uniformBufferStandardLayout;
// Qcom just breaks for no reason if we export point size,
// even in an environment where doing so is required.
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);
needsPointSizeExport = device->adapter()->matchesDriver(VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA);
// Figure out float control flags to match D3D11 rules
if (options.floatControls) {

View File

@ -58,7 +58,7 @@ namespace dxvk {
bool supportsTightIcbPacking = false;
/// Whether exporting point size is required
bool needsPointSizeExport = true;
bool needsPointSizeExport = false;
/// Float control flags
DxbcFloatControlFlags floatControl;