- add support for specifying the topology
This commit is contained in:
parent
01c78d7238
commit
ee8349d168
4 changed files with 30 additions and 4 deletions
|
|
@ -140,6 +140,7 @@ void VkRenderState::Apply(int dt)
|
|||
|
||||
// Find a render pass that matches our state
|
||||
VkRenderPassKey passKey;
|
||||
passKey.DrawType = dt;
|
||||
passKey.VertexFormat = static_cast<VKVertexBuffer*>(mVertexBuffer)->VertexFormat;
|
||||
passKey.RenderStyle = mRenderStyle;
|
||||
if (mSpecialEffect > EFF_NONE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue