mirror of
https://github.com/simple64/simple64.git
synced 2026-07-11 01:24:00 +02:00
update parallel rdp
This commit is contained in:
@@ -1 +1 @@
|
||||
afc61e1050a79b9ab7bb53b8880b055324f7b4a2
|
||||
d7746d1f999ba1507f4d2fd8fade77ee3cbb5425
|
||||
|
||||
@@ -1148,7 +1148,7 @@ void Renderer::deduce_noise_state()
|
||||
if (state.combiner[0].rgb.muladd == RGBMulAdd::Noise)
|
||||
state.flags |= RASTERIZATION_NEED_NOISE_BIT;
|
||||
}
|
||||
else if (state.combiner[1].rgb.muladd == RGBMulAdd::Noise)
|
||||
if (state.combiner[1].rgb.muladd == RGBMulAdd::Noise)
|
||||
state.flags |= RASTERIZATION_NEED_NOISE_BIT;
|
||||
|
||||
if ((state.flags & (RASTERIZATION_ALPHA_TEST_BIT | RASTERIZATION_ALPHA_TEST_DITHER_BIT)) ==
|
||||
|
||||
@@ -882,21 +882,6 @@ void Device::init_workarounds()
|
||||
LOGW("Disabling pipeline cache control.\n");
|
||||
workarounds.broken_pipeline_cache_control = true;
|
||||
}
|
||||
else if (((ext.driver_properties.driverID == VK_DRIVER_ID_MESA_RADV ||
|
||||
ext.driver_properties.driverID == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA ||
|
||||
ext.driver_properties.driverID == VK_DRIVER_ID_MESA_TURNIP) &&
|
||||
gpu_props.driverVersion < VK_MAKE_VERSION(23, 1, 0)) ||
|
||||
ext.driver_properties.driverID == VK_DRIVER_ID_AMD_PROPRIETARY ||
|
||||
ext.driver_properties.driverID == VK_DRIVER_ID_AMD_OPEN_SOURCE)
|
||||
{
|
||||
LOGW("Enabling workaround for sync2 access mask bugs.\n");
|
||||
// https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21271
|
||||
// Found bug around 23.0. Should be fixed by 23.1.
|
||||
// Also observed on AMD windows. Probably fails on open source too given it shares PAL ...
|
||||
workarounds.force_sync1_access = true;
|
||||
// Avoids having to add workaround path to events as well, just fallback to plain barriers.
|
||||
workarounds.emulate_event_as_pipeline_barrier = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (ext.supports_tooling_info && vkGetPhysicalDeviceToolPropertiesEXT)
|
||||
|
||||
Reference in New Issue
Block a user