Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

GlobalInvocationId(3)

Name

GlobalInvocationId - Global invocation ID

Description

GlobalInvocationId

Decorating a variable with theGlobalInvocationId built-in decorationwill make that variable contain the location of the current invocationwithin the global workgroup.Each component is equal to the index of the local workgroup multiplied bythe size of the local workgroup plusLocalInvocationId.

Valid Usage
  • VUID-GlobalInvocationId-GlobalInvocationId-04236
    TheGlobalInvocationId decorationmust be used only within theGLCompute,MeshEXT,TaskEXT,MeshNV, orTaskNVExecutionModel

  • VUID-GlobalInvocationId-GlobalInvocationId-04237
    The variable decorated withGlobalInvocationIdmust be declaredusing theInputStorageClass

  • VUID-GlobalInvocationId-GlobalInvocationId-04238
    The variable decorated withGlobalInvocationIdmust be declared asa three-component vector of 32-bit integer values

See Also

No cross-references are available

Document Notes

For more information, see theVulkan Specification (NOTE: cannot determine Specification page containing this refpage).

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


[8]ページ先頭

©2009-2026 Movatter.jp