Squashed 'external/parallel-rdp/parallel-rdp-standalone/' changes from 3f59f61f2c1..a215fe7ec7e

a215fe7ec7e Only set instanceFactory if not null
4f2c14a9266 Merge branch 'Themaister:master' into master
d1cc912c5c4 Update to 1f69c762be68feb9fcd5276d75acc6e5a6160a19

git-subtree-dir: external/parallel-rdp/parallel-rdp-standalone
git-subtree-split: a215fe7ec7ef472187cc182dae71c798452ad155
This commit is contained in:
SimoneN64
2024-09-24 21:24:51 +02:00
parent d94eccab99
commit 72efc678d1
4 changed files with 14 additions and 2 deletions

2
COMMIT
View File

@@ -1 +1 @@
fe5becd13638873db90d46e7ba7d48255971f82a 1f69c762be68feb9fcd5276d75acc6e5a6160a19

View File

@@ -201,6 +201,11 @@ bool Renderer::init_caps()
LOGW("Current proprietary Intel Windows driver is tested to perform much better without 8/16-bit integer support.\n"); LOGW("Current proprietary Intel Windows driver is tested to perform much better without 8/16-bit integer support.\n");
allow_small_types = false; allow_small_types = false;
} }
else if (features.driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY_KHR)
{
LOGW("Current proprietary Qcom driver is known to be buggy with 8/16-bit integer arithmetic, disabling support for time being.\n");
allow_small_types = false;
}
// Intel ANV *must* use small integer arithmetic, or it doesn't pass test suite. // Intel ANV *must* use small integer arithmetic, or it doesn't pass test suite.
} }

View File

@@ -889,6 +889,12 @@ void Device::init_workarounds()
LOGW("Disabling pipeline cache control.\n"); LOGW("Disabling pipeline cache control.\n");
workarounds.broken_pipeline_cache_control = true; workarounds.broken_pipeline_cache_control = true;
} }
else if (ext.driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY_KHR)
{
// Seems broken on this driver too. Compilation stutter galore ...
LOGW("Disabling pipeline cache control.\n");
workarounds.broken_pipeline_cache_control = true;
}
if (sync2_workarounds) if (sync2_workarounds)
{ {

View File

@@ -357,6 +357,7 @@ bool WSI::init_context_from_platform(InstanceFactory* instanceFactory, unsigned
new_context->set_application_info(platform->get_application_info()); new_context->set_application_info(platform->get_application_info());
new_context->set_num_thread_indices(num_thread_indices); new_context->set_num_thread_indices(num_thread_indices);
new_context->set_system_handles(system_handles); new_context->set_system_handles(system_handles);
if(instanceFactory)
new_context->set_instance_factory(instanceFactory); new_context->set_instance_factory(instanceFactory);
if (!new_context->init_instance( if (!new_context->init_instance(