Wgpu: Dynamic stencil reference

Created on 17 Jul 2019  路  4Comments  路  Source: gfx-rs/wgpu

Setting stencil reference per command requires marking it as dynamic state in the graphics pipeline which at least the vulkan backend doesn't do atm

bug

All 4 comments

So this needs to be addressed in gfx-rs first, was missing from https://github.com/gfx-rs/gfx/issues/1567 ?

@kvark yes, it appears what's supported so far for the vulkan backend and hal is:
Viewport, Scissor, Blend Constants and Depth Bounds

Comparing with vkspecs what would be missing from core so far is: line width, depth bias, stencil compare mask, stencil write mask and stencil ref

btw, depth bias is there
Created https://github.com/gfx-rs/gfx/issues/2905 for the rest

This is fixed by #282

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kvark picture kvark  路  5Comments

kvark picture kvark  路  4Comments

LaylConway picture LaylConway  路  3Comments

cloudhead picture cloudhead  路  4Comments

kvark picture kvark  路  5Comments