Description

ClipDistancePerViewNV

Decorating a variable with the ClipDistancePerViewNV built-in decoration will make that variable contain the per-view clip distances. The per-view clip distances have the same semantics as ClipDistance.

Valid Usage
  • VUID-ClipDistancePerViewNV-ClipDistancePerViewNV-04192
    The ClipDistancePerViewNV decoration must be used only within the MeshNV Execution Model

  • VUID-ClipDistancePerViewNV-ClipDistancePerViewNV-04193
    The variable decorated with ClipDistancePerViewNV must be declared using the Output Storage Class

  • VUID-ClipDistancePerViewNV-ClipDistancePerViewNV-04194
    The variable decorated with ClipDistancePerViewNV must also be decorated with the PerViewNV decoration

  • VUID-ClipDistancePerViewNV-ClipDistancePerViewNV-04195
    The variable decorated with ClipDistancePerViewNV must be declared as a two-dimensional array of 32-bit floating-point values

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0