mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 01:08:56 +02:00
[vulkan] Refining ProvokingVertex remork
This commit is contained in:
parent
fc83061241
commit
7820d8083b
1 changed files with 12 additions and 0 deletions
|
|
@ -611,6 +611,18 @@ void PipelineCache::LoadDiskResources(u64 title_id, std::stop_token stop_loading
|
||||||
(key.state.dynamic_vertex_input != 0) != dynamic_features.has_dynamic_vertex_input) {
|
(key.state.dynamic_vertex_input != 0) != dynamic_features.has_dynamic_vertex_input) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const bool key_requests_provoking_last = key.state.provoking_vertex_last != 0;
|
||||||
|
if (key_requests_provoking_last && !dynamic_features.has_provoking_vertex_last_mode) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const bool key_uses_transform_feedback = key.state.xfb_enabled != 0;
|
||||||
|
if (key_uses_transform_feedback && key_requests_provoking_last &&
|
||||||
|
!dynamic_features.has_provoking_vertex_tf_preserve) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
workers.QueueWork([this, key, envs_ = std::move(envs), &state, &callback]() mutable {
|
workers.QueueWork([this, key, envs_ = std::move(envs), &state, &callback]() mutable {
|
||||||
ShaderPools pools;
|
ShaderPools pools;
|
||||||
boost::container::static_vector<Shader::Environment*, 5> env_ptrs;
|
boost::container::static_vector<Shader::Environment*, 5> env_ptrs;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue