Allow querying the shader encoding supported by custom shaders

* This is distinct from target shaders in the remote proxy case - custom shaders
  are built locally.
This commit is contained in:
baldurk
2019-05-22 16:09:18 +01:00
parent 55107a6144
commit 694524c7bd
14 changed files with 66 additions and 2 deletions
+4
View File
@@ -69,6 +69,10 @@ struct CaptureContextInvoker : ICaptureContext
{
return m_Ctx.TargetShaderEncodings();
}
virtual rdcarray<ShaderEncoding> CustomShaderEncodings() override
{
return m_Ctx.CustomShaderEncodings();
}
virtual uint32_t CurSelectedEvent() override { return m_Ctx.CurSelectedEvent(); }
virtual uint32_t CurEvent() override { return m_Ctx.CurEvent(); }
virtual const DrawcallDescription *CurSelectedDrawcall() override