Lines Matching refs:assert

256    assert(ralloc_parent(ir->name) == ir);
301 assert(ir->operands[i] == NULL);
305 assert(ir->operands[i] != NULL);
310 assert(ir->operands[0]->type == ir->type);
313 assert(ir->type->is_boolean());
314 assert(ir->operands[0]->type->is_boolean());
318 assert(ir->type == ir->operands[0]->type);
323 assert(ir->operands[0]->type->is_int_16_32_64() ||
325 assert(ir->type == ir->operands[0]->type);
331 assert(ir->type->is_float_16_32_64());
332 assert(ir->type == ir->operands[0]->type);
340 assert(ir->operands[0]->type->is_float_16_32());
341 assert(ir->type == ir->operands[0]->type);
345 assert(ir->operands[0]->type->is_float_16_32());
346 assert(ir->type->is_int_16_32());
349 assert(ir->operands[0]->type->is_float_16_32());
350 assert(ir->type->is_uint_16_32());
353 assert(ir->operands[0]->type->is_int_16_32());
354 assert(ir->type->is_float_16_32());
357 assert(ir->operands[0]->type->is_float_16_32());
358 assert(ir->type->is_boolean());
361 assert(ir->operands[0]->type->base_type ==
363 assert(ir->type->is_boolean());
366 assert(ir->operands[0]->type->is_boolean());
367 assert(ir->type->is_float_16_32());
370 assert(ir->operands[0]->type->is_boolean());
371 assert(ir->type->base_type == GLSL_TYPE_FLOAT16);
374 assert(ir->operands[0]->type->is_int_16_32());
375 assert(ir->type->is_boolean());
378 assert(ir->operands[0]->type->is_boolean());
379 assert(ir->type->is_int_16_32());
382 assert(ir->operands[0]->type->is_uint_16_32());
383 assert(ir->type->is_float_16_32());
386 assert(ir->operands[0]->type->is_int_16_32());
387 assert(ir->type->is_uint_16_32());
390 assert(ir->operands[0]->type->is_uint_16_32());
391 assert(ir->type->is_int_16_32());
394 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
395 assert(ir->type->base_type == GLSL_TYPE_FLOAT);
398 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT);
399 assert(ir->type->base_type == GLSL_TYPE_INT);
402 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT);
403 assert(ir->type->base_type == GLSL_TYPE_FLOAT);
406 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT);
407 assert(ir->type->base_type == GLSL_TYPE_UINT);
411 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT64);
412 assert(ir->type->is_double());
415 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
416 assert(ir->type->is_double());
419 assert(ir->operands[0]->type->is_double());
420 assert(ir->type->base_type == GLSL_TYPE_UINT64);
423 assert(ir->operands[0]->type->is_double());
424 assert(ir->type->base_type == GLSL_TYPE_INT64);
427 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
428 assert(ir->type->is_int_16_32());
431 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT64);
432 assert(ir->type->is_int_16_32());
435 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
436 assert(ir->type->is_uint_16_32());
439 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT64);
440 assert(ir->type->is_uint_16_32());
443 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
444 assert(ir->type->is_boolean());
447 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
448 assert(ir->type->is_float());
451 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT64);
452 assert(ir->type->is_float());
455 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
456 assert(ir->type->is_double());
459 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT64);
460 assert(ir->type->is_double());
463 assert(ir->operands[0]->type->is_int_16_32());
464 assert(ir->type->base_type == GLSL_TYPE_INT64);
467 assert(ir->operands[0]->type->is_uint_16_32());
468 assert(ir->type->base_type == GLSL_TYPE_INT64);
471 assert(ir->operands[0]->type->is_boolean());
472 assert(ir->type->base_type == GLSL_TYPE_INT64);
475 assert(ir->operands[0]->type->is_float());
476 assert(ir->type->base_type == GLSL_TYPE_INT64);
479 assert(ir->operands[0]->type->is_double());
480 assert(ir->type->base_type == GLSL_TYPE_INT64);
483 assert(ir->operands[0]->type->is_int_16_32());
484 assert(ir->type->base_type == GLSL_TYPE_UINT64);
487 assert(ir->operands[0]->type->is_uint_16_32());
488 assert(ir->type->base_type == GLSL_TYPE_UINT64);
491 assert(ir->operands[0]->type->is_float());
492 assert(ir->type->base_type == GLSL_TYPE_UINT64);
495 assert(ir->operands[0]->type->is_double());
496 assert(ir->type->base_type == GLSL_TYPE_UINT64);
499 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT64);
500 assert(ir->type->base_type == GLSL_TYPE_INT64);
503 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT64);
504 assert(ir->type->base_type == GLSL_TYPE_UINT64);
511 assert(ir->operands[0]->type->is_float_16_32_64());
512 assert(ir->operands[0]->type == ir->type);
522 assert(ir->operands[0]->type->is_float_16_32());
523 assert(ir->operands[0]->type == ir->type);
529 assert(ir->type == glsl_type::uint_type);
530 assert(ir->operands[0]->type == glsl_type::vec2_type);
535 assert(ir->type == glsl_type::uint_type);
536 assert(ir->operands[0]->type == glsl_type::vec4_type);
540 assert(ir->type == glsl_type::double_type);
541 assert(ir->operands[0]->type == glsl_type::uvec2_type);
545 assert(ir->type == glsl_type::int64_t_type);
546 assert(ir->operands[0]->type == glsl_type::ivec2_type);
550 assert(ir->type == glsl_type::uint64_t_type);
551 assert(ir->operands[0]->type == glsl_type::uvec2_type);
555 assert(ir->type->is_sampler());
556 assert(ir->operands[0]->type == glsl_type::uvec2_type);
560 assert(ir->type->is_image());
561 assert(ir->operands[0]->type == glsl_type::uvec2_type);
567 assert(ir->type == glsl_type::vec2_type);
568 assert(ir->operands[0]->type == glsl_type::uint_type);
573 assert(ir->type == glsl_type::vec4_type);
574 assert(ir->operands[0]->type == glsl_type::uint_type);
578 assert(ir->type == glsl_type::uvec2_type);
579 assert(ir->operands[0]->type == glsl_type::double_type);
583 assert(ir->type == glsl_type::ivec2_type);
584 assert(ir->operands[0]->type == glsl_type::int64_t_type);
588 assert(ir->type == glsl_type::uvec2_type);
589 assert(ir->operands[0]->type == glsl_type::uint64_t_type);
593 assert(ir->type == glsl_type::uvec2_type);
594 assert(ir->operands[0]->type->is_sampler());
598 assert(ir->type == glsl_type::uvec2_type);
599 assert(ir->operands[0]->type->is_image());
603 assert(ir->operands[0]->type == ir->type);
604 assert(ir->type->is_integer_32());
610 assert(ir->operands[0]->type->vector_elements == ir->type->vector_elements);
611 assert(ir->operands[0]->type->is_integer_16_32());
612 assert(ir->type->is_int_16_32());
616 assert(ir->operands[0]->type == ir->type);
617 assert(ir->type->is_uint_16_32());
621 assert(ir->operands[0]->type == ir->type);
622 assert(ir->operands[0]->type->is_float_16_32());
626 assert(ir->type == glsl_type::int_type);
627 assert(ir->operands[0]->type == glsl_type::uint_type);
631 assert(ir->type == glsl_type::int_type);
632 assert(ir->operands[0]->type->is_array());
633 assert(ir->operands[0]->type->is_unsized_array());
637 assert(ir->type == glsl_type::int_type);
638 assert(ir->operands[0]->type->is_array());
642 assert(ir->operands[0]->type->is_double());
643 assert(ir->type->is_float());
646 assert(ir->operands[0]->type->is_float());
647 assert(ir->type->is_double());
650 assert(ir->operands[0]->type->base_type == GLSL_TYPE_FLOAT16);
651 assert(ir->type->is_float());
655 assert(ir->operands[0]->type->is_float());
656 assert(ir->type->base_type == GLSL_TYPE_FLOAT16);
659 assert(ir->operands[0]->type->is_int_16_32());
660 assert(ir->type->is_int_16_32());
661 assert(ir->type->base_type != ir->operands[0]->type->base_type);
664 assert(ir->operands[0]->type->is_uint_16_32());
665 assert(ir->type->is_uint_16_32());
666 assert(ir->type->base_type != ir->operands[0]->type->base_type);
669 assert(ir->operands[0]->type->base_type == GLSL_TYPE_INT);
670 assert(ir->type->base_type == GLSL_TYPE_INT16);
673 assert(ir->operands[0]->type->base_type == GLSL_TYPE_UINT);
674 assert(ir->type->base_type == GLSL_TYPE_UINT16);
677 assert(ir->operands[0]->type->is_double());
678 assert(ir->type->is_int_16_32());
681 assert(ir->operands[0]->type->is_int_16_32());
682 assert(ir->type->is_double());
685 assert(ir->operands[0]->type->is_double());
686 assert(ir->type->is_uint_16_32());
689 assert(ir->operands[0]->type->is_uint_16_32());
690 assert(ir->type->is_double());
693 assert(ir->operands[0]->type->is_double());
694 assert(ir->type->is_boolean());
698 assert(ir->operands[0]->type->is_float_32_64());
699 assert(ir->type->is_double());
702 assert(ir->operands[0]->type->is_float_32_64());
703 assert(ir->type->base_type == GLSL_TYPE_INT);
706 assert(ir->operands[0]->type->base_type == GLSL_TYPE_SUBROUTINE);
707 assert(ir->type->base_type == GLSL_TYPE_INT);
711 assert(ir->operands[0]->type->is_float_16_32_64());
712 assert(ir->type == ir->operands[0]->type);
723 assert(ir->operands[0]->type->base_type ==
733 assert(ir->operands[0]->type == ir->operands[1]->type);
738 assert(ir->operands[1]->type == ir->type);
740 assert(ir->operands[0]->type == ir->type);
743 assert(ir->operands[0]->type == ir->operands[1]->type);
744 assert(ir->operands[0]->type == ir->type);
749 assert(ir->operands[0]->type == ir->operands[1]->type);
750 assert(ir->operands[0]->type->is_integer_16_32_64());
751 assert(ir->operands[0]->type->vector_elements ==
753 assert(ir->type->is_uint_16_32_64());
760 assert(ir->type == ir->operands[0]->type);
761 assert(ir->type == ir->operands[1]->type);
762 assert(ir->type->is_integer_16_32_64());
767 assert(ir->type == ir->operands[0]->type);
768 assert(ir->type == ir->operands[1]->type);
769 assert(ir->type->is_integer_32());
774 assert(ir->type == ir->operands[0]->type);
775 assert(ir->type == ir->operands[1]->type);
776 assert(ir->type->base_type == GLSL_TYPE_UINT);
788 assert(ir->type->is_boolean());
789 assert(ir->operands[0]->type == ir->operands[1]->type);
790 assert(ir->operands[0]->type->is_vector()
792 assert(ir->operands[0]->type->vector_elements
801 assert(ir->type == glsl_type::bool_type);
802 assert(ir->operands[0]->type == ir->operands[1]->type);
807 assert(ir->operands[0]->type->is_integer_16_32_64() &&
810 assert(ir->operands[1]->type->is_scalar());
814 assert(ir->operands[0]->type->components() ==
817 assert(ir->type == ir->operands[0]->type);
823 assert(ir->operands[0]->type->base_type ==
825 assert(ir->type->is_integer_16_32_64());
828 assert(ir->operands[0]->type->vector_elements ==
836 assert(ir->type->is_boolean());
837 assert(ir->operands[0]->type->is_boolean());
838 assert(ir->operands[1]->type->is_boolean());
842 assert(ir->type == glsl_type::float_type ||
845 assert(ir->operands[0]->type->is_float_16_32_64());
846 assert(ir->operands[0]->type->is_vector());
847 assert(ir->operands[0]->type == ir->operands[1]->type);
851 assert(ir->operands[0]->type == glsl_type::uint_type);
853 assert(ir->operands[1]->type == glsl_type::uint_type);
857 assert(ir->operands[0]->type == ir->type);
858 assert(ir->operands[0]->type->is_float_32_64());
859 assert(ir->operands[1]->type->base_type == GLSL_TYPE_INT);
860 assert(ir->operands[0]->type->components() ==
865 assert(ir->operands[0]->type->is_vector());
866 assert(ir->operands[1]->type->is_scalar()
871 assert(ir->operands[0]->type == ir->type);
872 assert(ir->operands[0]->type->is_float_16_32());
873 assert(ir->operands[1]->type->components() == 2);
874 assert(ir->operands[1]->type->is_float_16_32());
878 assert(ir->operands[0]->type == ir->type);
879 assert(ir->operands[0]->type->is_float_16_32());
880 assert(ir->operands[1]->type == glsl_type::int_type ||
885 assert(ir->operands[0]->type->is_float_16_32_64());
886 assert(ir->operands[1]->type == ir->operands[0]->type);
887 assert(ir->type == ir->operands[0]->type);
891 assert(ir->type->is_float_16_32_64());
892 assert(ir->type == ir->operands[0]->type);
893 assert(ir->type == ir->operands[1]->type);
894 assert(ir->type == ir->operands[2]->type);
898 assert(ir->operands[0]->type->is_float_16_32_64());
899 assert(ir->operands[0]->type == ir->operands[1]->type);
900 assert(ir->operands[2]->type == ir->operands[0]->type ||
907 assert(ir->operands[0]->type->is_boolean());
908 assert(ir->type->vector_elements == ir->operands[0]->type->vector_elements);
909 assert(ir->type == ir->operands[1]->type);
910 assert(ir->type == ir->operands[2]->type);
914 assert(ir->type->is_integer_16_32());
915 assert(ir->operands[0]->type == ir->type);
916 assert(ir->operands[1]->type == ir->type);
917 assert(ir->operands[2]->type == ir->type);
921 assert(ir->operands[0]->type->is_vector());
922 assert(ir->operands[1]->type->is_scalar());
923 assert(ir->operands[0]->type->base_type == ir->operands[1]->type->base_type);
924 assert(ir->operands[2]->type->is_scalar()
926 assert(ir->type == ir->operands[0]->type);
930 assert(ir->type->is_integer_16_32());
931 assert(ir->operands[0]->type == ir->type);
932 assert(ir->operands[1]->type == ir->type);
933 assert(ir->operands[2]->type == ir->type);
934 assert(ir->operands[3]->type == ir->type);
947 assert(ir->operands[0]->type->is_scalar());
948 assert(ir->operands[0]->type->base_type == ir->type->base_type);
949 assert(ir->operands[1] == NULL);
950 assert(ir->operands[2] == NULL);
951 assert(ir->operands[3] == NULL);
954 assert(ir->operands[0]->type->is_scalar());
955 assert(ir->operands[0]->type->base_type == ir->type->base_type);
956 assert(ir->operands[1]->type->is_scalar());
957 assert(ir->operands[1]->type->base_type == ir->type->base_type);
958 assert(ir->operands[2] == NULL);
959 assert(ir->operands[3] == NULL);
962 assert(ir->operands[0]->type->is_scalar());
963 assert(ir->operands[0]->type->base_type == ir->type->base_type);
964 assert(ir->operands[1]->type->is_scalar());
965 assert(ir->operands[1]->type->base_type == ir->type->base_type);
966 assert(ir->operands[2]->type->is_scalar());
967 assert(ir->operands[2]->type->base_type == ir->type->base_type);
968 assert(ir->operands[3] == NULL);
971 assert(ir->operands[0]->type->is_scalar());
972 assert(ir->operands[0]->type->base_type == ir->type->base_type);
973 assert(ir->operands[1]->type->is_scalar());
974 assert(ir->operands[1]->type->base_type == ir->type->base_type);
975 assert(ir->operands[2]->type->is_scalar());
976 assert(ir->operands[2]->type->base_type == ir->type->base_type);
977 assert(ir->operands[3]->type->is_scalar());
978 assert(ir->operands[3]->type->base_type == ir->type->base_type);
984 assert(!"Should not get here.");
1018 assert(ralloc_parent(ir->name) == ir);
1048 assert(max_ifc_array_access != NULL);
1206 assert(value->type != glsl_type::error_type);
1213 * and it's half composed of assert()s anyway which wouldn't do