Skip to content
Browse files

D3D/DXShader: Remove duplicate GetByteCode function

This is already provided in the base class, which performs the same
exact behavior. Given the function in the base class isn't virtual, this
also essentially resolves an instance of shadowing.
  • Loading branch information...
lioncash committed Jul 26, 2019
1 parent 3c8f6bc commit 287b446ef73d9da392ea917fd5efbd15b11da4de
Showing with 0 additions and 2 deletions.
  1. +0 −2 Source/Core/VideoBackends/D3D/DXShader.h
@@ -16,8 +16,6 @@ class DXShader final : public D3DCommon::Shader
DXShader(ShaderStage stage, BinaryData bytecode, ID3D11DeviceChild* shader);
~DXShader() override;

const BinaryData& GetByteCode() const { return m_bytecode; }

ID3D11VertexShader* GetD3DVertexShader() const;
ID3D11GeometryShader* GetD3DGeometryShader() const;
ID3D11PixelShader* GetD3DPixelShader() const;

0 comments on commit 287b446

Please sign in to comment.
You can’t perform that action at this time.