Remove WireframePS that's no longer used or defined

This commit is contained in:
baldurk
2019-02-13 18:50:56 +00:00
parent bbc2f47fa8
commit b41eb9b91b
2 changed files with 0 additions and 9 deletions
-8
View File
@@ -680,12 +680,6 @@ void D3D11Replay::MeshRendering::Init(WrappedID3D11Device *device)
memcpy(MeshVSBytecode, &bytecode[0], bytecode.size());
}
{
std::string hlsl = GetEmbeddedResource(misc_hlsl);
WireframePS = shaderCache->MakePShader(hlsl.c_str(), "RENDERDOC_WireframePS", "ps_4_0");
}
{
Vec4f TLN = Vec4f(-1.0f, 1.0f, 0.0f, 1.0f); // TopLeftNear, etc...
Vec4f TRN = Vec4f(1.0f, 1.0f, 0.0f, 1.0f);
@@ -768,8 +762,6 @@ void D3D11Replay::MeshRendering::Release()
SAFE_RELEASE(NoDepthState);
SAFE_RELEASE(LessEqualDepthState);
SAFE_RELEASE(WireframePS);
SAFE_RELEASE(MeshVS);
SAFE_RELEASE(MeshGS);
SAFE_RELEASE(MeshPS);
-1
View File
@@ -385,7 +385,6 @@ private:
ID3D11DepthStencilState *NoDepthState = NULL;
ID3D11VertexShader *MeshVS = NULL;
ID3D11GeometryShader *MeshGS = NULL;
ID3D11PixelShader *WireframePS = NULL;
ID3D11PixelShader *MeshPS = NULL;
ID3D11Buffer *AxisHelper = NULL;
ID3D11Buffer *FrustumHelper = NULL;