/** * Represents the construction of a vector splat, such as `half3(n)`. * * These always contain exactly 1 scalar.
*/ class ConstructorSplat final : public SingleArgumentConstructor { public: inlinestatic constexpr Kind kIRNodeKind = Kind::kConstructorSplat;
// The input argument must be scalar. A "splat" to a scalar type will be optimized into a no-op. static std::unique_ptr<Expression> Make(const Context& context,
Position pos, const Type& type,
std::unique_ptr<Expression> arg);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.