mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-09 22:58:54 +02:00
[vulkan] Refining ProvokingVertex remork
This commit is contained in:
parent
0e77fa80ab
commit
3e324175ac
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) {
|
||||
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 {
|
||||
ShaderPools pools;
|
||||
boost::container::static_vector<Shader::Environment*, 5> env_ptrs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue