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
@@ -141,6 +141,10 @@ public:
{
return m_Proxy->GetTargetShaderEncodings();
}
rdcarray<ShaderEncoding> GetCustomShaderEncodings()
{
return m_Proxy->GetCustomShaderEncodings();
}
void BuildCustomShader(std::string source, std::string entry,
const ShaderCompileFlags &compileFlags, ShaderStage type, ResourceId *id,
std::string *errors)