mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
[debug] Instrumentalization for EDS related pipeline worker failure.
This commit is contained in:
parent
c42c67ab85
commit
2d4c460011
1 changed files with 13 additions and 0 deletions
|
|
@ -751,6 +751,19 @@ std::unique_ptr<GraphicsPipeline> PipelineCache::CreateGraphicsPipeline(
|
||||||
descriptor_pool, guest_descriptor_queue, thread_worker, statistics, render_pass_cache, key,
|
descriptor_pool, guest_descriptor_queue, thread_worker, statistics, render_pass_cache, key,
|
||||||
std::move(modules), infos);
|
std::move(modules), infos);
|
||||||
|
|
||||||
|
} catch (const vk::Exception& exception) {
|
||||||
|
const auto hash = key.Hash();
|
||||||
|
LOG_ERROR(
|
||||||
|
Render_Vulkan,
|
||||||
|
"Failed to create graphics pipeline 0x{:016x}: {} (result={}, eds={}, eds2={}, "
|
||||||
|
"eds2_logic_op={}, topology={}, provoking_last={}, xfb={}, conservative={})",
|
||||||
|
hash, exception.what(), static_cast<int>(exception.GetResult()),
|
||||||
|
key.state.extended_dynamic_state != 0, key.state.extended_dynamic_state_2 != 0,
|
||||||
|
key.state.extended_dynamic_state_2_logic_op != 0, static_cast<u32>(key.state.topology),
|
||||||
|
key.state.provoking_vertex_last != 0, key.state.xfb_enabled != 0,
|
||||||
|
key.state.conservative_raster_enable != 0);
|
||||||
|
return nullptr;
|
||||||
|
|
||||||
} catch (const Shader::Exception& exception) {
|
} catch (const Shader::Exception& exception) {
|
||||||
auto hash = key.Hash();
|
auto hash = key.Hash();
|
||||||
size_t env_index{0};
|
size_t env_index{0};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue