SPIR-V Built-In

CoreIDARM

Core ID on which a shader invocation is running
CoreIDARM

Decorating a variable with the CoreIDARM built-in decoration will make that variable contain the ID of the core on which the current shader invocation is running. This variable is in the range [0, CoreMaxIDARM].

Valid Usage

VUID-CoreIDARM-CoreIDARM-07599

The variable decorated with CoreIDARM must be declared using the Input Storage Class

VUID-CoreIDARM-CoreIDARM-07600

The variable decorated with CoreIDARM must be declared as a scalar 32-bit integer value