mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
VideoBackends/D3D12: Include HRESULT in error messages
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user