Requires Vulkan 1.0
- Last Modified Date
- Interactions and External Dependencies
Piers Daniell, NVIDIA
Jeff Bolz, NVIDIA
This extension adds support for the following SPIR-V extension in Vulkan:
which allows a single primitive to be broadcast to multiple viewports and/or
A new shader built-in output
ViewportMaskNV is provided, which allows a
single primitive to be output to multiple viewports simultaneously.
Also, a new SPIR-V decoration is added to control whether the effective
viewport index is added into the variable decorated with the
These capabilities allow a single primitive to be output to multiple layers
This extension allows variables decorated with the
ViewportIndex built-ins to be exported from vertex or tessellation
shaders, using the
This extension adds a new
ViewportMaskNV built-in decoration that is
available for output variables in vertex, tessellation evaluation, and
geometry shaders, and a new
ViewportRelativeNV decoration that can be
added on variables decorated with
Layer when using the
When using GLSL source-based shading languages, the
built-in output variable and
viewport_relative layout qualifier from
GL_NV_viewport_array2 map to the
ViewportRelativeNV decorations, respectively.
Behaviour is described in the
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.