mirror of https://github.com/AxioDL/boo.git
Vulkan API sync
This commit is contained in:
parent
4a2c32c2a9
commit
5b43b31529
|
@ -131,7 +131,7 @@ public:
|
|||
newShaderDataBinding(IShaderPipeline* pipeline,
|
||||
IVertexFormat* vtxFormat,
|
||||
IGraphicsBuffer* vbo, IGraphicsBuffer* instVbo, IGraphicsBuffer* ibo,
|
||||
size_t ubufCount, IGraphicsBuffer** ubufs,
|
||||
size_t ubufCount, IGraphicsBuffer** ubufs, const PipelineStage* ubufStages,
|
||||
const size_t* ubufOffs, const size_t* ubufSizes,
|
||||
size_t texCount, ITexture** texs);
|
||||
};
|
||||
|
|
|
@ -506,7 +506,7 @@ IShaderPipeline* GLDataFactory::Context::newShaderPipeline
|
|||
{
|
||||
GLint uniLoc = glGetUniformBlockIndex(shader.m_prog, uniformBlockNames[i]);
|
||||
if (uniLoc < 0)
|
||||
Log.report(logvisor::Error, "unable to find uniform block '%s'", uniformBlockNames[i]);
|
||||
Log.report(logvisor::Warning, "unable to find uniform block '%s'", uniformBlockNames[i]);
|
||||
shader.m_uniLocs.push_back(uniLoc);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3072,7 +3072,7 @@ IVertexFormat* VulkanDataFactory::Context::newVertexFormat(size_t elementCount,
|
|||
IShaderDataBinding* VulkanDataFactory::Context::newShaderDataBinding(IShaderPipeline* pipeline,
|
||||
IVertexFormat* /*vtxFormat*/,
|
||||
IGraphicsBuffer* vbuf, IGraphicsBuffer* instVbuf, IGraphicsBuffer* ibuf,
|
||||
size_t ubufCount, IGraphicsBuffer** ubufs,
|
||||
size_t ubufCount, IGraphicsBuffer** ubufs, const PipelineStage* /*ubufStages*/,
|
||||
const size_t* ubufOffs, const size_t* ubufSizes,
|
||||
size_t texCount, ITexture** texs)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue