Movatterモバイル変換


[0]ホーム

URL:


Vulkan API Reference Pageslatest

LocalInvocationIndex(3)

Name

LocalInvocationIndex - Linear local invocation index

Description

LocalInvocationIndex

Decorating a variable with theLocalInvocationIndex built-in decorationwill make that variable contain a one-dimensional representation ofLocalInvocationId.This is computed as:

LocalInvocationIndex =    LocalInvocationId.z * WorkgroupSize.x * WorkgroupSize.y +    LocalInvocationId.y * WorkgroupSize.x +    LocalInvocationId.x;
Valid Usage
  • VUID-LocalInvocationIndex-LocalInvocationIndex-04284
    TheLocalInvocationIndex decorationmust be used only within theGLCompute,MeshEXT,TaskEXT,MeshNV, orTaskNVExecutionModel

  • VUID-LocalInvocationIndex-LocalInvocationIndex-04285
    The variable decorated withLocalInvocationIndexmust be declaredusing theInputStorageClass

  • VUID-LocalInvocationIndex-LocalInvocationIndex-04286
    The variable decorated withLocalInvocationIndexmust be declaredas a scalar 32-bit integer value

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