mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-04-01 09:25:24 +02:00
[dxbc] Don't export point size by default
This commit is contained in:
parent
6f5e185ceb
commit
a839438d7b
@ -41,14 +41,9 @@ namespace dxvk {
|
|||||||
enableSampleShadingInterlock = device->features().extFragmentShaderInterlock.fragmentShaderSampleInterlock;
|
enableSampleShadingInterlock = device->features().extFragmentShaderInterlock.fragmentShaderSampleInterlock;
|
||||||
supportsTightIcbPacking = device->features().vk12.uniformBufferStandardLayout;
|
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
|
// ANV breaks when we *don't* explicitly write point size, even though it
|
||||||
// supports maintenance5. TODO version check if this gets fixed upstream.
|
// 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
|
// Figure out float control flags to match D3D11 rules
|
||||||
if (options.floatControls) {
|
if (options.floatControls) {
|
||||||
|
@ -58,7 +58,7 @@ namespace dxvk {
|
|||||||
bool supportsTightIcbPacking = false;
|
bool supportsTightIcbPacking = false;
|
||||||
|
|
||||||
/// Whether exporting point size is required
|
/// Whether exporting point size is required
|
||||||
bool needsPointSizeExport = true;
|
bool needsPointSizeExport = false;
|
||||||
|
|
||||||
/// Float control flags
|
/// Float control flags
|
||||||
DxbcFloatControlFlags floatControl;
|
DxbcFloatControlFlags floatControl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user