mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Assert: Remove unused parameter from DEBUG_ASSERT
This brings the macro in line with the regular ASSERT macro, which only has one macro parameter.
This commit is contained in:
parent
328585ef17
commit
75f5fcdfee
28 changed files with 86 additions and 91 deletions
|
@ -43,25 +43,25 @@ D3DBlob* DXShader::GetByteCode() const
|
|||
|
||||
ID3D11VertexShader* DXShader::GetD3DVertexShader() const
|
||||
{
|
||||
DEBUG_ASSERT(VIDEO, m_stage == ShaderStage::Vertex);
|
||||
DEBUG_ASSERT(m_stage == ShaderStage::Vertex);
|
||||
return static_cast<ID3D11VertexShader*>(m_shader);
|
||||
}
|
||||
|
||||
ID3D11GeometryShader* DXShader::GetD3DGeometryShader() const
|
||||
{
|
||||
DEBUG_ASSERT(VIDEO, m_stage == ShaderStage::Geometry);
|
||||
DEBUG_ASSERT(m_stage == ShaderStage::Geometry);
|
||||
return static_cast<ID3D11GeometryShader*>(m_shader);
|
||||
}
|
||||
|
||||
ID3D11PixelShader* DXShader::GetD3DPixelShader() const
|
||||
{
|
||||
DEBUG_ASSERT(VIDEO, m_stage == ShaderStage::Pixel);
|
||||
DEBUG_ASSERT(m_stage == ShaderStage::Pixel);
|
||||
return static_cast<ID3D11PixelShader*>(m_shader);
|
||||
}
|
||||
|
||||
ID3D11ComputeShader* DXShader::GetD3DComputeShader() const
|
||||
{
|
||||
DEBUG_ASSERT(VIDEO, m_stage == ShaderStage::Compute);
|
||||
DEBUG_ASSERT(m_stage == ShaderStage::Compute);
|
||||
return static_cast<ID3D11ComputeShader*>(m_shader);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue