2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 12:59:12 +00:00

Vulkan Updates

This commit is contained in:
Jack Andersen
2016-02-22 16:33:29 -10:00
parent 41ecea7a37
commit d76fcf0f5b
10 changed files with 52 additions and 56 deletions

View File

@@ -248,7 +248,7 @@ struct HLSLBackendFactory : IShaderBackendFactory
ShaderCachedData buildShaderFromIR(const ShaderTag& tag,
const HECL::Frontend::IR& ir,
HECL::Frontend::Diagnostics& diag,
boo::IShaderPipeline** objOut)
boo::IShaderPipeline*& objOut)
{
m_backend.reset(ir, diag);
@@ -260,7 +260,7 @@ struct HLSLBackendFactory : IShaderBackendFactory
ComPtr<ID3DBlob> vertBlob;
ComPtr<ID3DBlob> fragBlob;
ComPtr<ID3DBlob> pipelineBlob;
*objOut =
objOut =
m_gfxFactory->newShaderPipeline(vertSource.c_str(), fragSource.c_str(),
vertBlob, fragBlob, pipelineBlob,
tag.newVertexFormat(m_gfxFactory),