SPIR-V Built-In

CoreMaxIDARM

Max core ID that can be observed on the device running the invovation reading CoreMaxIDARM
CoreMaxIDARM

Decorating a variable with the CoreMaxIDARM built-in decoration will make that variable contain the max ID of any shader core on the device on which the current shader invocation is running.

Valid Usage

VUID-CoreMaxIDARM-CoreMaxIDARM-07597

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

VUID-CoreMaxIDARM-CoreMaxIDARM-07598

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