spirv_std::arch

Function 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