Function spirv_std::arch::is_helper_invocation

source ·
pub fn is_helper_invocation() -> bool
Expand description

Returns true if the invocation is currently a helper invocation, otherwise result is false. An invocation is currently a helper invocation if it was originally invoked as a helper invocation or if it has been demoted to a helper invocation by demote_to_helper_invocation.

  • Required Capabilities DemoteToHelperInvocationEXT
  • Required Extensions SPV_EXT_demote_to_helper_invocation