mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoBackends/D3D: Eliminate CHECK in favor of ASSERT_MSG
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
#include "VideoBackends/D3D12/DX12Shader.h"
|
||||
|
||||
#include "Common/Assert.h"
|
||||
#include "Common/StringUtil.h"
|
||||
|
||||
#include "VideoBackends/D3D12/Common.h"
|
||||
@ -51,7 +52,7 @@ bool DXShader::CreateComputePipeline()
|
||||
|
||||
HRESULT hr = g_dx_context->GetDevice()->CreateComputePipelineState(
|
||||
&desc, IID_PPV_ARGS(&m_compute_pipeline));
|
||||
CHECK(SUCCEEDED(hr), "Creating compute pipeline failed");
|
||||
ASSERT_MSG(VIDEO, SUCCEEDED(hr), "Creating compute pipeline failed");
|
||||
|
||||
if (m_compute_pipeline && !m_name.empty())
|
||||
m_compute_pipeline->SetName(m_name.c_str());
|
||||
|
Reference in New Issue
Block a user