Lines Matching refs:error

42  * errors, especially given that some of the variables have options that make them an error to
68 "Error mismatch: expected:\n%s\nbut no error occurred\n", fMsg);
73 REPORTER_ASSERT(fReporter, fMsg, "Received unexpected extra error: %.*s\n",
222 ExpectError error(r, "floating point value is infinite");
227 ExpectError error(r, "floating point value is NaN");
232 ExpectError error(r, "'float4' is not a valid parameter to 'float2' constructor; use '.xy' "
238 ExpectError error(r, "invalid arguments to 'float4' constructor (expected 4 scalars, but "
274 ExpectError error(r, "floating point value is infinite");
279 ExpectError error(r, "floating point value is NaN");
284 ExpectError error(r, "'half4' is not a valid parameter to 'half2' constructor; use '.xy' "
290 ExpectError error(r, "invalid arguments to 'half4' constructor (expected 4 scalars, but "
321 ExpectError error(r, "'int4' is not a valid parameter to 'int2' constructor; use '.xy' "
327 ExpectError error(r, "invalid arguments to 'int4' constructor (expected 4 scalars, but "
356 ExpectError error(r, "integer is out of range for type 'uint': -2");
361 ExpectError error(r, "'uint4' is not a valid parameter to 'uint2' constructor; use '.xy' "
367 ExpectError error(r, "invalid arguments to 'uint4' constructor (expected 4 scalars, but "
398 ExpectError error(r, "'short4' is not a valid parameter to 'short2' constructor; use '.xy' "
404 ExpectError error(r, "invalid arguments to 'short4' constructor (expected 4 scalars, but "
433 ExpectError error(r, "integer is out of range for type 'ushort': -2");
438 ExpectError error(r, "'ushort4' is not a valid parameter to 'ushort2' constructor; use "
444 ExpectError error(r, "invalid arguments to 'ushort4' constructor (expected 4 scalars, but "
473 ExpectError error(r, "'bool4' is not a valid parameter to 'bool2' constructor; use '.xy' "
479 ExpectError error(r, "invalid arguments to 'bool4' constructor (expected 4 scalars, but "
577 ExpectError error(r, "array size must be positive");
582 ExpectError error(r, "multi-dimensional arrays are not supported");
649 ExpectError error(r, "invalid arguments to 'float3x3' constructor (expected 9 scalars, but "
655 ExpectError error(r, "invalid arguments to 'half2x2' constructor (expected 4 scalars, but "
661 ExpectError error(r, "type mismatch: '*' cannot operate on 'float4x3', 'float3'");
666 ExpectError error(r, "type mismatch: '=' cannot operate on 'float4x3', 'float3x3'");
671 ExpectError error(r, "type mismatch: '=' cannot operate on 'half2x2', 'float2x2'");
676 ExpectError error(r, "no match for inverse(float4x3)");
699 ExpectError error(r, "type mismatch: '+' cannot operate on 'bool2', 'float'");
704 ExpectError error(r, "type mismatch: '+=' cannot operate on 'float', 'bool2'");
709 ExpectError error(r, "cannot assign to this expression");
714 ExpectError error(r, "'+' cannot operate on 'bool'");
738 ExpectError error(r, "type mismatch: '-' cannot operate on 'bool2', 'int'");
743 ExpectError error(r, "type mismatch: '-=' cannot operate on 'int', 'bool2'");
748 ExpectError error(r, "cannot assign to this expression");
753 ExpectError error(r, "'-' cannot operate on 'bool'");
773 ExpectError error(r, "type mismatch: '*' cannot operate on 'bool2', 'float'");
778 ExpectError error(r, "type mismatch: '*=' cannot operate on 'float', 'bool2'");
783 ExpectError error(r, "cannot assign to this expression");
804 ExpectError error(r, "type mismatch: '/' cannot operate on 'bool2', 'float'");
809 ExpectError error(r, "type mismatch: '/=' cannot operate on 'float', 'bool2'");
814 ExpectError error(r, "cannot assign to this expression");
819 ExpectError error(r, "division by zero");
825 ExpectError error(r, "division by zero");
846 ExpectError error(r, "type mismatch: '%' cannot operate on 'bool2', 'int'");
851 ExpectError error(r, "type mismatch: '%=' cannot operate on 'int', 'bool2'");
856 ExpectError error(r, "cannot assign to this expression");
861 ExpectError error(r, "division by zero");
867 ExpectError error(r, "division by zero");
888 ExpectError error(r, "type mismatch: '<<' cannot operate on 'bool2', 'int'");
893 ExpectError error(r, "type mismatch: '<<=' cannot operate on 'int', 'bool2'");
898 ExpectError error(r, "cannot assign to this expression");
919 ExpectError error(r, "type mismatch: '>>' cannot operate on 'bool2', 'int'");
924 ExpectError error(r, "type mismatch: '>>=' cannot operate on 'int', 'bool2'");
929 ExpectError error(r, "cannot assign to this expression");
950 ExpectError error(r, "type mismatch: '&' cannot operate on 'bool2', 'int'");
955 ExpectError error(r, "type mismatch: '&=' cannot operate on 'int', 'bool2'");
960 ExpectError error(r, "cannot assign to this expression");
981 ExpectError error(r, "type mismatch: '|' cannot operate on 'bool2', 'int'");
986 ExpectError error(r, "type mismatch: '|=' cannot operate on 'int', 'bool2'");
991 ExpectError error(r, "cannot assign to this expression");
1012 ExpectError error(r, "type mismatch: '^' cannot operate on 'bool2', 'int'");
1017 ExpectError error(r, "type mismatch: '^=' cannot operate on 'int', 'bool2'");
1022 ExpectError error(r, "cannot assign to this expression");
1040 ExpectError error(r, "type mismatch: '&&' cannot operate on 'bool', 'int'");
1058 ExpectError error(r, "type mismatch: '||' cannot operate on 'bool', 'int'");
1070 ExpectError error(r, "type mismatch: '^^' cannot operate on 'bool', 'int'");
1095 ExpectError error(r, "type mismatch: '==' cannot operate on 'int', 'bool2'");
1110 ExpectError error(r, "type mismatch: '!=' cannot operate on 'int', 'bool2'");
1125 ExpectError error(r, "type mismatch: '>' cannot operate on 'int', 'bool2'");
1140 ExpectError error(r, "type mismatch: '>=' cannot operate on 'int', 'bool2'");
1155 ExpectError error(r, "type mismatch: '<' cannot operate on 'int', 'bool2'");
1170 ExpectError error(r, "type mismatch: '<=' cannot operate on 'int', 'bool2'");
1182 ExpectError error(r, "'!' cannot operate on 'int'");
1194 ExpectError error(r, "'~' cannot operate on 'bool'");
1209 ExpectError error(r, "'++' cannot operate on 'bool'");
1214 ExpectError error(r, "'++' cannot operate on 'bool'");
1219 ExpectError error(r, "cannot assign to this expression");
1224 ExpectError error(r, "cannot assign to this expression");
1239 ExpectError error(r, "'--' cannot operate on 'bool'");
1244 ExpectError error(r, "'--' cannot operate on 'bool'");
1249 ExpectError error(r, "cannot assign to this expression");
1254 ExpectError error(r, "cannot assign to this expression");
1306 ExpectError error(r, "break statement must be inside a loop or switch");
1326 ExpectError error(r, "continue statement must be inside a loop");
1375 ExpectError error(r, "expected 'half4', but found 'int'");
1383 ExpectError error(r, "variable has already been declared");
1390 ExpectError error(r, "'uniform' is not permitted here");
1422 ExpectError error(r, "expected 'bool', but found 'int'");
1447 ExpectError error(r, "expected 'bool', but found 'int'");
1452 ExpectError error(r, "invalid for loop initializer");
1511 ExpectError error(r, "expected 'float', but found 'bool'");
1519 ExpectError error(r, "expected function to return 'float'");
1527 ExpectError error(r, "function 'broken' can exit without returning a value");
1537 ExpectError error(r, "may not return a value from a void function");
1545 ExpectError error(r, "function 'broken' can exit without returning a value");
1552 ExpectError error(r, "parameter has already been used in another function");
1575 ExpectError error(r, "expected 'bool', but found 'float'");
1622 ExpectError error(r, "expected 'bool', but found 'int'");
1627 ExpectError error(r, "ternary operator result mismatch: 'float2', 'float3'");
1677 ExpectError error(r, "duplicate case value '0'");
1682 ExpectError error(r, "duplicate default case");
1687 ExpectError error(r, "case value must be a constant integer");
1750 ExpectError error(r, "expected 'bool', but found 'int'");
1763 ExpectError error(r, "expected 'int', but found 'bool'");
1768 ExpectError error(r, "expected array, but found 'int'");
1773 ExpectError error(r, "index -1 out of range for 'int[5]'");
1834 ExpectError error(r, "no match for ceil(bool)");
1899 ExpectError error(r, "'srgb_unpremul' is only permitted in runtime effects");
1906 ExpectError error(r, "layout qualifier 'location' appears more than once");
1911 ExpectError error(r, "layout qualifier 'set' appears more than once");
1916 ExpectError error(r, "layout qualifier 'binding' appears more than once");
1921 ExpectError error(r, "layout qualifier 'offset' appears more than once");
1926 ExpectError error(r, "layout qualifier 'index' appears more than once");
1931 ExpectError error(r, "layout qualifier 'builtin' appears more than once");
1936 ExpectError error(r, "layout qualifier 'input_attachment_index' appears more than once");
1941 ExpectError error(r, "layout qualifier 'origin_upper_left' appears more than once");
1946 ExpectError error(r, "layout qualifier 'push_constant' appears more than once");
1951 ExpectError error(r, "layout qualifier 'blend_support_all_equations' appears more than "
1957 ExpectError error(r, "layout qualifier 'srgb_unpremul' appears more than once");
1970 ExpectError error(r, "no match for shader::eval(half4)");
1975 ExpectError error(r, "type does not support method calls");
2058 ExpectError error(r, "sk_RTAdjust must have type 'float4'");
2066 ExpectError error(r, "symbol 'sk_RTAdjust' was already defined");
2168 ExpectError error(r, "type 'uint' is not supported");
2172 ExpectError error(r, "type 'float3x2' is not supported");
2176 ExpectError error(r, "type 'uint' is not supported");
2180 ExpectError error(r, "type '$genType' is private");