1# WARNING: This file is auto-generated. Do NOT modify it manually, but rather 2# modify the generating script file. Otherwise changes will be lost! 3 4case texture_sampler3dshadow_vec4 5 expect compile_fail 6 values {} 7 version 300 es 8 9 both "" 10 #version 300 es 11 precision mediump float; 12 ${DECLARATIONS} 13 uniform mediump sampler3DShadow s; 14 15 void main() 16 { 17 ${SETUP} 18 ${POSITION_FRAG_COLOR} = vec4(texture(s, vec4(0))); 19 ${OUTPUT} 20 } 21 "" 22end 23case texture_sampler2darrayshadow_vec4_float 24 expect compile_fail 25 values {} 26 version 300 es 27 28 both "" 29 #version 300 es 30 precision mediump float; 31 ${DECLARATIONS} 32 uniform mediump sampler2DArrayShadow s; 33 34 void main() 35 { 36 ${SETUP} 37 ${POSITION_FRAG_COLOR} = vec4(texture(s, vec4(0), float(0))); 38 ${OUTPUT} 39 } 40 "" 41end 42case textureproj_samplercube_vec4 43 expect compile_fail 44 values {} 45 version 300 es 46 47 both "" 48 #version 300 es 49 precision mediump float; 50 ${DECLARATIONS} 51 uniform mediump samplerCube s; 52 53 void main() 54 { 55 ${SETUP} 56 ${POSITION_FRAG_COLOR} = vec4(textureProj(s, vec4(0))); 57 ${OUTPUT} 58 } 59 "" 60end 61case textureproj_isamplercube_vec4 62 expect compile_fail 63 values {} 64 version 300 es 65 66 both "" 67 #version 300 es 68 precision mediump float; 69 ${DECLARATIONS} 70 uniform mediump isamplerCube s; 71 72 void main() 73 { 74 ${SETUP} 75 ${POSITION_FRAG_COLOR} = vec4(textureProj(s, vec4(0))); 76 ${OUTPUT} 77 } 78 "" 79end 80case textureproj_usamplercube_vec4 81 expect compile_fail 82 values {} 83 version 300 es 84 85 both "" 86 #version 300 es 87 precision mediump float; 88 ${DECLARATIONS} 89 uniform mediump usamplerCube s; 90 91 void main() 92 { 93 ${SETUP} 94 ${POSITION_FRAG_COLOR} = vec4(textureProj(s, vec4(0))); 95 ${OUTPUT} 96 } 97 "" 98end 99case textureproj_samplercube_vec4_float 100 expect compile_fail 101 values {} 102 version 300 es 103 104 both "" 105 #version 300 es 106 precision mediump float; 107 ${DECLARATIONS} 108 uniform mediump samplerCube s; 109 110 void main() 111 { 112 ${SETUP} 113 ${POSITION_FRAG_COLOR} = vec4(textureProj(s, vec4(0), float(0))); 114 ${OUTPUT} 115 } 116 "" 117end 118case textureproj_isamplercube_vec4_float 119 expect compile_fail 120 values {} 121 version 300 es 122 123 both "" 124 #version 300 es 125 precision mediump float; 126 ${DECLARATIONS} 127 uniform mediump isamplerCube s; 128 129 void main() 130 { 131 ${SETUP} 132 ${POSITION_FRAG_COLOR} = vec4(textureProj(s, vec4(0), float(0))); 133 ${OUTPUT} 134 } 135 "" 136end 137case textureproj_usamplercube_vec4_float 138 expect compile_fail 139 values {} 140 version 300 es 141 142 both "" 143 #version 300 es 144 precision mediump float; 145 ${DECLARATIONS} 146 uniform mediump usamplerCube s; 147 148 void main() 149 { 150 ${SETUP} 151 ${POSITION_FRAG_COLOR} = vec4(textureProj(s, vec4(0), float(0))); 152 ${OUTPUT} 153 } 154 "" 155end 156case textureproj_sampler2darrayshadow_vec4 157 expect compile_fail 158 values {} 159 version 300 es 160 161 both "" 162 #version 300 es 163 precision mediump float; 164 ${DECLARATIONS} 165 uniform mediump sampler2DArrayShadow s; 166 167 void main() 168 { 169 ${SETUP} 170 ${POSITION_FRAG_COLOR} = vec4(textureProj(s, vec4(0))); 171 ${OUTPUT} 172 } 173 "" 174end 175case textureproj_sampler2darrayshadow_vec4_float 176 expect compile_fail 177 values {} 178 version 300 es 179 180 both "" 181 #version 300 es 182 precision mediump float; 183 ${DECLARATIONS} 184 uniform mediump sampler2DArrayShadow s; 185 186 void main() 187 { 188 ${SETUP} 189 ${POSITION_FRAG_COLOR} = vec4(textureProj(s, vec4(0), float(0))); 190 ${OUTPUT} 191 } 192 "" 193end 194case texturelod_samplercubeshadow_vec4_float 195 expect compile_fail 196 values {} 197 version 300 es 198 199 both "" 200 #version 300 es 201 precision mediump float; 202 ${DECLARATIONS} 203 uniform mediump samplerCubeShadow s; 204 205 void main() 206 { 207 ${SETUP} 208 ${POSITION_FRAG_COLOR} = vec4(textureLod(s, vec4(0), float(0))); 209 ${OUTPUT} 210 } 211 "" 212end 213case texturelod_sampler2darrayshadow_vec4_float 214 expect compile_fail 215 values {} 216 version 300 es 217 218 both "" 219 #version 300 es 220 precision mediump float; 221 ${DECLARATIONS} 222 uniform mediump sampler2DArrayShadow s; 223 224 void main() 225 { 226 ${SETUP} 227 ${POSITION_FRAG_COLOR} = vec4(textureLod(s, vec4(0), float(0))); 228 ${OUTPUT} 229 } 230 "" 231end 232case textureoffset_samplercube_vec3_ivec2 233 expect compile_fail 234 values {} 235 version 300 es 236 237 both "" 238 #version 300 es 239 precision mediump float; 240 ${DECLARATIONS} 241 uniform mediump samplerCube s; 242 243 void main() 244 { 245 ${SETUP} 246 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec2(0))); 247 ${OUTPUT} 248 } 249 "" 250end 251case textureoffset_isamplercube_vec3_ivec2 252 expect compile_fail 253 values {} 254 version 300 es 255 256 both "" 257 #version 300 es 258 precision mediump float; 259 ${DECLARATIONS} 260 uniform mediump isamplerCube s; 261 262 void main() 263 { 264 ${SETUP} 265 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec2(0))); 266 ${OUTPUT} 267 } 268 "" 269end 270case textureoffset_usamplercube_vec3_ivec2 271 expect compile_fail 272 values {} 273 version 300 es 274 275 both "" 276 #version 300 es 277 precision mediump float; 278 ${DECLARATIONS} 279 uniform mediump usamplerCube s; 280 281 void main() 282 { 283 ${SETUP} 284 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec2(0))); 285 ${OUTPUT} 286 } 287 "" 288end 289case textureoffset_samplercube_vec3_ivec3 290 expect compile_fail 291 values {} 292 version 300 es 293 294 both "" 295 #version 300 es 296 precision mediump float; 297 ${DECLARATIONS} 298 uniform mediump samplerCube s; 299 300 void main() 301 { 302 ${SETUP} 303 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0))); 304 ${OUTPUT} 305 } 306 "" 307end 308case textureoffset_isamplercube_vec3_ivec3 309 expect compile_fail 310 values {} 311 version 300 es 312 313 both "" 314 #version 300 es 315 precision mediump float; 316 ${DECLARATIONS} 317 uniform mediump isamplerCube s; 318 319 void main() 320 { 321 ${SETUP} 322 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0))); 323 ${OUTPUT} 324 } 325 "" 326end 327case textureoffset_usamplercube_vec3_ivec3 328 expect compile_fail 329 values {} 330 version 300 es 331 332 both "" 333 #version 300 es 334 precision mediump float; 335 ${DECLARATIONS} 336 uniform mediump usamplerCube s; 337 338 void main() 339 { 340 ${SETUP} 341 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0))); 342 ${OUTPUT} 343 } 344 "" 345end 346case textureoffset_samplercube_vec3_ivec2_float 347 expect compile_fail 348 values {} 349 version 300 es 350 351 both "" 352 #version 300 es 353 precision mediump float; 354 ${DECLARATIONS} 355 uniform mediump samplerCube s; 356 357 void main() 358 { 359 ${SETUP} 360 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec2(0), float(0))); 361 ${OUTPUT} 362 } 363 "" 364end 365case textureoffset_samplercube_vec3_ivec3_float 366 expect compile_fail 367 values {} 368 version 300 es 369 370 both "" 371 #version 300 es 372 precision mediump float; 373 ${DECLARATIONS} 374 uniform mediump samplerCube s; 375 376 void main() 377 { 378 ${SETUP} 379 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0), float(0))); 380 ${OUTPUT} 381 } 382 "" 383end 384case textureoffset_sampler2darray_vec3_ivec3 385 expect compile_fail 386 values {} 387 version 300 es 388 389 both "" 390 #version 300 es 391 precision mediump float; 392 ${DECLARATIONS} 393 uniform mediump sampler2DArray s; 394 395 void main() 396 { 397 ${SETUP} 398 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0))); 399 ${OUTPUT} 400 } 401 "" 402end 403case textureoffset_sampler2darray_vec3_ivec3_float 404 expect compile_fail 405 values {} 406 version 300 es 407 408 both "" 409 #version 300 es 410 precision mediump float; 411 ${DECLARATIONS} 412 uniform mediump sampler2DArray s; 413 414 void main() 415 { 416 ${SETUP} 417 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec3(0), ivec3(0), float(0))); 418 ${OUTPUT} 419 } 420 "" 421end 422case textureoffset_samplercubeshadow_vec4_ivec2 423 expect compile_fail 424 values {} 425 version 300 es 426 427 both "" 428 #version 300 es 429 precision mediump float; 430 ${DECLARATIONS} 431 uniform mediump samplerCubeShadow s; 432 433 void main() 434 { 435 ${SETUP} 436 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec4(0), ivec2(0))); 437 ${OUTPUT} 438 } 439 "" 440end 441case textureoffset_samplercubeshadow_vec4_ivec3 442 expect compile_fail 443 values {} 444 version 300 es 445 446 both "" 447 #version 300 es 448 precision mediump float; 449 ${DECLARATIONS} 450 uniform mediump samplerCubeShadow s; 451 452 void main() 453 { 454 ${SETUP} 455 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec4(0), ivec3(0))); 456 ${OUTPUT} 457 } 458 "" 459end 460case textureoffset_sampler2darrayshadow_vec4_ivec2 461 expect compile_fail 462 values {} 463 version 300 es 464 465 both "" 466 #version 300 es 467 precision mediump float; 468 ${DECLARATIONS} 469 uniform mediump sampler2DArrayShadow s; 470 471 void main() 472 { 473 ${SETUP} 474 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec4(0), ivec2(0))); 475 ${OUTPUT} 476 } 477 "" 478end 479case textureoffset_sampler2darrayshadow_vec4_ivec2_float 480 expect compile_fail 481 values {} 482 version 300 es 483 484 both "" 485 #version 300 es 486 precision mediump float; 487 ${DECLARATIONS} 488 uniform mediump sampler2DArrayShadow s; 489 490 void main() 491 { 492 ${SETUP} 493 ${POSITION_FRAG_COLOR} = vec4(textureOffset(s, vec4(0), ivec2(0), float(0))); 494 ${OUTPUT} 495 } 496 "" 497end 498case texelfetch_samplercube_ivec3_int 499 expect compile_fail 500 values {} 501 version 300 es 502 503 both "" 504 #version 300 es 505 precision mediump float; 506 ${DECLARATIONS} 507 uniform mediump samplerCube s; 508 509 void main() 510 { 511 ${SETUP} 512 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec3(0), int(0))); 513 ${OUTPUT} 514 } 515 "" 516end 517case texelfetch_isamplercube_ivec3_int 518 expect compile_fail 519 values {} 520 version 300 es 521 522 both "" 523 #version 300 es 524 precision mediump float; 525 ${DECLARATIONS} 526 uniform mediump isamplerCube s; 527 528 void main() 529 { 530 ${SETUP} 531 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec3(0), int(0))); 532 ${OUTPUT} 533 } 534 "" 535end 536case texelfetch_usamplercube_ivec3_int 537 expect compile_fail 538 values {} 539 version 300 es 540 541 both "" 542 #version 300 es 543 precision mediump float; 544 ${DECLARATIONS} 545 uniform mediump usamplerCube s; 546 547 void main() 548 { 549 ${SETUP} 550 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec3(0), int(0))); 551 ${OUTPUT} 552 } 553 "" 554end 555case texelfetch_sampler2dshadow_ivec2_int 556 expect compile_fail 557 values {} 558 version 300 es 559 560 both "" 561 #version 300 es 562 precision mediump float; 563 ${DECLARATIONS} 564 uniform mediump sampler2DShadow s; 565 566 void main() 567 { 568 ${SETUP} 569 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec2(0), int(0))); 570 ${OUTPUT} 571 } 572 "" 573end 574case texelfetch_samplercubeshadow_ivec3_int 575 expect compile_fail 576 values {} 577 version 300 es 578 579 both "" 580 #version 300 es 581 precision mediump float; 582 ${DECLARATIONS} 583 uniform mediump samplerCubeShadow s; 584 585 void main() 586 { 587 ${SETUP} 588 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec3(0), int(0))); 589 ${OUTPUT} 590 } 591 "" 592end 593case texelfetch_sampler2darrayshadow_ivec3_int 594 expect compile_fail 595 values {} 596 version 300 es 597 598 both "" 599 #version 300 es 600 precision mediump float; 601 ${DECLARATIONS} 602 uniform mediump sampler2DArrayShadow s; 603 604 void main() 605 { 606 ${SETUP} 607 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec3(0), int(0))); 608 ${OUTPUT} 609 } 610 "" 611end 612case texelfetch_samplercube_ivec3_int_ivec3 613 expect compile_fail 614 values {} 615 version 300 es 616 617 both "" 618 #version 300 es 619 precision mediump float; 620 ${DECLARATIONS} 621 uniform mediump samplerCube s; 622 623 void main() 624 { 625 ${SETUP} 626 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec3(0), int(0), ivec3(0))); 627 ${OUTPUT} 628 } 629 "" 630end 631case texelfetch_sampler2dshadow_ivec2_int_ivec2 632 expect compile_fail 633 values {} 634 version 300 es 635 636 both "" 637 #version 300 es 638 precision mediump float; 639 ${DECLARATIONS} 640 uniform mediump sampler2DShadow s; 641 642 void main() 643 { 644 ${SETUP} 645 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec2(0), int(0), ivec2(0))); 646 ${OUTPUT} 647 } 648 "" 649end 650case texelfetch_samplercubeshadow_ivec3_int_ivec3 651 expect compile_fail 652 values {} 653 version 300 es 654 655 both "" 656 #version 300 es 657 precision mediump float; 658 ${DECLARATIONS} 659 uniform mediump samplerCubeShadow s; 660 661 void main() 662 { 663 ${SETUP} 664 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec3(0), int(0), ivec3(0))); 665 ${OUTPUT} 666 } 667 "" 668end 669case texelfetch_sampler2darrayshadow_ivec3_int_ivec3 670 expect compile_fail 671 values {} 672 version 300 es 673 674 both "" 675 #version 300 es 676 precision mediump float; 677 ${DECLARATIONS} 678 uniform mediump sampler2DArrayShadow s; 679 680 void main() 681 { 682 ${SETUP} 683 ${POSITION_FRAG_COLOR} = vec4(texelFetch(s, ivec3(0), int(0), ivec3(0))); 684 ${OUTPUT} 685 } 686 "" 687end 688case textureprojoffset_samplercube_vec4_ivec2 689 expect compile_fail 690 values {} 691 version 300 es 692 693 both "" 694 #version 300 es 695 precision mediump float; 696 ${DECLARATIONS} 697 uniform mediump samplerCube s; 698 699 void main() 700 { 701 ${SETUP} 702 ${POSITION_FRAG_COLOR} = vec4(textureProjOffset(s, vec4(0), ivec2(0))); 703 ${OUTPUT} 704 } 705 "" 706end 707case textureprojoffset_samplercube_vec4_ivec3 708 expect compile_fail 709 values {} 710 version 300 es 711 712 both "" 713 #version 300 es 714 precision mediump float; 715 ${DECLARATIONS} 716 uniform mediump samplerCube s; 717 718 void main() 719 { 720 ${SETUP} 721 ${POSITION_FRAG_COLOR} = vec4(textureProjOffset(s, vec4(0), ivec3(0))); 722 ${OUTPUT} 723 } 724 "" 725end 726case textureprojoffset_samplercubeshadow_vec4_ivec3 727 expect compile_fail 728 values {} 729 version 300 es 730 731 both "" 732 #version 300 es 733 precision mediump float; 734 ${DECLARATIONS} 735 uniform mediump samplerCubeShadow s; 736 737 void main() 738 { 739 ${SETUP} 740 ${POSITION_FRAG_COLOR} = vec4(textureProjOffset(s, vec4(0), ivec3(0))); 741 ${OUTPUT} 742 } 743 "" 744end 745case textureprojoffset_sampler2darrayshadow_vec4_ivec2 746 expect compile_fail 747 values {} 748 version 300 es 749 750 both "" 751 #version 300 es 752 precision mediump float; 753 ${DECLARATIONS} 754 uniform mediump sampler2DArrayShadow s; 755 756 void main() 757 { 758 ${SETUP} 759 ${POSITION_FRAG_COLOR} = vec4(textureProjOffset(s, vec4(0), ivec2(0))); 760 ${OUTPUT} 761 } 762 "" 763end 764case textureprojoffset_sampler2darrayshadow_vec4_ivec3 765 expect compile_fail 766 values {} 767 version 300 es 768 769 both "" 770 #version 300 es 771 precision mediump float; 772 ${DECLARATIONS} 773 uniform mediump sampler2DArrayShadow s; 774 775 void main() 776 { 777 ${SETUP} 778 ${POSITION_FRAG_COLOR} = vec4(textureProjOffset(s, vec4(0), ivec3(0))); 779 ${OUTPUT} 780 } 781 "" 782end 783case texturelodoffset_samplercube_vec3_float_ivec2 784 expect compile_fail 785 values {} 786 version 300 es 787 788 both "" 789 #version 300 es 790 precision mediump float; 791 ${DECLARATIONS} 792 uniform mediump samplerCube s; 793 794 void main() 795 { 796 ${SETUP} 797 ${POSITION_FRAG_COLOR} = vec4(textureLodOffset(s, vec3(0), float(0), ivec2(0))); 798 ${OUTPUT} 799 } 800 "" 801end 802case texturelodoffset_samplercube_vec3_float_ivec3 803 expect compile_fail 804 values {} 805 version 300 es 806 807 both "" 808 #version 300 es 809 precision mediump float; 810 ${DECLARATIONS} 811 uniform mediump samplerCube s; 812 813 void main() 814 { 815 ${SETUP} 816 ${POSITION_FRAG_COLOR} = vec4(textureLodOffset(s, vec3(0), float(0), ivec3(0))); 817 ${OUTPUT} 818 } 819 "" 820end 821case texturelodoffset_samplercubeshadow_vec3_float_ivec3 822 expect compile_fail 823 values {} 824 version 300 es 825 826 both "" 827 #version 300 es 828 precision mediump float; 829 ${DECLARATIONS} 830 uniform mediump samplerCubeShadow s; 831 832 void main() 833 { 834 ${SETUP} 835 ${POSITION_FRAG_COLOR} = vec4(textureLodOffset(s, vec3(0), float(0), ivec3(0))); 836 ${OUTPUT} 837 } 838 "" 839end 840case texturelodoffset_sampler2darrayshadow_vec3_float_ivec2 841 expect compile_fail 842 values {} 843 version 300 es 844 845 both "" 846 #version 300 es 847 precision mediump float; 848 ${DECLARATIONS} 849 uniform mediump sampler2DArrayShadow s; 850 851 void main() 852 { 853 ${SETUP} 854 ${POSITION_FRAG_COLOR} = vec4(textureLodOffset(s, vec3(0), float(0), ivec2(0))); 855 ${OUTPUT} 856 } 857 "" 858end 859case texturelodoffset_sampler2darrayshadow_vec3_float_ivec3 860 expect compile_fail 861 values {} 862 version 300 es 863 864 both "" 865 #version 300 es 866 precision mediump float; 867 ${DECLARATIONS} 868 uniform mediump sampler2DArrayShadow s; 869 870 void main() 871 { 872 ${SETUP} 873 ${POSITION_FRAG_COLOR} = vec4(textureLodOffset(s, vec3(0), float(0), ivec3(0))); 874 ${OUTPUT} 875 } 876 "" 877end 878case textureprojlod_samplercube_vec4_float 879 expect compile_fail 880 values {} 881 version 300 es 882 883 both "" 884 #version 300 es 885 precision mediump float; 886 ${DECLARATIONS} 887 uniform mediump samplerCube s; 888 889 void main() 890 { 891 ${SETUP} 892 ${POSITION_FRAG_COLOR} = vec4(textureProjLod(s, vec4(0), float(0))); 893 ${OUTPUT} 894 } 895 "" 896end 897case textureprojlod_sampler2darray_vec4_float 898 expect compile_fail 899 values {} 900 version 300 es 901 902 both "" 903 #version 300 es 904 precision mediump float; 905 ${DECLARATIONS} 906 uniform mediump sampler2DArray s; 907 908 void main() 909 { 910 ${SETUP} 911 ${POSITION_FRAG_COLOR} = vec4(textureProjLod(s, vec4(0), float(0))); 912 ${OUTPUT} 913 } 914 "" 915end 916case textureprojlod_sampler2darrayshadow_vec4_float 917 expect compile_fail 918 values {} 919 version 300 es 920 921 both "" 922 #version 300 es 923 precision mediump float; 924 ${DECLARATIONS} 925 uniform mediump sampler2DArrayShadow s; 926 927 void main() 928 { 929 ${SETUP} 930 ${POSITION_FRAG_COLOR} = vec4(textureProjLod(s, vec4(0), float(0))); 931 ${OUTPUT} 932 } 933 "" 934end 935case texturegrad_sampler2darray_vec3_vec3_vec3 936 expect compile_fail 937 values {} 938 version 300 es 939 940 both "" 941 #version 300 es 942 precision mediump float; 943 ${DECLARATIONS} 944 uniform mediump sampler2DArray s; 945 946 void main() 947 { 948 ${SETUP} 949 ${POSITION_FRAG_COLOR} = vec4(textureGrad(s, vec3(0), vec3(0), vec3(0))); 950 ${OUTPUT} 951 } 952 "" 953end 954case texturegradoffset_samplercube_vec3_vec3_vec3_ivec2 955 expect compile_fail 956 values {} 957 version 300 es 958 959 both "" 960 #version 300 es 961 precision mediump float; 962 ${DECLARATIONS} 963 uniform mediump samplerCube s; 964 965 void main() 966 { 967 ${SETUP} 968 ${POSITION_FRAG_COLOR} = vec4(textureGradOffset(s, vec3(0), vec3(0), vec3(0), ivec2(0))); 969 ${OUTPUT} 970 } 971 "" 972end 973case texturegradoffset_samplercube_vec3_vec3_vec3_ivec3 974 expect compile_fail 975 values {} 976 version 300 es 977 978 both "" 979 #version 300 es 980 precision mediump float; 981 ${DECLARATIONS} 982 uniform mediump samplerCube s; 983 984 void main() 985 { 986 ${SETUP} 987 ${POSITION_FRAG_COLOR} = vec4(textureGradOffset(s, vec3(0), vec3(0), vec3(0), ivec3(0))); 988 ${OUTPUT} 989 } 990 "" 991end 992case texturegradoffset_samplercubeshadow_vec4_vec3_vec3_ivec2 993 expect compile_fail 994 values {} 995 version 300 es 996 997 both "" 998 #version 300 es 999 precision mediump float; 1000 ${DECLARATIONS} 1001 uniform mediump samplerCubeShadow s; 1002 1003 void main() 1004 { 1005 ${SETUP} 1006 ${POSITION_FRAG_COLOR} = vec4(textureGradOffset(s, vec4(0), vec3(0), vec3(0), ivec2(0))); 1007 ${OUTPUT} 1008 } 1009 "" 1010end 1011case texturegradoffset_samplercubeshadow_vec4_vec3_vec3_ivec3 1012 expect compile_fail 1013 values {} 1014 version 300 es 1015 1016 both "" 1017 #version 300 es 1018 precision mediump float; 1019 ${DECLARATIONS} 1020 uniform mediump samplerCubeShadow s; 1021 1022 void main() 1023 { 1024 ${SETUP} 1025 ${POSITION_FRAG_COLOR} = vec4(textureGradOffset(s, vec4(0), vec3(0), vec3(0), ivec3(0))); 1026 ${OUTPUT} 1027 } 1028 "" 1029end 1030case textureprojgrad_samplercube_vec4_vec3_vec3 1031 expect compile_fail 1032 values {} 1033 version 300 es 1034 1035 both "" 1036 #version 300 es 1037 precision mediump float; 1038 ${DECLARATIONS} 1039 uniform mediump samplerCube s; 1040 1041 void main() 1042 { 1043 ${SETUP} 1044 ${POSITION_FRAG_COLOR} = vec4(textureProjGrad(s, vec4(0), vec3(0), vec3(0))); 1045 ${OUTPUT} 1046 } 1047 "" 1048end 1049case textureprojgrad_sampler2darray_vec4_vec2_vec2 1050 expect compile_fail 1051 values {} 1052 version 300 es 1053 1054 both "" 1055 #version 300 es 1056 precision mediump float; 1057 ${DECLARATIONS} 1058 uniform mediump sampler2DArray s; 1059 1060 void main() 1061 { 1062 ${SETUP} 1063 ${POSITION_FRAG_COLOR} = vec4(textureProjGrad(s, vec4(0), vec2(0), vec2(0))); 1064 ${OUTPUT} 1065 } 1066 "" 1067end 1068case textureprojgradoffset_samplercube_vec4_vec3_vec3_ivec2 1069 expect compile_fail 1070 values {} 1071 version 300 es 1072 1073 both "" 1074 #version 300 es 1075 precision mediump float; 1076 ${DECLARATIONS} 1077 uniform mediump samplerCube s; 1078 1079 void main() 1080 { 1081 ${SETUP} 1082 ${POSITION_FRAG_COLOR} = vec4(textureProjGradOffset(s, vec4(0), vec3(0), vec3(0), ivec2(0))); 1083 ${OUTPUT} 1084 } 1085 "" 1086end 1087case textureprojgradoffset_samplercube_vec4_vec3_vec3_ivec3 1088 expect compile_fail 1089 values {} 1090 version 300 es 1091 1092 both "" 1093 #version 300 es 1094 precision mediump float; 1095 ${DECLARATIONS} 1096 uniform mediump samplerCube s; 1097 1098 void main() 1099 { 1100 ${SETUP} 1101 ${POSITION_FRAG_COLOR} = vec4(textureProjGradOffset(s, vec4(0), vec3(0), vec3(0), ivec3(0))); 1102 ${OUTPUT} 1103 } 1104 "" 1105end 1106case textureprojgradoffset_sampler2darray_vec4_vec2_vec2_ivec2 1107 expect compile_fail 1108 values {} 1109 version 300 es 1110 1111 both "" 1112 #version 300 es 1113 precision mediump float; 1114 ${DECLARATIONS} 1115 uniform mediump sampler2DArray s; 1116 1117 void main() 1118 { 1119 ${SETUP} 1120 ${POSITION_FRAG_COLOR} = vec4(textureProjGradOffset(s, vec4(0), vec2(0), vec2(0), ivec2(0))); 1121 ${OUTPUT} 1122 } 1123 "" 1124end 1125case textureprojgradoffset_sampler2darray_vec4_vec2_vec2_ivec3 1126 expect compile_fail 1127 values {} 1128 version 300 es 1129 1130 both "" 1131 #version 300 es 1132 precision mediump float; 1133 ${DECLARATIONS} 1134 uniform mediump sampler2DArray s; 1135 1136 void main() 1137 { 1138 ${SETUP} 1139 ${POSITION_FRAG_COLOR} = vec4(textureProjGradOffset(s, vec4(0), vec2(0), vec2(0), ivec3(0))); 1140 ${OUTPUT} 1141 } 1142 "" 1143end 1144