Vixen
dd8b0a81
csharp
public static class Intrinsics

The built-in shader function library. Every entry is a MethodSymbol in the global scope, so calls to dot or normalize go through ordinary overload resolution and end up in the bound tree like any other call.

Read the guide page for this →

Fields and properties (1)

  • public static IEnumerable<MethodSymbol> All

    Every intrinsic overload, for scope population and tests.

Methods (4)

  • public static IReadOnlyList<MethodSymbol> Lookup(string name)

    Overloads of the intrinsic with this name, or an empty list.

  • public static bool IsIntrinsic(string name)
  • public static bool IsBarrier(string name)

    Whether a name is one of the barriers, which a non-compute stage may not reach.

  • public static bool IsAtomic(string name)

    Whether a name is one of the atomics, whose first argument is storage.

Used by (5)

  • BinderVixen.Raven
  • BitCastTestsVixen.Raven.Tests
  • GlobalBinderVixen.Raven
  • LowererVixen.Raven
  • ShaderSemanticsTestsVixen.Raven.Tests