2fdcca2777
A few tests received minor tweaks to make them Runtime Effect-friendly. Change-Id: I9b4f66b0974c41d38324dfbb31ac9849338f600a Bug: skia:13042 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/523186 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Arman Uguray <armansito@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
10 lines
485 B
Plaintext
10 lines
485 B
Plaintext
void construct_float3_from_float_float() { float3 x = float3(1.0, 2.0); }
|
|
void construct_float3_from_float_float_float_float() { float3 x = float3(1.0, 2.0, 3.0, 4.0); }
|
|
void construct_bool_from_int3() { bool x = bool(int3(77)); }
|
|
|
|
/*%%*
|
|
invalid arguments to 'float3' constructor (expected 3 scalars, but found 2)
|
|
invalid arguments to 'float3' constructor (expected 3 scalars, but found 4)
|
|
'int3' is not a valid parameter to 'bool' constructor
|
|
*%%*/
|