Lines Matching refs:value
288 line, "cannot swizzle value of type '" + baseType.displayName() + "'");
404 Literal::MakeInt(context, line, /*value=*/0)));
414 Literal::MakeInt(context, line, /*value=*/1)));
453 // Replace swizzles with equivalent splat constructors (`scalar.xxx` --> `half3(value)`).
488 // If we are swizzling a constant expression, we can use its value instead here (so that
490 const Expression* value = ConstantFolder::GetConstantValueForVariable(*expr);
494 // in a splat constructor holds the same value.
495 if (value->is<ConstructorSplat>()) {
496 const ConstructorSplat& splat = value->as<ConstructorSplat>();
504 if (value->isAnyConstructor()) {
505 const AnyConstructor& ctor = value->asAnyConstructor();