Skip to content

zink: fix stencil-export cap emission

Erik Faye-Lund requested to merge kusma/mesa:zink-stencil-cap-fix into master

This cap should only ever be emitted for fragment-shaders, but we accidentally emit it for all shaders. Let's tighten the check to avoid a validator warning when emitting non-fragment shaders without support for VK_EXT_shader_stencil_export.

Fixes: 8724d4fb ("zink: check shader stencil output")

Merge request reports