b88b4e1a12
- MultipleAssignments - NegatedVectorLiteral - NumberCasts - OutParams - OutParamsTricky (disabled on GPU due to skia:11269) Change-Id: I87dc9c5019931f3d2dc3aafbe1e02d0eee2e1a05 Bug: skia:11009, skia:11269 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/366400 Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
19 lines
343 B
Plaintext
19 lines
343 B
Plaintext
half4 main() {
|
|
bool3 B;
|
|
B.x = bool(1.23);
|
|
B.y = bool(1);
|
|
B.z = bool(true);
|
|
|
|
float3 F;
|
|
F.x = float(1.23);
|
|
F.y = float(0);
|
|
F.z = float(true);
|
|
|
|
int3 I;
|
|
I.x = int(1.23);
|
|
I.y = int(1);
|
|
I.z = int(true);
|
|
|
|
return half4(half(F.x * F.y * F.z), half(B.x && B.y && B.z), 0, half(I.x * I.y * I.z));
|
|
}
|