Using the hlsl code from the CEGUI DirectX 11 renderer compiles via Ogre DirectX 11 with some small changes to make the naming consistent.
Now there is a bug were null pointer is dereferenced.
Code: Select all
void OgreRenderer::returnVertexBuffer(Ogre::HardwareVertexBufferSharedPtr
buffer)
{
d_pimpl->d_vbPool.push_back(buffer);
}
At some point this method is called with a null buffer ptr, leading to an assertion failure further down the line. I imagine that it might be just due to the changes in the hlsl scripts, particularly new texture parameter, texture0. I'll spend a bit of time checking it out.