include::meta/VK_EXT_shader_stencil_export.txt[]

*Last Modified Date*::
    2017-07-19
*IP Status*::
    No known IP claims.
*Interactions and External Dependencies*::
  - Requires the
    https://www.khronos.org/registry/spir-v/extensions/EXT/SPV_EXT_shader_stencil_export.html[+SPV_EXT_shader_stencil_export+]
    SPIR-V extension.
*Contributors*::
  - Dominik Witczak, AMD
  - Daniel Rakos, AMD
  - Rex Xu, AMD

This extension adds support for the SPIR-V extension
+SPV_EXT_shader_stencil_export+, providing a mechanism whereby a shader may
generate the stencil reference value per invocation.
When stencil testing is enabled, this allows the test to be performed
against the value generated in the shader.

=== Version History

 * Revision 1, 2017-07-19 (Dominik Witczak)
   - Initial draft
