- transition image layouts and setup pipeline barriers (fixes some errors reported by RenderDoc)
This commit is contained in:
parent
f8aa48d053
commit
b1f161040d
5 changed files with 25 additions and 8 deletions
|
|
@ -213,7 +213,7 @@ void VkRenderState::Apply(int dt)
|
|||
passKey.VertexFormat = static_cast<VKVertexBuffer*>(mVertexBuffer)->VertexFormat;
|
||||
passKey.RenderStyle = mRenderStyle;
|
||||
passKey.DepthTest = mDepthTest;
|
||||
passKey.DepthWrite = mDepthWrite;
|
||||
passKey.DepthWrite = mDepthTest && mDepthWrite;
|
||||
if (mSpecialEffect > EFF_NONE)
|
||||
{
|
||||
passKey.SpecialEffect = mSpecialEffect;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue