mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
VideoBackends/D3D12: Include HRESULT in error messages
This commit is contained in:
parent
23cdb5c576
commit
1b32e6dae2
11 changed files with 77 additions and 36 deletions
|
@ -52,7 +52,7 @@ bool DXShader::CreateComputePipeline()
|
|||
|
||||
HRESULT hr = g_dx_context->GetDevice()->CreateComputePipelineState(
|
||||
&desc, IID_PPV_ARGS(&m_compute_pipeline));
|
||||
ASSERT_MSG(VIDEO, SUCCEEDED(hr), "Creating compute pipeline failed");
|
||||
ASSERT_MSG(VIDEO, SUCCEEDED(hr), "Creating compute pipeline failed: {}", DX12HRWrap(hr));
|
||||
|
||||
if (m_compute_pipeline && !m_name.empty())
|
||||
m_compute_pipeline->SetName(m_name.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue