8 #ifndef VULKAN_FORMAT_TRAITS_HPP
9 #define VULKAN_FORMAT_TRAITS_HPP
109 default:
return { { 1, 1, 1 } };
1003 switch ( component )
1012 switch ( component )
1021 switch ( component )
1030 switch ( component )
1039 switch ( component )
1048 switch ( component )
1057 switch ( component )
1066 switch ( component )
1075 switch ( component )
1084 switch ( component )
1093 switch ( component )
1102 switch ( component )
1111 switch ( component )
1120 switch ( component )
1129 switch ( component )
1138 switch ( component )
1147 switch ( component )
1156 switch ( component )
1165 switch ( component )
1174 switch ( component )
1183 switch ( component )
1192 switch ( component )
1201 switch ( component )
1207 switch ( component )
1213 switch ( component )
1219 switch ( component )
1225 switch ( component )
1231 switch ( component )
1237 switch ( component )
1243 switch ( component )
1250 switch ( component )
1257 switch ( component )
1264 switch ( component )
1271 switch ( component )
1278 switch ( component )
1285 switch ( component )
1292 switch ( component )
1300 switch ( component )
1308 switch ( component )
1316 switch ( component )
1324 switch ( component )
1332 switch ( component )
1340 switch ( component )
1348 switch ( component )
1357 switch ( component )
1366 switch ( component )
1375 switch ( component )
1384 switch ( component )
1393 switch ( component )
1402 switch ( component )
1411 switch ( component )
1417 switch ( component )
1423 switch ( component )
1429 switch ( component )
1436 switch ( component )
1443 switch ( component )
1450 switch ( component )
1458 switch ( component )
1466 switch ( component )
1474 switch ( component )
1483 switch ( component )
1492 switch ( component )
1501 switch ( component )
1507 switch ( component )
1513 switch ( component )
1519 switch ( component )
1526 switch ( component )
1533 switch ( component )
1540 switch ( component )
1548 switch ( component )
1556 switch ( component )
1564 switch ( component )
1573 switch ( component )
1582 switch ( component )
1591 switch ( component )
1599 switch ( component )
1607 switch ( component )
1613 switch ( component )
1619 switch ( component )
1625 switch ( component )
1631 switch ( component )
1638 switch ( component )
1645 switch ( component )
1652 switch ( component )
1658 switch ( component )
1664 switch ( component )
1671 switch ( component )
1678 switch ( component )
1687 switch ( component )
1696 switch ( component )
1704 switch ( component )
1712 switch ( component )
1720 switch ( component )
1728 switch ( component )
1736 switch ( component )
1742 switch ( component )
1749 switch ( component )
1758 switch ( component )
1767 switch ( component )
1776 switch ( component )
1784 switch ( component )
1792 switch ( component )
1800 switch ( component )
1808 switch ( component )
1816 switch ( component )
1822 switch ( component )
1829 switch ( component )
1838 switch ( component )
1847 switch ( component )
1856 switch ( component )
1864 switch ( component )
1872 switch ( component )
1880 switch ( component )
1888 switch ( component )
1896 switch ( component )
1905 switch ( component )
1914 switch ( component )
1922 switch ( component )
1930 switch ( component )
1938 switch ( component )
1946 switch ( component )
1954 switch ( component )
1962 switch ( component )
1970 switch ( component )
1978 switch ( component )
1986 switch ( component )
1995 switch ( component )
2004 switch ( component )
2278 switch ( component )
2285 switch ( component )
2294 switch ( component )
2303 switch ( component )
2311 switch ( component )
2319 switch ( component )
2328 switch ( component )
2337 switch ( component )
2346 switch ( component )
2352 switch ( component )
2358 switch ( component )
2364 switch ( component )
2370 switch ( component )
2376 switch ( component )
2382 switch ( component )
2388 switch ( component )
2395 switch ( component )
2402 switch ( component )
2409 switch ( component )
2416 switch ( component )
2423 switch ( component )
2430 switch ( component )
2437 switch ( component )
2445 switch ( component )
2453 switch ( component )
2461 switch ( component )
2469 switch ( component )
2477 switch ( component )
2485 switch ( component )
2493 switch ( component )
2501 switch ( component )
2509 switch ( component )
2517 switch ( component )
2525 switch ( component )
2533 switch ( component )
2541 switch ( component )
2549 switch ( component )
2558 switch ( component )
2567 switch ( component )
2576 switch ( component )
2585 switch ( component )
2594 switch ( component )
2603 switch ( component )
2612 switch ( component )
2621 switch ( component )
2630 switch ( component )
2639 switch ( component )
2648 switch ( component )
2657 switch ( component )
2666 switch ( component )
2675 switch ( component )
2684 switch ( component )
2693 switch ( component )
2702 switch ( component )
2711 switch ( component )
2720 switch ( component )
2729 switch ( component )
2738 switch ( component )
2747 switch ( component )
2756 switch ( component )
2765 switch ( component )
2774 switch ( component )
2783 switch ( component )
2792 switch ( component )
2801 switch ( component )
2810 switch ( component )
2819 switch ( component )
2828 switch ( component )
2837 switch ( component )
2846 switch ( component )
2852 switch ( component )
2858 switch ( component )
2864 switch ( component )
2870 switch ( component )
2876 switch ( component )
2882 switch ( component )
2888 switch ( component )
2895 switch ( component )
2902 switch ( component )
2909 switch ( component )
2916 switch ( component )
2923 switch ( component )
2930 switch ( component )
2937 switch ( component )
2945 switch ( component )
2953 switch ( component )
2961 switch ( component )
2969 switch ( component )
2977 switch ( component )
2985 switch ( component )
2993 switch ( component )
3002 switch ( component )
3011 switch ( component )
3020 switch ( component )
3029 switch ( component )
3038 switch ( component )
3047 switch ( component )
3056 switch ( component )
3062 switch ( component )
3068 switch ( component )
3074 switch ( component )
3081 switch ( component )
3088 switch ( component )
3095 switch ( component )
3103 switch ( component )
3111 switch ( component )
3119 switch ( component )
3128 switch ( component )
3137 switch ( component )
3146 switch ( component )
3152 switch ( component )
3158 switch ( component )
3164 switch ( component )
3171 switch ( component )
3178 switch ( component )
3185 switch ( component )
3193 switch ( component )
3201 switch ( component )
3209 switch ( component )
3218 switch ( component )
3227 switch ( component )
3236 switch ( component )
3244 switch ( component )
3252 switch ( component )
3258 switch ( component )
3264 switch ( component )
3270 switch ( component )
3276 switch ( component )
3283 switch ( component )
3290 switch ( component )
3297 switch ( component )
3305 switch ( component )
3313 switch ( component )
3322 switch ( component )
3331 switch ( component )
3340 switch ( component )
3349 switch ( component )
3358 switch ( component )
3367 switch ( component )
3373 switch ( component )
3379 switch ( component )
3386 switch ( component )
3393 switch ( component )
3401 switch ( component )
3409 switch ( component )
3418 switch ( component )
3427 switch ( component )
3435 switch ( component )
3443 switch ( component )
3452 switch ( component )
3461 switch ( component )
3470 switch ( component )
3479 switch ( component )
3485 switch ( component )
3491 switch ( component )
3498 switch ( component )
3505 switch ( component )
3514 switch ( component )
3523 switch ( component )
3532 switch ( component )
3541 switch ( component )
3550 switch ( component )
3559 switch ( component )
3568 switch ( component )
3577 switch ( component )
3586 switch ( component )
3595 switch ( component )
3604 switch ( component )
3613 switch ( component )
3622 switch ( component )
3631 switch ( component )
3640 switch ( component )
3649 switch ( component )
3658 switch ( component )
3667 switch ( component )
3676 switch ( component )
3685 switch ( component )
3694 switch ( component )
3703 switch ( component )
3712 switch ( component )
3721 switch ( component )
3730 switch ( component )
3739 switch ( component )
3748 switch ( component )
3757 switch ( component )
3766 switch ( component )
3775 switch ( component )
3783 switch ( component )
3791 switch ( component )
3799 switch ( component )
3807 switch ( component )
3815 switch ( component )
3821 switch ( component )
3828 switch ( component )
3837 switch ( component )
3846 switch ( component )
3855 switch ( component )
3863 switch ( component )
3871 switch ( component )
3879 switch ( component )
3887 switch ( component )
3895 switch ( component )
3901 switch ( component )
3908 switch ( component )
3917 switch ( component )
3926 switch ( component )
3935 switch ( component )
3943 switch ( component )
3951 switch ( component )
3959 switch ( component )
3967 switch ( component )
3975 switch ( component )
3984 switch ( component )
3993 switch ( component )
4001 switch ( component )
4009 switch ( component )
4017 switch ( component )
4025 switch ( component )
4033 switch ( component )
4041 switch ( component )
4049 switch ( component )
4057 switch ( component )
4065 switch ( component )
4074 switch ( component )
4083 switch ( component )
4092 switch ( component )
4101 switch ( component )
4110 switch ( component )
4119 switch ( component )
4128 switch ( component )
4137 switch ( component )
4146 switch ( component )
4155 switch ( component )
4164 switch ( component )
4173 switch ( component )
4182 switch ( component )
4191 switch ( component )
4200 switch ( component )
4209 switch ( component )
4218 switch ( component )
4227 switch ( component )
4236 switch ( component )
4245 switch ( component )
4254 switch ( component )
4263 switch ( component )
4272 switch ( component )
4281 switch ( component )
4298 switch ( component )
4300 case 0:
return "UNORM";
4301 case 1:
return "UNORM";
4305 switch ( component )
4307 case 0:
return "UNORM";
4308 case 1:
return "UNORM";
4309 case 2:
return "UNORM";
4310 case 3:
return "UNORM";
4314 switch ( component )
4316 case 0:
return "UNORM";
4317 case 1:
return "UNORM";
4318 case 2:
return "UNORM";
4319 case 3:
return "UNORM";
4323 switch ( component )
4325 case 0:
return "UNORM";
4326 case 1:
return "UNORM";
4327 case 2:
return "UNORM";
4331 switch ( component )
4333 case 0:
return "UNORM";
4334 case 1:
return "UNORM";
4335 case 2:
return "UNORM";
4339 switch ( component )
4341 case 0:
return "UNORM";
4342 case 1:
return "UNORM";
4343 case 2:
return "UNORM";
4344 case 3:
return "UNORM";
4348 switch ( component )
4350 case 0:
return "UNORM";
4351 case 1:
return "UNORM";
4352 case 2:
return "UNORM";
4353 case 3:
return "UNORM";
4357 switch ( component )
4359 case 0:
return "UNORM";
4360 case 1:
return "UNORM";
4361 case 2:
return "UNORM";
4362 case 3:
return "UNORM";
4366 switch ( component )
4368 case 0:
return "UNORM";
4372 switch ( component )
4374 case 0:
return "SNORM";
4378 switch ( component )
4380 case 0:
return "USCALED";
4384 switch ( component )
4386 case 0:
return "SSCALED";
4390 switch ( component )
4392 case 0:
return "UINT";
4396 switch ( component )
4398 case 0:
return "SINT";
4402 switch ( component )
4404 case 0:
return "SRGB";
4408 switch ( component )
4410 case 0:
return "UNORM";
4411 case 1:
return "UNORM";
4415 switch ( component )
4417 case 0:
return "SNORM";
4418 case 1:
return "SNORM";
4422 switch ( component )
4424 case 0:
return "USCALED";
4425 case 1:
return "USCALED";
4429 switch ( component )
4431 case 0:
return "SSCALED";
4432 case 1:
return "SSCALED";
4436 switch ( component )
4438 case 0:
return "UINT";
4439 case 1:
return "UINT";
4443 switch ( component )
4445 case 0:
return "SINT";
4446 case 1:
return "SINT";
4450 switch ( component )
4452 case 0:
return "SRGB";
4453 case 1:
return "SRGB";
4457 switch ( component )
4459 case 0:
return "UNORM";
4460 case 1:
return "UNORM";
4461 case 2:
return "UNORM";
4465 switch ( component )
4467 case 0:
return "SNORM";
4468 case 1:
return "SNORM";
4469 case 2:
return "SNORM";
4473 switch ( component )
4475 case 0:
return "USCALED";
4476 case 1:
return "USCALED";
4477 case 2:
return "USCALED";
4481 switch ( component )
4483 case 0:
return "SSCALED";
4484 case 1:
return "SSCALED";
4485 case 2:
return "SSCALED";
4489 switch ( component )
4491 case 0:
return "UINT";
4492 case 1:
return "UINT";
4493 case 2:
return "UINT";
4497 switch ( component )
4499 case 0:
return "SINT";
4500 case 1:
return "SINT";
4501 case 2:
return "SINT";
4505 switch ( component )
4507 case 0:
return "SRGB";
4508 case 1:
return "SRGB";
4509 case 2:
return "SRGB";
4513 switch ( component )
4515 case 0:
return "UNORM";
4516 case 1:
return "UNORM";
4517 case 2:
return "UNORM";
4521 switch ( component )
4523 case 0:
return "SNORM";
4524 case 1:
return "SNORM";
4525 case 2:
return "SNORM";
4529 switch ( component )
4531 case 0:
return "USCALED";
4532 case 1:
return "USCALED";
4533 case 2:
return "USCALED";
4537 switch ( component )
4539 case 0:
return "SSCALED";
4540 case 1:
return "SSCALED";
4541 case 2:
return "SSCALED";
4545 switch ( component )
4547 case 0:
return "UINT";
4548 case 1:
return "UINT";
4549 case 2:
return "UINT";
4553 switch ( component )
4555 case 0:
return "SINT";
4556 case 1:
return "SINT";
4557 case 2:
return "SINT";
4561 switch ( component )
4563 case 0:
return "SRGB";
4564 case 1:
return "SRGB";
4565 case 2:
return "SRGB";
4569 switch ( component )
4571 case 0:
return "UNORM";
4572 case 1:
return "UNORM";
4573 case 2:
return "UNORM";
4574 case 3:
return "UNORM";
4578 switch ( component )
4580 case 0:
return "SNORM";
4581 case 1:
return "SNORM";
4582 case 2:
return "SNORM";
4583 case 3:
return "SNORM";
4587 switch ( component )
4589 case 0:
return "USCALED";
4590 case 1:
return "USCALED";
4591 case 2:
return "USCALED";
4592 case 3:
return "USCALED";
4596 switch ( component )
4598 case 0:
return "SSCALED";
4599 case 1:
return "SSCALED";
4600 case 2:
return "SSCALED";
4601 case 3:
return "SSCALED";
4605 switch ( component )
4607 case 0:
return "UINT";
4608 case 1:
return "UINT";
4609 case 2:
return "UINT";
4610 case 3:
return "UINT";
4614 switch ( component )
4616 case 0:
return "SINT";
4617 case 1:
return "SINT";
4618 case 2:
return "SINT";
4619 case 3:
return "SINT";
4623 switch ( component )
4625 case 0:
return "SRGB";
4626 case 1:
return "SRGB";
4627 case 2:
return "SRGB";
4628 case 3:
return "SRGB";
4632 switch ( component )
4634 case 0:
return "UNORM";
4635 case 1:
return "UNORM";
4636 case 2:
return "UNORM";
4637 case 3:
return "UNORM";
4641 switch ( component )
4643 case 0:
return "SNORM";
4644 case 1:
return "SNORM";
4645 case 2:
return "SNORM";
4646 case 3:
return "SNORM";
4650 switch ( component )
4652 case 0:
return "USCALED";
4653 case 1:
return "USCALED";
4654 case 2:
return "USCALED";
4655 case 3:
return "USCALED";
4659 switch ( component )
4661 case 0:
return "SSCALED";
4662 case 1:
return "SSCALED";
4663 case 2:
return "SSCALED";
4664 case 3:
return "SSCALED";
4668 switch ( component )
4670 case 0:
return "UINT";
4671 case 1:
return "UINT";
4672 case 2:
return "UINT";
4673 case 3:
return "UINT";
4677 switch ( component )
4679 case 0:
return "SINT";
4680 case 1:
return "SINT";
4681 case 2:
return "SINT";
4682 case 3:
return "SINT";
4686 switch ( component )
4688 case 0:
return "SRGB";
4689 case 1:
return "SRGB";
4690 case 2:
return "SRGB";
4691 case 3:
return "SRGB";
4695 switch ( component )
4697 case 0:
return "UNORM";
4698 case 1:
return "UNORM";
4699 case 2:
return "UNORM";
4700 case 3:
return "UNORM";
4704 switch ( component )
4706 case 0:
return "SNORM";
4707 case 1:
return "SNORM";
4708 case 2:
return "SNORM";
4709 case 3:
return "SNORM";
4713 switch ( component )
4715 case 0:
return "USCALED";
4716 case 1:
return "USCALED";
4717 case 2:
return "USCALED";
4718 case 3:
return "USCALED";
4722 switch ( component )
4724 case 0:
return "SSCALED";
4725 case 1:
return "SSCALED";
4726 case 2:
return "SSCALED";
4727 case 3:
return "SSCALED";
4731 switch ( component )
4733 case 0:
return "UINT";
4734 case 1:
return "UINT";
4735 case 2:
return "UINT";
4736 case 3:
return "UINT";
4740 switch ( component )
4742 case 0:
return "SINT";
4743 case 1:
return "SINT";
4744 case 2:
return "SINT";
4745 case 3:
return "SINT";
4749 switch ( component )
4751 case 0:
return "SRGB";
4752 case 1:
return "SRGB";
4753 case 2:
return "SRGB";
4754 case 3:
return "SRGB";
4758 switch ( component )
4760 case 0:
return "UNORM";
4761 case 1:
return "UNORM";
4762 case 2:
return "UNORM";
4763 case 3:
return "UNORM";
4767 switch ( component )
4769 case 0:
return "SNORM";
4770 case 1:
return "SNORM";
4771 case 2:
return "SNORM";
4772 case 3:
return "SNORM";
4776 switch ( component )
4778 case 0:
return "USCALED";
4779 case 1:
return "USCALED";
4780 case 2:
return "USCALED";
4781 case 3:
return "USCALED";
4785 switch ( component )
4787 case 0:
return "SSCALED";
4788 case 1:
return "SSCALED";
4789 case 2:
return "SSCALED";
4790 case 3:
return "SSCALED";
4794 switch ( component )
4796 case 0:
return "UINT";
4797 case 1:
return "UINT";
4798 case 2:
return "UINT";
4799 case 3:
return "UINT";
4803 switch ( component )
4805 case 0:
return "SINT";
4806 case 1:
return "SINT";
4807 case 2:
return "SINT";
4808 case 3:
return "SINT";
4812 switch ( component )
4814 case 0:
return "UNORM";
4815 case 1:
return "UNORM";
4816 case 2:
return "UNORM";
4817 case 3:
return "UNORM";
4821 switch ( component )
4823 case 0:
return "SNORM";
4824 case 1:
return "SNORM";
4825 case 2:
return "SNORM";
4826 case 3:
return "SNORM";
4830 switch ( component )
4832 case 0:
return "USCALED";
4833 case 1:
return "USCALED";
4834 case 2:
return "USCALED";
4835 case 3:
return "USCALED";
4839 switch ( component )
4841 case 0:
return "SSCALED";
4842 case 1:
return "SSCALED";
4843 case 2:
return "SSCALED";
4844 case 3:
return "SSCALED";
4848 switch ( component )
4850 case 0:
return "UINT";
4851 case 1:
return "UINT";
4852 case 2:
return "UINT";
4853 case 3:
return "UINT";
4857 switch ( component )
4859 case 0:
return "SINT";
4860 case 1:
return "SINT";
4861 case 2:
return "SINT";
4862 case 3:
return "SINT";
4866 switch ( component )
4868 case 0:
return "UNORM";
4872 switch ( component )
4874 case 0:
return "SNORM";
4878 switch ( component )
4880 case 0:
return "USCALED";
4884 switch ( component )
4886 case 0:
return "SSCALED";
4890 switch ( component )
4892 case 0:
return "UINT";
4896 switch ( component )
4898 case 0:
return "SINT";
4902 switch ( component )
4904 case 0:
return "SFLOAT";
4908 switch ( component )
4910 case 0:
return "UNORM";
4911 case 1:
return "UNORM";
4915 switch ( component )
4917 case 0:
return "SNORM";
4918 case 1:
return "SNORM";
4922 switch ( component )
4924 case 0:
return "USCALED";
4925 case 1:
return "USCALED";
4929 switch ( component )
4931 case 0:
return "SSCALED";
4932 case 1:
return "SSCALED";
4936 switch ( component )
4938 case 0:
return "UINT";
4939 case 1:
return "UINT";
4943 switch ( component )
4945 case 0:
return "SINT";
4946 case 1:
return "SINT";
4950 switch ( component )
4952 case 0:
return "SFLOAT";
4953 case 1:
return "SFLOAT";
4957 switch ( component )
4959 case 0:
return "UNORM";
4960 case 1:
return "UNORM";
4961 case 2:
return "UNORM";
4965 switch ( component )
4967 case 0:
return "SNORM";
4968 case 1:
return "SNORM";
4969 case 2:
return "SNORM";
4973 switch ( component )
4975 case 0:
return "USCALED";
4976 case 1:
return "USCALED";
4977 case 2:
return "USCALED";
4981 switch ( component )
4983 case 0:
return "SSCALED";
4984 case 1:
return "SSCALED";
4985 case 2:
return "SSCALED";
4989 switch ( component )
4991 case 0:
return "UINT";
4992 case 1:
return "UINT";
4993 case 2:
return "UINT";
4997 switch ( component )
4999 case 0:
return "SINT";
5000 case 1:
return "SINT";
5001 case 2:
return "SINT";
5005 switch ( component )
5007 case 0:
return "SFLOAT";
5008 case 1:
return "SFLOAT";
5009 case 2:
return "SFLOAT";
5013 switch ( component )
5015 case 0:
return "UNORM";
5016 case 1:
return "UNORM";
5017 case 2:
return "UNORM";
5018 case 3:
return "UNORM";
5022 switch ( component )
5024 case 0:
return "SNORM";
5025 case 1:
return "SNORM";
5026 case 2:
return "SNORM";
5027 case 3:
return "SNORM";
5031 switch ( component )
5033 case 0:
return "USCALED";
5034 case 1:
return "USCALED";
5035 case 2:
return "USCALED";
5036 case 3:
return "USCALED";
5040 switch ( component )
5042 case 0:
return "SSCALED";
5043 case 1:
return "SSCALED";
5044 case 2:
return "SSCALED";
5045 case 3:
return "SSCALED";
5049 switch ( component )
5051 case 0:
return "UINT";
5052 case 1:
return "UINT";
5053 case 2:
return "UINT";
5054 case 3:
return "UINT";
5058 switch ( component )
5060 case 0:
return "SINT";
5061 case 1:
return "SINT";
5062 case 2:
return "SINT";
5063 case 3:
return "SINT";
5067 switch ( component )
5069 case 0:
return "SFLOAT";
5070 case 1:
return "SFLOAT";
5071 case 2:
return "SFLOAT";
5072 case 3:
return "SFLOAT";
5076 switch ( component )
5078 case 0:
return "UINT";
5082 switch ( component )
5084 case 0:
return "SINT";
5088 switch ( component )
5090 case 0:
return "SFLOAT";
5094 switch ( component )
5096 case 0:
return "UINT";
5097 case 1:
return "UINT";
5101 switch ( component )
5103 case 0:
return "SINT";
5104 case 1:
return "SINT";
5108 switch ( component )
5110 case 0:
return "SFLOAT";
5111 case 1:
return "SFLOAT";
5115 switch ( component )
5117 case 0:
return "UINT";
5118 case 1:
return "UINT";
5119 case 2:
return "UINT";
5123 switch ( component )
5125 case 0:
return "SINT";
5126 case 1:
return "SINT";
5127 case 2:
return "SINT";
5131 switch ( component )
5133 case 0:
return "SFLOAT";
5134 case 1:
return "SFLOAT";
5135 case 2:
return "SFLOAT";
5139 switch ( component )
5141 case 0:
return "UINT";
5142 case 1:
return "UINT";
5143 case 2:
return "UINT";
5144 case 3:
return "UINT";
5148 switch ( component )
5150 case 0:
return "SINT";
5151 case 1:
return "SINT";
5152 case 2:
return "SINT";
5153 case 3:
return "SINT";
5157 switch ( component )
5159 case 0:
return "SFLOAT";
5160 case 1:
return "SFLOAT";
5161 case 2:
return "SFLOAT";
5162 case 3:
return "SFLOAT";
5166 switch ( component )
5168 case 0:
return "UINT";
5172 switch ( component )
5174 case 0:
return "SINT";
5178 switch ( component )
5180 case 0:
return "SFLOAT";
5184 switch ( component )
5186 case 0:
return "UINT";
5187 case 1:
return "UINT";
5191 switch ( component )
5193 case 0:
return "SINT";
5194 case 1:
return "SINT";
5198 switch ( component )
5200 case 0:
return "SFLOAT";
5201 case 1:
return "SFLOAT";
5205 switch ( component )
5207 case 0:
return "UINT";
5208 case 1:
return "UINT";
5209 case 2:
return "UINT";
5213 switch ( component )
5215 case 0:
return "SINT";
5216 case 1:
return "SINT";
5217 case 2:
return "SINT";
5221 switch ( component )
5223 case 0:
return "SFLOAT";
5224 case 1:
return "SFLOAT";
5225 case 2:
return "SFLOAT";
5229 switch ( component )
5231 case 0:
return "UINT";
5232 case 1:
return "UINT";
5233 case 2:
return "UINT";
5234 case 3:
return "UINT";
5238 switch ( component )
5240 case 0:
return "SINT";
5241 case 1:
return "SINT";
5242 case 2:
return "SINT";
5243 case 3:
return "SINT";
5247 switch ( component )
5249 case 0:
return "SFLOAT";
5250 case 1:
return "SFLOAT";
5251 case 2:
return "SFLOAT";
5252 case 3:
return "SFLOAT";
5256 switch ( component )
5258 case 0:
return "UFLOAT";
5259 case 1:
return "UFLOAT";
5260 case 2:
return "UFLOAT";
5264 switch ( component )
5266 case 0:
return "UFLOAT";
5267 case 1:
return "UFLOAT";
5268 case 2:
return "UFLOAT";
5272 switch ( component )
5274 case 0:
return "UNORM";
5278 switch ( component )
5280 case 0:
return "UNORM";
5284 switch ( component )
5286 case 0:
return "SFLOAT";
5290 switch ( component )
5292 case 0:
return "UINT";
5296 switch ( component )
5298 case 0:
return "UNORM";
5299 case 1:
return "UINT";
5303 switch ( component )
5305 case 0:
return "UNORM";
5306 case 1:
return "UINT";
5310 switch ( component )
5312 case 0:
return "SFLOAT";
5313 case 1:
return "UINT";
5317 switch ( component )
5319 case 0:
return "UNORM";
5320 case 1:
return "UNORM";
5321 case 2:
return "UNORM";
5325 switch ( component )
5327 case 0:
return "SRGB";
5328 case 1:
return "SRGB";
5329 case 2:
return "SRGB";
5333 switch ( component )
5335 case 0:
return "UNORM";
5336 case 1:
return "UNORM";
5337 case 2:
return "UNORM";
5338 case 3:
return "UNORM";
5342 switch ( component )
5344 case 0:
return "SRGB";
5345 case 1:
return "SRGB";
5346 case 2:
return "SRGB";
5347 case 3:
return "SRGB";
5351 switch ( component )
5353 case 0:
return "UNORM";
5354 case 1:
return "UNORM";
5355 case 2:
return "UNORM";
5356 case 3:
return "UNORM";
5360 switch ( component )
5362 case 0:
return "SRGB";
5363 case 1:
return "SRGB";
5364 case 2:
return "SRGB";
5365 case 3:
return "SRGB";
5369 switch ( component )
5371 case 0:
return "UNORM";
5372 case 1:
return "UNORM";
5373 case 2:
return "UNORM";
5374 case 3:
return "UNORM";
5378 switch ( component )
5380 case 0:
return "SRGB";
5381 case 1:
return "SRGB";
5382 case 2:
return "SRGB";
5383 case 3:
return "SRGB";
5387 switch ( component )
5389 case 0:
return "UNORM";
5393 switch ( component )
5395 case 0:
return "SRGB";
5399 switch ( component )
5401 case 0:
return "UNORM";
5402 case 1:
return "UNORM";
5406 switch ( component )
5408 case 0:
return "SRGB";
5409 case 1:
return "SRGB";
5413 switch ( component )
5415 case 0:
return "UFLOAT";
5416 case 1:
return "UFLOAT";
5417 case 2:
return "UFLOAT";
5421 switch ( component )
5423 case 0:
return "SFLOAT";
5424 case 1:
return "SFLOAT";
5425 case 2:
return "SFLOAT";
5429 switch ( component )
5431 case 0:
return "UNORM";
5432 case 1:
return "UNORM";
5433 case 2:
return "UNORM";
5434 case 3:
return "UNORM";
5438 switch ( component )
5440 case 0:
return "SRGB";
5441 case 1:
return "SRGB";
5442 case 2:
return "SRGB";
5443 case 3:
return "SRGB";
5447 switch ( component )
5449 case 0:
return "UNORM";
5450 case 1:
return "UNORM";
5451 case 2:
return "UNORM";
5455 switch ( component )
5457 case 0:
return "SRGB";
5458 case 1:
return "SRGB";
5459 case 2:
return "SRGB";
5463 switch ( component )
5465 case 0:
return "UNORM";
5466 case 1:
return "UNORM";
5467 case 2:
return "UNORM";
5468 case 3:
return "UNORM";
5472 switch ( component )
5474 case 0:
return "SRGB";
5475 case 1:
return "SRGB";
5476 case 2:
return "SRGB";
5477 case 3:
return "SRGB";
5481 switch ( component )
5483 case 0:
return "UNORM";
5484 case 1:
return "UNORM";
5485 case 2:
return "UNORM";
5486 case 3:
return "UNORM";
5490 switch ( component )
5492 case 0:
return "SRGB";
5493 case 1:
return "SRGB";
5494 case 2:
return "SRGB";
5495 case 3:
return "SRGB";
5499 switch ( component )
5501 case 0:
return "UNORM";
5505 switch ( component )
5507 case 0:
return "SNORM";
5511 switch ( component )
5513 case 0:
return "UNORM";
5514 case 1:
return "UNORM";
5518 switch ( component )
5520 case 0:
return "SNORM";
5521 case 1:
return "SNORM";
5525 switch ( component )
5527 case 0:
return "UNORM";
5528 case 1:
return "UNORM";
5529 case 2:
return "UNORM";
5530 case 3:
return "UNORM";
5534 switch ( component )
5536 case 0:
return "SRGB";
5537 case 1:
return "SRGB";
5538 case 2:
return "SRGB";
5539 case 3:
return "SRGB";
5543 switch ( component )
5545 case 0:
return "UNORM";
5546 case 1:
return "UNORM";
5547 case 2:
return "UNORM";
5548 case 3:
return "UNORM";
5552 switch ( component )
5554 case 0:
return "SRGB";
5555 case 1:
return "SRGB";
5556 case 2:
return "SRGB";
5557 case 3:
return "SRGB";
5561 switch ( component )
5563 case 0:
return "UNORM";
5564 case 1:
return "UNORM";
5565 case 2:
return "UNORM";
5566 case 3:
return "UNORM";
5570 switch ( component )
5572 case 0:
return "SRGB";
5573 case 1:
return "SRGB";
5574 case 2:
return "SRGB";
5575 case 3:
return "SRGB";
5579 switch ( component )
5581 case 0:
return "UNORM";
5582 case 1:
return "UNORM";
5583 case 2:
return "UNORM";
5584 case 3:
return "UNORM";
5588 switch ( component )
5590 case 0:
return "SRGB";
5591 case 1:
return "SRGB";
5592 case 2:
return "SRGB";
5593 case 3:
return "SRGB";
5597 switch ( component )
5599 case 0:
return "UNORM";
5600 case 1:
return "UNORM";
5601 case 2:
return "UNORM";
5602 case 3:
return "UNORM";
5606 switch ( component )
5608 case 0:
return "SRGB";
5609 case 1:
return "SRGB";
5610 case 2:
return "SRGB";
5611 case 3:
return "SRGB";
5615 switch ( component )
5617 case 0:
return "UNORM";
5618 case 1:
return "UNORM";
5619 case 2:
return "UNORM";
5620 case 3:
return "UNORM";
5624 switch ( component )
5626 case 0:
return "SRGB";
5627 case 1:
return "SRGB";
5628 case 2:
return "SRGB";
5629 case 3:
return "SRGB";
5633 switch ( component )
5635 case 0:
return "UNORM";
5636 case 1:
return "UNORM";
5637 case 2:
return "UNORM";
5638 case 3:
return "UNORM";
5642 switch ( component )
5644 case 0:
return "SRGB";
5645 case 1:
return "SRGB";
5646 case 2:
return "SRGB";
5647 case 3:
return "SRGB";
5651 switch ( component )
5653 case 0:
return "UNORM";
5654 case 1:
return "UNORM";
5655 case 2:
return "UNORM";
5656 case 3:
return "UNORM";
5660 switch ( component )
5662 case 0:
return "SRGB";
5663 case 1:
return "SRGB";
5664 case 2:
return "SRGB";
5665 case 3:
return "SRGB";
5669 switch ( component )
5671 case 0:
return "UNORM";
5672 case 1:
return "UNORM";
5673 case 2:
return "UNORM";
5674 case 3:
return "UNORM";
5678 switch ( component )
5680 case 0:
return "SRGB";
5681 case 1:
return "SRGB";
5682 case 2:
return "SRGB";
5683 case 3:
return "SRGB";
5687 switch ( component )
5689 case 0:
return "UNORM";
5690 case 1:
return "UNORM";
5691 case 2:
return "UNORM";
5692 case 3:
return "UNORM";
5696 switch ( component )
5698 case 0:
return "SRGB";
5699 case 1:
return "SRGB";
5700 case 2:
return "SRGB";
5701 case 3:
return "SRGB";
5705 switch ( component )
5707 case 0:
return "UNORM";
5708 case 1:
return "UNORM";
5709 case 2:
return "UNORM";
5710 case 3:
return "UNORM";
5714 switch ( component )
5716 case 0:
return "SRGB";
5717 case 1:
return "SRGB";
5718 case 2:
return "SRGB";
5719 case 3:
return "SRGB";
5723 switch ( component )
5725 case 0:
return "UNORM";
5726 case 1:
return "UNORM";
5727 case 2:
return "UNORM";
5728 case 3:
return "UNORM";
5732 switch ( component )
5734 case 0:
return "SRGB";
5735 case 1:
return "SRGB";
5736 case 2:
return "SRGB";
5737 case 3:
return "SRGB";
5741 switch ( component )
5743 case 0:
return "UNORM";
5744 case 1:
return "UNORM";
5745 case 2:
return "UNORM";
5746 case 3:
return "UNORM";
5750 switch ( component )
5752 case 0:
return "SRGB";
5753 case 1:
return "SRGB";
5754 case 2:
return "SRGB";
5755 case 3:
return "SRGB";
5759 switch ( component )
5761 case 0:
return "UNORM";
5762 case 1:
return "UNORM";
5763 case 2:
return "UNORM";
5764 case 3:
return "UNORM";
5768 switch ( component )
5770 case 0:
return "SRGB";
5771 case 1:
return "SRGB";
5772 case 2:
return "SRGB";
5773 case 3:
return "SRGB";
5777 switch ( component )
5779 case 0:
return "UNORM";
5780 case 1:
return "UNORM";
5781 case 2:
return "UNORM";
5782 case 3:
return "UNORM";
5786 switch ( component )
5788 case 0:
return "UNORM";
5789 case 1:
return "UNORM";
5790 case 2:
return "UNORM";
5791 case 3:
return "UNORM";
5795 switch ( component )
5797 case 0:
return "UNORM";
5798 case 1:
return "UNORM";
5799 case 2:
return "UNORM";
5803 switch ( component )
5805 case 0:
return "UNORM";
5806 case 1:
return "UNORM";
5807 case 2:
return "UNORM";
5811 switch ( component )
5813 case 0:
return "UNORM";
5814 case 1:
return "UNORM";
5815 case 2:
return "UNORM";
5819 switch ( component )
5821 case 0:
return "UNORM";
5822 case 1:
return "UNORM";
5823 case 2:
return "UNORM";
5827 switch ( component )
5829 case 0:
return "UNORM";
5830 case 1:
return "UNORM";
5831 case 2:
return "UNORM";
5835 switch ( component )
5837 case 0:
return "UNORM";
5841 switch ( component )
5843 case 0:
return "UNORM";
5844 case 1:
return "UNORM";
5848 switch ( component )
5850 case 0:
return "UNORM";
5851 case 1:
return "UNORM";
5852 case 2:
return "UNORM";
5853 case 3:
return "UNORM";
5857 switch ( component )
5859 case 0:
return "UNORM";
5860 case 1:
return "UNORM";
5861 case 2:
return "UNORM";
5862 case 3:
return "UNORM";
5866 switch ( component )
5868 case 0:
return "UNORM";
5869 case 1:
return "UNORM";
5870 case 2:
return "UNORM";
5871 case 3:
return "UNORM";
5875 switch ( component )
5877 case 0:
return "UNORM";
5878 case 1:
return "UNORM";
5879 case 2:
return "UNORM";
5883 switch ( component )
5885 case 0:
return "UNORM";
5886 case 1:
return "UNORM";
5887 case 2:
return "UNORM";
5891 switch ( component )
5893 case 0:
return "UNORM";
5894 case 1:
return "UNORM";
5895 case 2:
return "UNORM";
5899 switch ( component )
5901 case 0:
return "UNORM";
5902 case 1:
return "UNORM";
5903 case 2:
return "UNORM";
5907 switch ( component )
5909 case 0:
return "UNORM";
5910 case 1:
return "UNORM";
5911 case 2:
return "UNORM";
5915 switch ( component )
5917 case 0:
return "UNORM";
5921 switch ( component )
5923 case 0:
return "UNORM";
5924 case 1:
return "UNORM";
5928 switch ( component )
5930 case 0:
return "UNORM";
5931 case 1:
return "UNORM";
5932 case 2:
return "UNORM";
5933 case 3:
return "UNORM";
5937 switch ( component )
5939 case 0:
return "UNORM";
5940 case 1:
return "UNORM";
5941 case 2:
return "UNORM";
5942 case 3:
return "UNORM";
5946 switch ( component )
5948 case 0:
return "UNORM";
5949 case 1:
return "UNORM";
5950 case 2:
return "UNORM";
5951 case 3:
return "UNORM";
5955 switch ( component )
5957 case 0:
return "UNORM";
5958 case 1:
return "UNORM";
5959 case 2:
return "UNORM";
5963 switch ( component )
5965 case 0:
return "UNORM";
5966 case 1:
return "UNORM";
5967 case 2:
return "UNORM";
5971 switch ( component )
5973 case 0:
return "UNORM";
5974 case 1:
return "UNORM";
5975 case 2:
return "UNORM";
5979 switch ( component )
5981 case 0:
return "UNORM";
5982 case 1:
return "UNORM";
5983 case 2:
return "UNORM";
5987 switch ( component )
5989 case 0:
return "UNORM";
5990 case 1:
return "UNORM";
5991 case 2:
return "UNORM";
5995 switch ( component )
5997 case 0:
return "UNORM";
5998 case 1:
return "UNORM";
5999 case 2:
return "UNORM";
6000 case 3:
return "UNORM";
6004 switch ( component )
6006 case 0:
return "UNORM";
6007 case 1:
return "UNORM";
6008 case 2:
return "UNORM";
6009 case 3:
return "UNORM";
6013 switch ( component )
6015 case 0:
return "UNORM";
6016 case 1:
return "UNORM";
6017 case 2:
return "UNORM";
6021 switch ( component )
6023 case 0:
return "UNORM";
6024 case 1:
return "UNORM";
6025 case 2:
return "UNORM";
6029 switch ( component )
6031 case 0:
return "UNORM";
6032 case 1:
return "UNORM";
6033 case 2:
return "UNORM";
6037 switch ( component )
6039 case 0:
return "UNORM";
6040 case 1:
return "UNORM";
6041 case 2:
return "UNORM";
6045 switch ( component )
6047 case 0:
return "UNORM";
6048 case 1:
return "UNORM";
6049 case 2:
return "UNORM";
6053 switch ( component )
6055 case 0:
return "UNORM";
6056 case 1:
return "UNORM";
6057 case 2:
return "UNORM";
6061 switch ( component )
6063 case 0:
return "UNORM";
6064 case 1:
return "UNORM";
6065 case 2:
return "UNORM";
6069 switch ( component )
6071 case 0:
return "UNORM";
6072 case 1:
return "UNORM";
6073 case 2:
return "UNORM";
6077 switch ( component )
6079 case 0:
return "UNORM";
6080 case 1:
return "UNORM";
6081 case 2:
return "UNORM";
6085 switch ( component )
6087 case 0:
return "UNORM";
6088 case 1:
return "UNORM";
6089 case 2:
return "UNORM";
6090 case 3:
return "UNORM";
6094 switch ( component )
6096 case 0:
return "UNORM";
6097 case 1:
return "UNORM";
6098 case 2:
return "UNORM";
6099 case 3:
return "UNORM";
6103 switch ( component )
6105 case 0:
return "SFLOAT";
6106 case 1:
return "SFLOAT";
6107 case 2:
return "SFLOAT";
6108 case 3:
return "SFLOAT";
6112 switch ( component )
6114 case 0:
return "SFLOAT";
6115 case 1:
return "SFLOAT";
6116 case 2:
return "SFLOAT";
6117 case 3:
return "SFLOAT";
6121 switch ( component )
6123 case 0:
return "SFLOAT";
6124 case 1:
return "SFLOAT";
6125 case 2:
return "SFLOAT";
6126 case 3:
return "SFLOAT";
6130 switch ( component )
6132 case 0:
return "SFLOAT";
6133 case 1:
return "SFLOAT";
6134 case 2:
return "SFLOAT";
6135 case 3:
return "SFLOAT";
6139 switch ( component )
6141 case 0:
return "SFLOAT";
6142 case 1:
return "SFLOAT";
6143 case 2:
return "SFLOAT";
6144 case 3:
return "SFLOAT";
6148 switch ( component )
6150 case 0:
return "SFLOAT";
6151 case 1:
return "SFLOAT";
6152 case 2:
return "SFLOAT";
6153 case 3:
return "SFLOAT";
6157 switch ( component )
6159 case 0:
return "SFLOAT";
6160 case 1:
return "SFLOAT";
6161 case 2:
return "SFLOAT";
6162 case 3:
return "SFLOAT";
6166 switch ( component )
6168 case 0:
return "SFLOAT";
6169 case 1:
return "SFLOAT";
6170 case 2:
return "SFLOAT";
6171 case 3:
return "SFLOAT";
6175 switch ( component )
6177 case 0:
return "SFLOAT";
6178 case 1:
return "SFLOAT";
6179 case 2:
return "SFLOAT";
6180 case 3:
return "SFLOAT";
6184 switch ( component )
6186 case 0:
return "SFLOAT";
6187 case 1:
return "SFLOAT";
6188 case 2:
return "SFLOAT";
6189 case 3:
return "SFLOAT";
6193 switch ( component )
6195 case 0:
return "SFLOAT";
6196 case 1:
return "SFLOAT";
6197 case 2:
return "SFLOAT";
6198 case 3:
return "SFLOAT";
6202 switch ( component )
6204 case 0:
return "SFLOAT";
6205 case 1:
return "SFLOAT";
6206 case 2:
return "SFLOAT";
6207 case 3:
return "SFLOAT";
6211 switch ( component )
6213 case 0:
return "SFLOAT";
6214 case 1:
return "SFLOAT";
6215 case 2:
return "SFLOAT";
6216 case 3:
return "SFLOAT";
6220 switch ( component )
6222 case 0:
return "SFLOAT";
6223 case 1:
return "SFLOAT";
6224 case 2:
return "SFLOAT";
6225 case 3:
return "SFLOAT";
6229 switch ( component )
6231 case 0:
return "UNORM";
6232 case 1:
return "UNORM";
6233 case 2:
return "UNORM";
6234 case 3:
return "UNORM";
6238 switch ( component )
6240 case 0:
return "UNORM";
6241 case 1:
return "UNORM";
6242 case 2:
return "UNORM";
6243 case 3:
return "UNORM";
6247 switch ( component )
6249 case 0:
return "UNORM";
6250 case 1:
return "UNORM";
6251 case 2:
return "UNORM";
6252 case 3:
return "UNORM";
6256 switch ( component )
6258 case 0:
return "UNORM";
6259 case 1:
return "UNORM";
6260 case 2:
return "UNORM";
6261 case 3:
return "UNORM";
6265 switch ( component )
6267 case 0:
return "SRGB";
6268 case 1:
return "SRGB";
6269 case 2:
return "SRGB";
6270 case 3:
return "SRGB";
6274 switch ( component )
6276 case 0:
return "SRGB";
6277 case 1:
return "SRGB";
6278 case 2:
return "SRGB";
6279 case 3:
return "SRGB";
6283 switch ( component )
6285 case 0:
return "SRGB";
6286 case 1:
return "SRGB";
6287 case 2:
return "SRGB";
6288 case 3:
return "SRGB";
6292 switch ( component )
6294 case 0:
return "SRGB";
6295 case 1:
return "SRGB";
6296 case 2:
return "SRGB";
6297 case 3:
return "SRGB";
6301 switch ( component )
6303 case 0:
return "SINT";
6304 case 1:
return "SINT";
6318 switch ( component )
6326 switch ( component )
6334 switch ( component )
6342 switch ( component )
6350 switch ( component )
6358 switch ( component )
6366 switch ( component )
6374 switch ( component )
6382 switch ( component )
6390 switch ( component )
6398 switch ( component )
6406 switch ( component )
6414 switch ( component )
6422 switch ( component )
6430 switch ( component )
6438 switch ( component )
6446 switch ( component )
6454 switch ( component )
6462 switch ( component )
6470 switch ( component )
6478 switch ( component )
6486 switch ( component )
6494 switch ( component )
6502 switch ( component )
6591 default:
return false;
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentCount(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * componentNumericFormat(VULKAN_HPP_NAMESPACE::Format format, uint8_t component)
#define VULKAN_HPP_NAMESPACE
#define VULKAN_HPP_CONSTEXPR_14
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * compatibilityClass(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool componentsAreCompressed(VULKAN_HPP_NAMESPACE::Format format)
GLint GLint GLsizei GLint GLenum format
#define VULKAN_HPP_ASSERT
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t packed(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeHeightDivisor(VULKAN_HPP_NAMESPACE::Format format, uint8_t plane)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentBits(VULKAN_HPP_NAMESPACE::Format format, uint8_t component)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t texelsPerBlock(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 std::array< uint8_t, 3 > blockExtent(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t blockSize(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeCount(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_NAMESPACE::Format planeCompatibleFormat(VULKAN_HPP_NAMESPACE::Format format, uint8_t plane)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t planeWidthDivisor(VULKAN_HPP_NAMESPACE::Format format, uint8_t plane)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * compressionScheme(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 bool isCompressed(VULKAN_HPP_NAMESPACE::Format format)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 char const * componentName(VULKAN_HPP_NAMESPACE::Format format, uint8_t component)
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_14 uint8_t componentPlaneIndex(VULKAN_HPP_NAMESPACE::Format format, uint8_t component)
#define VULKAN_HPP_INLINE