• Home
  • Raw
  • Download

Lines Matching full:self

7     pub const fn from_raw(x: i32) -> Self {  in from_raw()  argument
10 pub const fn as_raw(self) -> i32 { in as_raw()
11 self.0 in as_raw()
16 pub const UNDEFINED: Self = Self(0);
18 pub const GENERAL: Self = Self(1);
20 pub const COLOR_ATTACHMENT_OPTIMAL: Self = Self(2);
22 pub const DEPTH_STENCIL_ATTACHMENT_OPTIMAL: Self = Self(3);
24 pub const DEPTH_STENCIL_READ_ONLY_OPTIMAL: Self = Self(4);
26 pub const SHADER_READ_ONLY_OPTIMAL: Self = Self(5);
28 pub const TRANSFER_SRC_OPTIMAL: Self = Self(6);
30 pub const TRANSFER_DST_OPTIMAL: Self = Self(7);
32 pub const PREINITIALIZED: Self = Self(8);
39 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
42 pub const fn as_raw(self) -> i32 { in as_raw()
43 self.0 in as_raw()
47 pub const LOAD: Self = Self(0);
48 pub const CLEAR: Self = Self(1);
49 pub const DONT_CARE: Self = Self(2);
56 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
59 pub const fn as_raw(self) -> i32 { in as_raw()
60 self.0 in as_raw()
64 pub const STORE: Self = Self(0);
65 pub const DONT_CARE: Self = Self(1);
72 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
75 pub const fn as_raw(self) -> i32 { in as_raw()
76 self.0 in as_raw()
80 pub const TYPE_1D: Self = Self(0);
81 pub const TYPE_2D: Self = Self(1);
82 pub const TYPE_3D: Self = Self(2);
89 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
92 pub const fn as_raw(self) -> i32 { in as_raw()
93 self.0 in as_raw()
97 pub const OPTIMAL: Self = Self(0);
98 pub const LINEAR: Self = Self(1);
105 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
108 pub const fn as_raw(self) -> i32 { in as_raw()
109 self.0 in as_raw()
113 pub const TYPE_1D: Self = Self(0);
114 pub const TYPE_2D: Self = Self(1);
115 pub const TYPE_3D: Self = Self(2);
116 pub const CUBE: Self = Self(3);
117 pub const TYPE_1D_ARRAY: Self = Self(4);
118 pub const TYPE_2D_ARRAY: Self = Self(5);
119 pub const CUBE_ARRAY: Self = Self(6);
126 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
129 pub const fn as_raw(self) -> i32 { in as_raw()
130 self.0 in as_raw()
134 pub const PRIMARY: Self = Self(0);
135 pub const SECONDARY: Self = Self(1);
142 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
145 pub const fn as_raw(self) -> i32 { in as_raw()
146 self.0 in as_raw()
150 pub const IDENTITY: Self = Self(0);
151 pub const ZERO: Self = Self(1);
152 pub const ONE: Self = Self(2);
153 pub const R: Self = Self(3);
154 pub const G: Self = Self(4);
155 pub const B: Self = Self(5);
156 pub const A: Self = Self(6);
163 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
166 pub const fn as_raw(self) -> i32 { in as_raw()
167 self.0 in as_raw()
171 pub const SAMPLER: Self = Self(0);
172 pub const COMBINED_IMAGE_SAMPLER: Self = Self(1);
173 pub const SAMPLED_IMAGE: Self = Self(2);
174 pub const STORAGE_IMAGE: Self = Self(3);
175 pub const UNIFORM_TEXEL_BUFFER: Self = Self(4);
176 pub const STORAGE_TEXEL_BUFFER: Self = Self(5);
177 pub const UNIFORM_BUFFER: Self = Self(6);
178 pub const STORAGE_BUFFER: Self = Self(7);
179 pub const UNIFORM_BUFFER_DYNAMIC: Self = Self(8);
180 pub const STORAGE_BUFFER_DYNAMIC: Self = Self(9);
181 pub const INPUT_ATTACHMENT: Self = Self(10);
188 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
191 pub const fn as_raw(self) -> i32 { in as_raw()
192 self.0 in as_raw()
196 pub const OCCLUSION: Self = Self(0);
198 pub const PIPELINE_STATISTICS: Self = Self(1);
199 pub const TIMESTAMP: Self = Self(2);
206 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
209 pub const fn as_raw(self) -> i32 { in as_raw()
210 self.0 in as_raw()
214 pub const FLOAT_TRANSPARENT_BLACK: Self = Self(0);
215 pub const INT_TRANSPARENT_BLACK: Self = Self(1);
216 pub const FLOAT_OPAQUE_BLACK: Self = Self(2);
217 pub const INT_OPAQUE_BLACK: Self = Self(3);
218 pub const FLOAT_OPAQUE_WHITE: Self = Self(4);
219 pub const INT_OPAQUE_WHITE: Self = Self(5);
226 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
229 pub const fn as_raw(self) -> i32 { in as_raw()
230 self.0 in as_raw()
234 pub const GRAPHICS: Self = Self(0);
235 pub const COMPUTE: Self = Self(1);
242 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
245 pub const fn as_raw(self) -> i32 { in as_raw()
246 self.0 in as_raw()
250 pub const ONE: Self = Self(1);
257 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
260 pub const fn as_raw(self) -> i32 { in as_raw()
261 self.0 in as_raw()
265 pub const POINT_LIST: Self = Self(0);
266 pub const LINE_LIST: Self = Self(1);
267 pub const LINE_STRIP: Self = Self(2);
268 pub const TRIANGLE_LIST: Self = Self(3);
269 pub const TRIANGLE_STRIP: Self = Self(4);
270 pub const TRIANGLE_FAN: Self = Self(5);
271 pub const LINE_LIST_WITH_ADJACENCY: Self = Self(6);
272 pub const LINE_STRIP_WITH_ADJACENCY: Self = Self(7);
273 pub const TRIANGLE_LIST_WITH_ADJACENCY: Self = Self(8);
274 pub const TRIANGLE_STRIP_WITH_ADJACENCY: Self = Self(9);
275 pub const PATCH_LIST: Self = Self(10);
282 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
285 pub const fn as_raw(self) -> i32 { in as_raw()
286 self.0 in as_raw()
290 pub const EXCLUSIVE: Self = Self(0);
291 pub const CONCURRENT: Self = Self(1);
298 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
301 pub const fn as_raw(self) -> i32 { in as_raw()
302 self.0 in as_raw()
306 pub const UINT16: Self = Self(0);
307 pub const UINT32: Self = Self(1);
314 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
317 pub const fn as_raw(self) -> i32 { in as_raw()
318 self.0 in as_raw()
322 pub const NEAREST: Self = Self(0);
323 pub const LINEAR: Self = Self(1);
330 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
333 pub const fn as_raw(self) -> i32 { in as_raw()
334 self.0 in as_raw()
339 pub const NEAREST: Self = Self(0);
341 pub const LINEAR: Self = Self(1);
348 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
351 pub const fn as_raw(self) -> i32 { in as_raw()
352 self.0 in as_raw()
356 pub const REPEAT: Self = Self(0);
357 pub const MIRRORED_REPEAT: Self = Self(1);
358 pub const CLAMP_TO_EDGE: Self = Self(2);
359 pub const CLAMP_TO_BORDER: Self = Self(3);
366 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
369 pub const fn as_raw(self) -> i32 { in as_raw()
370 self.0 in as_raw()
374 pub const NEVER: Self = Self(0);
375 pub const LESS: Self = Self(1);
376 pub const EQUAL: Self = Self(2);
377 pub const LESS_OR_EQUAL: Self = Self(3);
378 pub const GREATER: Self = Self(4);
379 pub const NOT_EQUAL: Self = Self(5);
380 pub const GREATER_OR_EQUAL: Self = Self(6);
381 pub const ALWAYS: Self = Self(7);
388 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
391 pub const fn as_raw(self) -> i32 { in as_raw()
392 self.0 in as_raw()
396 pub const FILL: Self = Self(0);
397 pub const LINE: Self = Self(1);
398 pub const POINT: Self = Self(2);
405 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
408 pub const fn as_raw(self) -> i32 { in as_raw()
409 self.0 in as_raw()
413 pub const COUNTER_CLOCKWISE: Self = Self(0);
414 pub const CLOCKWISE: Self = Self(1);
421 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
424 pub const fn as_raw(self) -> i32 { in as_raw()
425 self.0 in as_raw()
429 pub const ZERO: Self = Self(0);
430 pub const ONE: Self = Self(1);
431 pub const SRC_COLOR: Self = Self(2);
432 pub const ONE_MINUS_SRC_COLOR: Self = Self(3);
433 pub const DST_COLOR: Self = Self(4);
434 pub const ONE_MINUS_DST_COLOR: Self = Self(5);
435 pub const SRC_ALPHA: Self = Self(6);
436 pub const ONE_MINUS_SRC_ALPHA: Self = Self(7);
437 pub const DST_ALPHA: Self = Self(8);
438 pub const ONE_MINUS_DST_ALPHA: Self = Self(9);
439 pub const CONSTANT_COLOR: Self = Self(10);
440 pub const ONE_MINUS_CONSTANT_COLOR: Self = Self(11);
441 pub const CONSTANT_ALPHA: Self = Self(12);
442 pub const ONE_MINUS_CONSTANT_ALPHA: Self = Self(13);
443 pub const SRC_ALPHA_SATURATE: Self = Self(14);
444 pub const SRC1_COLOR: Self = Self(15);
445 pub const ONE_MINUS_SRC1_COLOR: Self = Self(16);
446 pub const SRC1_ALPHA: Self = Self(17);
447 pub const ONE_MINUS_SRC1_ALPHA: Self = Self(18);
454 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
457 pub const fn as_raw(self) -> i32 { in as_raw()
458 self.0 in as_raw()
462 pub const ADD: Self = Self(0);
463 pub const SUBTRACT: Self = Self(1);
464 pub const REVERSE_SUBTRACT: Self = Self(2);
465 pub const MIN: Self = Self(3);
466 pub const MAX: Self = Self(4);
473 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
476 pub const fn as_raw(self) -> i32 { in as_raw()
477 self.0 in as_raw()
481 pub const KEEP: Self = Self(0);
482 pub const ZERO: Self = Self(1);
483 pub const REPLACE: Self = Self(2);
484 pub const INCREMENT_AND_CLAMP: Self = Self(3);
485 pub const DECREMENT_AND_CLAMP: Self = Self(4);
486 pub const INVERT: Self = Self(5);
487 pub const INCREMENT_AND_WRAP: Self = Self(6);
488 pub const DECREMENT_AND_WRAP: Self = Self(7);
495 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
498 pub const fn as_raw(self) -> i32 { in as_raw()
499 self.0 in as_raw()
503 pub const CLEAR: Self = Self(0);
504 pub const AND: Self = Self(1);
505 pub const AND_REVERSE: Self = Self(2);
506 pub const COPY: Self = Self(3);
507 pub const AND_INVERTED: Self = Self(4);
508 pub const NO_OP: Self = Self(5);
509 pub const XOR: Self = Self(6);
510 pub const OR: Self = Self(7);
511 pub const NOR: Self = Self(8);
512 pub const EQUIVALENT: Self = Self(9);
513 pub const INVERT: Self = Self(10);
514 pub const OR_REVERSE: Self = Self(11);
515 pub const COPY_INVERTED: Self = Self(12);
516 pub const OR_INVERTED: Self = Self(13);
517 pub const NAND: Self = Self(14);
518 pub const SET: Self = Self(15);
525 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
528 pub const fn as_raw(self) -> i32 { in as_raw()
529 self.0 in as_raw()
533 pub const EXECUTABLE: Self = Self(0);
540 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
543 pub const fn as_raw(self) -> i32 { in as_raw()
544 self.0 in as_raw()
548 pub const COMMAND: Self = Self(0);
549 pub const OBJECT: Self = Self(1);
550 pub const CACHE: Self = Self(2);
551 pub const DEVICE: Self = Self(3);
552 pub const INSTANCE: Self = Self(4);
559 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
562 pub const fn as_raw(self) -> i32 { in as_raw()
563 self.0 in as_raw()
567 pub const OTHER: Self = Self(0);
568 pub const INTEGRATED_GPU: Self = Self(1);
569 pub const DISCRETE_GPU: Self = Self(2);
570 pub const VIRTUAL_GPU: Self = Self(3);
571 pub const CPU: Self = Self(4);
578 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
581 pub const fn as_raw(self) -> i32 { in as_raw()
582 self.0 in as_raw()
586 pub const VERTEX: Self = Self(0);
587 pub const INSTANCE: Self = Self(1);
594 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
597 pub const fn as_raw(self) -> i32 { in as_raw()
598 self.0 in as_raw()
602 pub const UNDEFINED: Self = Self(0);
603 pub const R4G4_UNORM_PACK8: Self = Self(1);
604 pub const R4G4B4A4_UNORM_PACK16: Self = Self(2);
605 pub const B4G4R4A4_UNORM_PACK16: Self = Self(3);
606 pub const R5G6B5_UNORM_PACK16: Self = Self(4);
607 pub const B5G6R5_UNORM_PACK16: Self = Self(5);
608 pub const R5G5B5A1_UNORM_PACK16: Self = Self(6);
609 pub const B5G5R5A1_UNORM_PACK16: Self = Self(7);
610 pub const A1R5G5B5_UNORM_PACK16: Self = Self(8);
611 pub const R8_UNORM: Self = Self(9);
612 pub const R8_SNORM: Self = Self(10);
613 pub const R8_USCALED: Self = Self(11);
614 pub const R8_SSCALED: Self = Self(12);
615 pub const R8_UINT: Self = Self(13);
616 pub const R8_SINT: Self = Self(14);
617 pub const R8_SRGB: Self = Self(15);
618 pub const R8G8_UNORM: Self = Self(16);
619 pub const R8G8_SNORM: Self = Self(17);
620 pub const R8G8_USCALED: Self = Self(18);
621 pub const R8G8_SSCALED: Self = Self(19);
622 pub const R8G8_UINT: Self = Self(20);
623 pub const R8G8_SINT: Self = Self(21);
624 pub const R8G8_SRGB: Self = Self(22);
625 pub const R8G8B8_UNORM: Self = Self(23);
626 pub const R8G8B8_SNORM: Self = Self(24);
627 pub const R8G8B8_USCALED: Self = Self(25);
628 pub const R8G8B8_SSCALED: Self = Self(26);
629 pub const R8G8B8_UINT: Self = Self(27);
630 pub const R8G8B8_SINT: Self = Self(28);
631 pub const R8G8B8_SRGB: Self = Self(29);
632 pub const B8G8R8_UNORM: Self = Self(30);
633 pub const B8G8R8_SNORM: Self = Self(31);
634 pub const B8G8R8_USCALED: Self = Self(32);
635 pub const B8G8R8_SSCALED: Self = Self(33);
636 pub const B8G8R8_UINT: Self = Self(34);
637 pub const B8G8R8_SINT: Self = Self(35);
638 pub const B8G8R8_SRGB: Self = Self(36);
639 pub const R8G8B8A8_UNORM: Self = Self(37);
640 pub const R8G8B8A8_SNORM: Self = Self(38);
641 pub const R8G8B8A8_USCALED: Self = Self(39);
642 pub const R8G8B8A8_SSCALED: Self = Self(40);
643 pub const R8G8B8A8_UINT: Self = Self(41);
644 pub const R8G8B8A8_SINT: Self = Self(42);
645 pub const R8G8B8A8_SRGB: Self = Self(43);
646 pub const B8G8R8A8_UNORM: Self = Self(44);
647 pub const B8G8R8A8_SNORM: Self = Self(45);
648 pub const B8G8R8A8_USCALED: Self = Self(46);
649 pub const B8G8R8A8_SSCALED: Self = Self(47);
650 pub const B8G8R8A8_UINT: Self = Self(48);
651 pub const B8G8R8A8_SINT: Self = Self(49);
652 pub const B8G8R8A8_SRGB: Self = Self(50);
653 pub const A8B8G8R8_UNORM_PACK32: Self = Self(51);
654 pub const A8B8G8R8_SNORM_PACK32: Self = Self(52);
655 pub const A8B8G8R8_USCALED_PACK32: Self = Self(53);
656 pub const A8B8G8R8_SSCALED_PACK32: Self = Self(54);
657 pub const A8B8G8R8_UINT_PACK32: Self = Self(55);
658 pub const A8B8G8R8_SINT_PACK32: Self = Self(56);
659 pub const A8B8G8R8_SRGB_PACK32: Self = Self(57);
660 pub const A2R10G10B10_UNORM_PACK32: Self = Self(58);
661 pub const A2R10G10B10_SNORM_PACK32: Self = Self(59);
662 pub const A2R10G10B10_USCALED_PACK32: Self = Self(60);
663 pub const A2R10G10B10_SSCALED_PACK32: Self = Self(61);
664 pub const A2R10G10B10_UINT_PACK32: Self = Self(62);
665 pub const A2R10G10B10_SINT_PACK32: Self = Self(63);
666 pub const A2B10G10R10_UNORM_PACK32: Self = Self(64);
667 pub const A2B10G10R10_SNORM_PACK32: Self = Self(65);
668 pub const A2B10G10R10_USCALED_PACK32: Self = Self(66);
669 pub const A2B10G10R10_SSCALED_PACK32: Self = Self(67);
670 pub const A2B10G10R10_UINT_PACK32: Self = Self(68);
671 pub const A2B10G10R10_SINT_PACK32: Self = Self(69);
672 pub const R16_UNORM: Self = Self(70);
673 pub const R16_SNORM: Self = Self(71);
674 pub const R16_USCALED: Self = Self(72);
675 pub const R16_SSCALED: Self = Self(73);
676 pub const R16_UINT: Self = Self(74);
677 pub const R16_SINT: Self = Self(75);
678 pub const R16_SFLOAT: Self = Self(76);
679 pub const R16G16_UNORM: Self = Self(77);
680 pub const R16G16_SNORM: Self = Self(78);
681 pub const R16G16_USCALED: Self = Self(79);
682 pub const R16G16_SSCALED: Self = Self(80);
683 pub const R16G16_UINT: Self = Self(81);
684 pub const R16G16_SINT: Self = Self(82);
685 pub const R16G16_SFLOAT: Self = Self(83);
686 pub const R16G16B16_UNORM: Self = Self(84);
687 pub const R16G16B16_SNORM: Self = Self(85);
688 pub const R16G16B16_USCALED: Self = Self(86);
689 pub const R16G16B16_SSCALED: Self = Self(87);
690 pub const R16G16B16_UINT: Self = Self(88);
691 pub const R16G16B16_SINT: Self = Self(89);
692 pub const R16G16B16_SFLOAT: Self = Self(90);
693 pub const R16G16B16A16_UNORM: Self = Self(91);
694 pub const R16G16B16A16_SNORM: Self = Self(92);
695 pub const R16G16B16A16_USCALED: Self = Self(93);
696 pub const R16G16B16A16_SSCALED: Self = Self(94);
697 pub const R16G16B16A16_UINT: Self = Self(95);
698 pub const R16G16B16A16_SINT: Self = Self(96);
699 pub const R16G16B16A16_SFLOAT: Self = Self(97);
700 pub const R32_UINT: Self = Self(98);
701 pub const R32_SINT: Self = Self(99);
702 pub const R32_SFLOAT: Self = Self(100);
703 pub const R32G32_UINT: Self = Self(101);
704 pub const R32G32_SINT: Self = Self(102);
705 pub const R32G32_SFLOAT: Self = Self(103);
706 pub const R32G32B32_UINT: Self = Self(104);
707 pub const R32G32B32_SINT: Self = Self(105);
708 pub const R32G32B32_SFLOAT: Self = Self(106);
709 pub const R32G32B32A32_UINT: Self = Self(107);
710 pub const R32G32B32A32_SINT: Self = Self(108);
711 pub const R32G32B32A32_SFLOAT: Self = Self(109);
712 pub const R64_UINT: Self = Self(110);
713 pub const R64_SINT: Self = Self(111);
714 pub const R64_SFLOAT: Self = Self(112);
715 pub const R64G64_UINT: Self = Self(113);
716 pub const R64G64_SINT: Self = Self(114);
717 pub const R64G64_SFLOAT: Self = Self(115);
718 pub const R64G64B64_UINT: Self = Self(116);
719 pub const R64G64B64_SINT: Self = Self(117);
720 pub const R64G64B64_SFLOAT: Self = Self(118);
721 pub const R64G64B64A64_UINT: Self = Self(119);
722 pub const R64G64B64A64_SINT: Self = Self(120);
723 pub const R64G64B64A64_SFLOAT: Self = Self(121);
724 pub const B10G11R11_UFLOAT_PACK32: Self = Self(122);
725 pub const E5B9G9R9_UFLOAT_PACK32: Self = Self(123);
726 pub const D16_UNORM: Self = Self(124);
727 pub const X8_D24_UNORM_PACK32: Self = Self(125);
728 pub const D32_SFLOAT: Self = Self(126);
729 pub const S8_UINT: Self = Self(127);
730 pub const D16_UNORM_S8_UINT: Self = Self(128);
731 pub const D24_UNORM_S8_UINT: Self = Self(129);
732 pub const D32_SFLOAT_S8_UINT: Self = Self(130);
733 pub const BC1_RGB_UNORM_BLOCK: Self = Self(131);
734 pub const BC1_RGB_SRGB_BLOCK: Self = Self(132);
735 pub const BC1_RGBA_UNORM_BLOCK: Self = Self(133);
736 pub const BC1_RGBA_SRGB_BLOCK: Self = Self(134);
737 pub const BC2_UNORM_BLOCK: Self = Self(135);
738 pub const BC2_SRGB_BLOCK: Self = Self(136);
739 pub const BC3_UNORM_BLOCK: Self = Self(137);
740 pub const BC3_SRGB_BLOCK: Self = Self(138);
741 pub const BC4_UNORM_BLOCK: Self = Self(139);
742 pub const BC4_SNORM_BLOCK: Self = Self(140);
743 pub const BC5_UNORM_BLOCK: Self = Self(141);
744 pub const BC5_SNORM_BLOCK: Self = Self(142);
745 pub const BC6H_UFLOAT_BLOCK: Self = Self(143);
746 pub const BC6H_SFLOAT_BLOCK: Self = Self(144);
747 pub const BC7_UNORM_BLOCK: Self = Self(145);
748 pub const BC7_SRGB_BLOCK: Self = Self(146);
749 pub const ETC2_R8G8B8_UNORM_BLOCK: Self = Self(147);
750 pub const ETC2_R8G8B8_SRGB_BLOCK: Self = Self(148);
751 pub const ETC2_R8G8B8A1_UNORM_BLOCK: Self = Self(149);
752 pub const ETC2_R8G8B8A1_SRGB_BLOCK: Self = Self(150);
753 pub const ETC2_R8G8B8A8_UNORM_BLOCK: Self = Self(151);
754 pub const ETC2_R8G8B8A8_SRGB_BLOCK: Self = Self(152);
755 pub const EAC_R11_UNORM_BLOCK: Self = Self(153);
756 pub const EAC_R11_SNORM_BLOCK: Self = Self(154);
757 pub const EAC_R11G11_UNORM_BLOCK: Self = Self(155);
758 pub const EAC_R11G11_SNORM_BLOCK: Self = Self(156);
759 pub const ASTC_4X4_UNORM_BLOCK: Self = Self(157);
760 pub const ASTC_4X4_SRGB_BLOCK: Self = Self(158);
761 pub const ASTC_5X4_UNORM_BLOCK: Self = Self(159);
762 pub const ASTC_5X4_SRGB_BLOCK: Self = Self(160);
763 pub const ASTC_5X5_UNORM_BLOCK: Self = Self(161);
764 pub const ASTC_5X5_SRGB_BLOCK: Self = Self(162);
765 pub const ASTC_6X5_UNORM_BLOCK: Self = Self(163);
766 pub const ASTC_6X5_SRGB_BLOCK: Self = Self(164);
767 pub const ASTC_6X6_UNORM_BLOCK: Self = Self(165);
768 pub const ASTC_6X6_SRGB_BLOCK: Self = Self(166);
769 pub const ASTC_8X5_UNORM_BLOCK: Self = Self(167);
770 pub const ASTC_8X5_SRGB_BLOCK: Self = Self(168);
771 pub const ASTC_8X6_UNORM_BLOCK: Self = Self(169);
772 pub const ASTC_8X6_SRGB_BLOCK: Self = Self(170);
773 pub const ASTC_8X8_UNORM_BLOCK: Self = Self(171);
774 pub const ASTC_8X8_SRGB_BLOCK: Self = Self(172);
775 pub const ASTC_10X5_UNORM_BLOCK: Self = Self(173);
776 pub const ASTC_10X5_SRGB_BLOCK: Self = Self(174);
777 pub const ASTC_10X6_UNORM_BLOCK: Self = Self(175);
778 pub const ASTC_10X6_SRGB_BLOCK: Self = Self(176);
779 pub const ASTC_10X8_UNORM_BLOCK: Self = Self(177);
780 pub const ASTC_10X8_SRGB_BLOCK: Self = Self(178);
781 pub const ASTC_10X10_UNORM_BLOCK: Self = Self(179);
782 pub const ASTC_10X10_SRGB_BLOCK: Self = Self(180);
783 pub const ASTC_12X10_UNORM_BLOCK: Self = Self(181);
784 pub const ASTC_12X10_SRGB_BLOCK: Self = Self(182);
785 pub const ASTC_12X12_UNORM_BLOCK: Self = Self(183);
786 pub const ASTC_12X12_SRGB_BLOCK: Self = Self(184);
793 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
796 pub const fn as_raw(self) -> i32 { in as_raw()
797 self.0 in as_raw()
801 pub const APPLICATION_INFO: Self = Self(0);
802 pub const INSTANCE_CREATE_INFO: Self = Self(1);
803 pub const DEVICE_QUEUE_CREATE_INFO: Self = Self(2);
804 pub const DEVICE_CREATE_INFO: Self = Self(3);
805 pub const SUBMIT_INFO: Self = Self(4);
806 pub const MEMORY_ALLOCATE_INFO: Self = Self(5);
807 pub const MAPPED_MEMORY_RANGE: Self = Self(6);
808 pub const BIND_SPARSE_INFO: Self = Self(7);
809 pub const FENCE_CREATE_INFO: Self = Self(8);
810 pub const SEMAPHORE_CREATE_INFO: Self = Self(9);
811 pub const EVENT_CREATE_INFO: Self = Self(10);
812 pub const QUERY_POOL_CREATE_INFO: Self = Self(11);
813 pub const BUFFER_CREATE_INFO: Self = Self(12);
814 pub const BUFFER_VIEW_CREATE_INFO: Self = Self(13);
815 pub const IMAGE_CREATE_INFO: Self = Self(14);
816 pub const IMAGE_VIEW_CREATE_INFO: Self = Self(15);
817 pub const SHADER_MODULE_CREATE_INFO: Self = Self(16);
818 pub const PIPELINE_CACHE_CREATE_INFO: Self = Self(17);
819 pub const PIPELINE_SHADER_STAGE_CREATE_INFO: Self = Self(18);
820 pub const PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO: Self = Self(19);
821 pub const PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO: Self = Self(20);
822 pub const PIPELINE_TESSELLATION_STATE_CREATE_INFO: Self = Self(21);
823 pub const PIPELINE_VIEWPORT_STATE_CREATE_INFO: Self = Self(22);
824 pub const PIPELINE_RASTERIZATION_STATE_CREATE_INFO: Self = Self(23);
825 pub const PIPELINE_MULTISAMPLE_STATE_CREATE_INFO: Self = Self(24);
826 pub const PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO: Self = Self(25);
827 pub const PIPELINE_COLOR_BLEND_STATE_CREATE_INFO: Self = Self(26);
828 pub const PIPELINE_DYNAMIC_STATE_CREATE_INFO: Self = Self(27);
829 pub const GRAPHICS_PIPELINE_CREATE_INFO: Self = Self(28);
830 pub const COMPUTE_PIPELINE_CREATE_INFO: Self = Self(29);
831 pub const PIPELINE_LAYOUT_CREATE_INFO: Self = Self(30);
832 pub const SAMPLER_CREATE_INFO: Self = Self(31);
833 pub const DESCRIPTOR_SET_LAYOUT_CREATE_INFO: Self = Self(32);
834 pub const DESCRIPTOR_POOL_CREATE_INFO: Self = Self(33);
835 pub const DESCRIPTOR_SET_ALLOCATE_INFO: Self = Self(34);
836 pub const WRITE_DESCRIPTOR_SET: Self = Self(35);
837 pub const COPY_DESCRIPTOR_SET: Self = Self(36);
838 pub const FRAMEBUFFER_CREATE_INFO: Self = Self(37);
839 pub const RENDER_PASS_CREATE_INFO: Self = Self(38);
840 pub const COMMAND_POOL_CREATE_INFO: Self = Self(39);
841 pub const COMMAND_BUFFER_ALLOCATE_INFO: Self = Self(40);
842 pub const COMMAND_BUFFER_INHERITANCE_INFO: Self = Self(41);
843 pub const COMMAND_BUFFER_BEGIN_INFO: Self = Self(42);
844 pub const RENDER_PASS_BEGIN_INFO: Self = Self(43);
845 pub const BUFFER_MEMORY_BARRIER: Self = Self(44);
846 pub const IMAGE_MEMORY_BARRIER: Self = Self(45);
847 pub const MEMORY_BARRIER: Self = Self(46);
849 pub const LOADER_INSTANCE_CREATE_INFO: Self = Self(47);
851 pub const LOADER_DEVICE_CREATE_INFO: Self = Self(48);
858 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
861 pub const fn as_raw(self) -> i32 { in as_raw()
862 self.0 in as_raw()
866 pub const INLINE: Self = Self(0);
867 pub const SECONDARY_COMMAND_BUFFERS: Self = Self(1);
875 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
878 pub const fn as_raw(self) -> i32 { in as_raw()
879 self.0 in as_raw()
884 pub const SUCCESS: Self = Self(0);
886 pub const NOT_READY: Self = Self(1);
888 pub const TIMEOUT: Self = Self(2);
890 pub const EVENT_SET: Self = Self(3);
892 pub const EVENT_RESET: Self = Self(4);
894 pub const INCOMPLETE: Self = Self(5);
896 pub const ERROR_OUT_OF_HOST_MEMORY: Self = Self(-1);
898 pub const ERROR_OUT_OF_DEVICE_MEMORY: Self = Self(-2);
900 pub const ERROR_INITIALIZATION_FAILED: Self = Self(-3);
902 pub const ERROR_DEVICE_LOST: Self = Self(-4);
904 pub const ERROR_MEMORY_MAP_FAILED: Self = Self(-5);
906 pub const ERROR_LAYER_NOT_PRESENT: Self = Self(-6);
908 pub const ERROR_EXTENSION_NOT_PRESENT: Self = Self(-7);
910 pub const ERROR_FEATURE_NOT_PRESENT: Self = Self(-8);
912 pub const ERROR_INCOMPATIBLE_DRIVER: Self = Self(-9);
914 pub const ERROR_TOO_MANY_OBJECTS: Self = Self(-10);
916 pub const ERROR_FORMAT_NOT_SUPPORTED: Self = Self(-11);
918 pub const ERROR_FRAGMENTED_POOL: Self = Self(-12);
920 pub const ERROR_UNKNOWN: Self = Self(-13);
924 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { in fmt() argument
925 let name = match *self { in fmt()
962 <Self as fmt::Debug>::fmt(self, fmt) in fmt()
971 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
974 pub const fn as_raw(self) -> i32 { in as_raw()
975 self.0 in as_raw()
979 pub const VIEWPORT: Self = Self(0);
980 pub const SCISSOR: Self = Self(1);
981 pub const LINE_WIDTH: Self = Self(2);
982 pub const DEPTH_BIAS: Self = Self(3);
983 pub const BLEND_CONSTANTS: Self = Self(4);
984 pub const DEPTH_BOUNDS: Self = Self(5);
985 pub const STENCIL_COMPARE_MASK: Self = Self(6);
986 pub const STENCIL_WRITE_MASK: Self = Self(7);
987 pub const STENCIL_REFERENCE: Self = Self(8);
994 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
997 pub const fn as_raw(self) -> i32 { in as_raw()
998 self.0 in as_raw()
1003 pub const DESCRIPTOR_SET: Self = Self(0);
1010 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1013 pub const fn as_raw(self) -> i32 { in as_raw()
1014 self.0 in as_raw()
1018 pub const UNKNOWN: Self = Self(0);
1019 pub const INSTANCE: Self = Self(1);
1020 pub const PHYSICAL_DEVICE: Self = Self(2);
1021 pub const DEVICE: Self = Self(3);
1022 pub const QUEUE: Self = Self(4);
1023 pub const SEMAPHORE: Self = Self(5);
1024 pub const COMMAND_BUFFER: Self = Self(6);
1025 pub const FENCE: Self = Self(7);
1026 pub const DEVICE_MEMORY: Self = Self(8);
1027 pub const BUFFER: Self = Self(9);
1028 pub const IMAGE: Self = Self(10);
1029 pub const EVENT: Self = Self(11);
1030 pub const QUERY_POOL: Self = Self(12);
1031 pub const BUFFER_VIEW: Self = Self(13);
1032 pub const IMAGE_VIEW: Self = Self(14);
1033 pub const SHADER_MODULE: Self = Self(15);
1034 pub const PIPELINE_CACHE: Self = Self(16);
1035 pub const PIPELINE_LAYOUT: Self = Self(17);
1036 pub const RENDER_PASS: Self = Self(18);
1037 pub const PIPELINE: Self = Self(19);
1038 pub const DESCRIPTOR_SET_LAYOUT: Self = Self(20);
1039 pub const SAMPLER: Self = Self(21);
1040 pub const DESCRIPTOR_POOL: Self = Self(22);
1041 pub const DESCRIPTOR_SET: Self = Self(23);
1042 pub const FRAMEBUFFER: Self = Self(24);
1043 pub const COMMAND_POOL: Self = Self(25);
1050 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1053 pub const fn as_raw(self) -> i32 { in as_raw()
1054 self.0 in as_raw()
1058 pub const BINARY: Self = Self(0);
1059 pub const TIMELINE: Self = Self(1);
1066 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1069 pub const fn as_raw(self) -> i32 { in as_raw()
1070 self.0 in as_raw()
1074 pub const IMMEDIATE: Self = Self(0);
1075 pub const MAILBOX: Self = Self(1);
1076 pub const FIFO: Self = Self(2);
1077 pub const FIFO_RELAXED: Self = Self(3);
1084 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1087 pub const fn as_raw(self) -> i32 { in as_raw()
1088 self.0 in as_raw()
1092 pub const SRGB_NONLINEAR: Self = Self(0);
1094 pub const COLORSPACE_SRGB_NONLINEAR: Self = Self::SRGB_NONLINEAR;
1101 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1104 pub const fn as_raw(self) -> i32 { in as_raw()
1105 self.0 in as_raw()
1109 pub const DEVICE: Self = Self(0);
1110 pub const CLOCK_MONOTONIC: Self = Self(1);
1111 pub const CLOCK_MONOTONIC_RAW: Self = Self(2);
1112 pub const QUERY_PERFORMANCE_COUNTER: Self = Self(3);
1119 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1122 pub const fn as_raw(self) -> i32 { in as_raw()
1123 self.0 in as_raw()
1127 pub const UNKNOWN: Self = Self(0);
1128 pub const INSTANCE: Self = Self(1);
1129 pub const PHYSICAL_DEVICE: Self = Self(2);
1130 pub const DEVICE: Self = Self(3);
1131 pub const QUEUE: Self = Self(4);
1132 pub const SEMAPHORE: Self = Self(5);
1133 pub const COMMAND_BUFFER: Self = Self(6);
1134 pub const FENCE: Self = Self(7);
1135 pub const DEVICE_MEMORY: Self = Self(8);
1136 pub const BUFFER: Self = Self(9);
1137 pub const IMAGE: Self = Self(10);
1138 pub const EVENT: Self = Self(11);
1139 pub const QUERY_POOL: Self = Self(12);
1140 pub const BUFFER_VIEW: Self = Self(13);
1141 pub const IMAGE_VIEW: Self = Self(14);
1142 pub const SHADER_MODULE: Self = Self(15);
1143 pub const PIPELINE_CACHE: Self = Self(16);
1144 pub const PIPELINE_LAYOUT: Self = Self(17);
1145 pub const RENDER_PASS: Self = Self(18);
1146 pub const PIPELINE: Self = Self(19);
1147 pub const DESCRIPTOR_SET_LAYOUT: Self = Self(20);
1148 pub const SAMPLER: Self = Self(21);
1149 pub const DESCRIPTOR_POOL: Self = Self(22);
1150 pub const DESCRIPTOR_SET: Self = Self(23);
1151 pub const FRAMEBUFFER: Self = Self(24);
1152 pub const COMMAND_POOL: Self = Self(25);
1153 pub const SURFACE_KHR: Self = Self(26);
1154 pub const SWAPCHAIN_KHR: Self = Self(27);
1155 pub const DEBUG_REPORT_CALLBACK_EXT: Self = Self(28);
1157 pub const DEBUG_REPORT: Self = Self::DEBUG_REPORT_CALLBACK_EXT;
1158 pub const DISPLAY_KHR: Self = Self(29);
1159 pub const DISPLAY_MODE_KHR: Self = Self(30);
1160 pub const VALIDATION_CACHE_EXT: Self = Self(33);
1162 pub const VALIDATION_CACHE: Self = Self::VALIDATION_CACHE_EXT;
1169 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1172 pub const fn as_raw(self) -> i32 { in as_raw()
1173 self.0 in as_raw()
1177 pub const ALLOCATE: Self = Self(0);
1178 pub const FREE: Self = Self(1);
1179 pub const IMPORT: Self = Self(2);
1180 pub const UNIMPORT: Self = Self(3);
1181 pub const ALLOCATION_FAILED: Self = Self(4);
1188 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1191 pub const fn as_raw(self) -> i32 { in as_raw()
1192 self.0 in as_raw()
1196 pub const STRICT: Self = Self(0);
1197 pub const RELAXED: Self = Self(1);
1204 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1207 pub const fn as_raw(self) -> i32 { in as_raw()
1208 self.0 in as_raw()
1212 pub const ALL: Self = Self(0);
1213 pub const SHADERS: Self = Self(1);
1220 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1223 pub const fn as_raw(self) -> i32 { in as_raw()
1224 self.0 in as_raw()
1228 pub const GPU_ASSISTED: Self = Self(0);
1229 pub const GPU_ASSISTED_RESERVE_BINDING_SLOT: Self = Self(1);
1230 pub const BEST_PRACTICES: Self = Self(2);
1231 pub const DEBUG_PRINTF: Self = Self(3);
1232 pub const SYNCHRONIZATION_VALIDATION: Self = Self(4);
1239 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1242 pub const fn as_raw(self) -> i32 { in as_raw()
1243 self.0 in as_raw()
1247 pub const ALL: Self = Self(0);
1248 pub const SHADERS: Self = Self(1);
1249 pub const THREAD_SAFETY: Self = Self(2);
1250 pub const API_PARAMETERS: Self = Self(3);
1251 pub const OBJECT_LIFETIMES: Self = Self(4);
1252 pub const CORE_CHECKS: Self = Self(5);
1253 pub const UNIQUE_HANDLES: Self = Self(6);
1254 pub const SHADER_VALIDATION_CACHE: Self = Self(7);
1261 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1264 pub const fn as_raw(self) -> i32 { in as_raw()
1265 self.0 in as_raw()
1269 pub const SHADER_GROUP: Self = Self(0);
1270 pub const STATE_FLAGS: Self = Self(1);
1271 pub const INDEX_BUFFER: Self = Self(2);
1272 pub const VERTEX_BUFFER: Self = Self(3);
1273 pub const PUSH_CONSTANT: Self = Self(4);
1274 pub const DRAW_INDEXED: Self = Self(5);
1275 pub const DRAW: Self = Self(6);
1276 pub const DRAW_TASKS: Self = Self(7);
1283 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1286 pub const fn as_raw(self) -> i32 { in as_raw()
1287 self.0 in as_raw()
1291 pub const OFF: Self = Self(0);
1292 pub const SUSPEND: Self = Self(1);
1293 pub const ON: Self = Self(2);
1300 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1303 pub const fn as_raw(self) -> i32 { in as_raw()
1304 self.0 in as_raw()
1308 pub const DISPLAY_HOTPLUG: Self = Self(0);
1315 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1318 pub const fn as_raw(self) -> i32 { in as_raw()
1319 self.0 in as_raw()
1323 pub const FIRST_PIXEL_OUT: Self = Self(0);
1330 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1333 pub const fn as_raw(self) -> i32 { in as_raw()
1334 self.0 in as_raw()
1338 pub const POSITIVE_X: Self = Self(0);
1339 pub const NEGATIVE_X: Self = Self(1);
1340 pub const POSITIVE_Y: Self = Self(2);
1341 pub const NEGATIVE_Y: Self = Self(3);
1342 pub const POSITIVE_Z: Self = Self(4);
1343 pub const NEGATIVE_Z: Self = Self(5);
1344 pub const POSITIVE_W: Self = Self(6);
1345 pub const NEGATIVE_W: Self = Self(7);
1352 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1355 pub const fn as_raw(self) -> i32 { in as_raw()
1356 self.0 in as_raw()
1360 pub const INCLUSIVE: Self = Self(0);
1361 pub const EXCLUSIVE: Self = Self(1);
1368 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1371 pub const fn as_raw(self) -> i32 { in as_raw()
1372 self.0 in as_raw()
1376 pub const ALL_CLIP_PLANES: Self = Self(0);
1377 pub const USER_CLIP_PLANES_ONLY: Self = Self(1);
1384 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1387 pub const fn as_raw(self) -> i32 { in as_raw()
1388 self.0 in as_raw()
1392 pub const WEIGHTED_AVERAGE: Self = Self(0);
1393 pub const MIN: Self = Self(1);
1394 pub const MAX: Self = Self(2);
1401 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1404 pub const fn as_raw(self) -> i32 { in as_raw()
1405 self.0 in as_raw()
1409 pub const UPPER_LEFT: Self = Self(0);
1410 pub const LOWER_LEFT: Self = Self(1);
1417 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1420 pub const fn as_raw(self) -> i32 { in as_raw()
1421 self.0 in as_raw()
1425 pub const RGB_IDENTITY: Self = Self(0);
1427 pub const YCBCR_IDENTITY: Self = Self(1);
1429 pub const YCBCR_709: Self = Self(2);
1431 pub const YCBCR_601: Self = Self(3);
1433 pub const YCBCR_2020: Self = Self(4);
1440 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1443 pub const fn as_raw(self) -> i32 { in as_raw()
1444 self.0 in as_raw()
1449 pub const ITU_FULL: Self = Self(0);
1451 pub const ITU_NARROW: Self = Self(1);
1458 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1461 pub const fn as_raw(self) -> i32 { in as_raw()
1462 self.0 in as_raw()
1466 pub const COSITED_EVEN: Self = Self(0);
1467 pub const MIDPOINT: Self = Self(1);
1474 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1477 pub const fn as_raw(self) -> i32 { in as_raw()
1478 self.0 in as_raw()
1482 pub const UNCORRELATED: Self = Self(0);
1483 pub const DISJOINT: Self = Self(1);
1484 pub const CONJOINT: Self = Self(2);
1491 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1494 pub const fn as_raw(self) -> i32 { in as_raw()
1495 self.0 in as_raw()
1499 pub const NONE: Self = Self(0);
1500 pub const RGB: Self = Self(1);
1501 pub const ALPHA: Self = Self(2);
1502 pub const RGBA: Self = Self(3);
1509 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1512 pub const fn as_raw(self) -> i32 { in as_raw()
1513 self.0 in as_raw()
1517 pub const MERGE: Self = Self(0);
1518 pub const TRUNCATE: Self = Self(1);
1525 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1528 pub const fn as_raw(self) -> i32 { in as_raw()
1529 self.0 in as_raw()
1533 pub const ONE: Self = Self(1);
1540 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1543 pub const fn as_raw(self) -> i32 { in as_raw()
1544 self.0 in as_raw()
1548 pub const STATISTICS: Self = Self(0);
1549 pub const BINARY: Self = Self(1);
1550 pub const DISASSEMBLY: Self = Self(2);
1557 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1560 pub const fn as_raw(self) -> i32 { in as_raw()
1561 self.0 in as_raw()
1565 pub const LOW: Self = Self(128);
1566 pub const MEDIUM: Self = Self(256);
1567 pub const HIGH: Self = Self(512);
1568 pub const REALTIME: Self = Self(1_024);
1575 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1578 pub const fn as_raw(self) -> i32 { in as_raw()
1579 self.0 in as_raw()
1583 pub const DISABLED: Self = Self(0);
1584 pub const OVERESTIMATE: Self = Self(1);
1585 pub const UNDERESTIMATE: Self = Self(2);
1592 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1595 pub const fn as_raw(self) -> i32 { in as_raw()
1596 self.0 in as_raw()
1601 pub const VIV: Self = Self(0x1_0001);
1603 pub const VSI: Self = Self(0x1_0002);
1605 pub const KAZAN: Self = Self(0x1_0003);
1607 pub const CODEPLAY: Self = Self(0x1_0004);
1609 pub const MESA: Self = Self(0x1_0005);
1611 pub const POCL: Self = Self(0x1_0006);
1618 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1621 pub const fn as_raw(self) -> i32 { in as_raw()
1622 self.0 in as_raw()
1627 pub const AMD_PROPRIETARY: Self = Self(1);
1629 pub const AMD_OPEN_SOURCE: Self = Self(2);
1631 pub const MESA_RADV: Self = Self(3);
1633 pub const NVIDIA_PROPRIETARY: Self = Self(4);
1635 pub const INTEL_PROPRIETARY_WINDOWS: Self = Self(5);
1637 pub const INTEL_OPEN_SOURCE_MESA: Self = Self(6);
1639 pub const IMAGINATION_PROPRIETARY: Self = Self(7);
1641 pub const QUALCOMM_PROPRIETARY: Self = Self(8);
1643 pub const ARM_PROPRIETARY: Self = Self(9);
1645 pub const GOOGLE_SWIFTSHADER: Self = Self(10);
1647 pub const GGP_PROPRIETARY: Self = Self(11);
1649 pub const BROADCOM_PROPRIETARY: Self = Self(12);
1651 pub const MESA_LLVMPIPE: Self = Self(13);
1653 pub const MOLTENVK: Self = Self(14);
1655 pub const COREAVI_PROPRIETARY: Self = Self(15);
1657 pub const JUICE_PROPRIETARY: Self = Self(16);
1659 pub const VERISILICON_PROPRIETARY: Self = Self(17);
1666 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1669 pub const fn as_raw(self) -> i32 { in as_raw()
1670 self.0 in as_raw()
1674 pub const NO_INVOCATIONS: Self = Self(0);
1675 pub const TYPE_16_INVOCATIONS_PER_PIXEL: Self = Self(1);
1676 pub const TYPE_8_INVOCATIONS_PER_PIXEL: Self = Self(2);
1677 pub const TYPE_4_INVOCATIONS_PER_PIXEL: Self = Self(3);
1678 pub const TYPE_2_INVOCATIONS_PER_PIXEL: Self = Self(4);
1679 pub const TYPE_1_INVOCATION_PER_PIXEL: Self = Self(5);
1680 pub const TYPE_1_INVOCATION_PER_2X1_PIXELS: Self = Self(6);
1681 pub const TYPE_1_INVOCATION_PER_1X2_PIXELS: Self = Self(7);
1682 pub const TYPE_1_INVOCATION_PER_2X2_PIXELS: Self = Self(8);
1683 pub const TYPE_1_INVOCATION_PER_4X2_PIXELS: Self = Self(9);
1684 pub const TYPE_1_INVOCATION_PER_2X4_PIXELS: Self = Self(10);
1685 pub const TYPE_1_INVOCATION_PER_4X4_PIXELS: Self = Self(11);
1692 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1695 pub const fn as_raw(self) -> i32 { in as_raw()
1696 self.0 in as_raw()
1700 pub const DEFAULT: Self = Self(0);
1701 pub const CUSTOM: Self = Self(1);
1702 pub const PIXEL_MAJOR: Self = Self(2);
1703 pub const SAMPLE_MAJOR: Self = Self(3);
1710 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1713 pub const fn as_raw(self) -> i32 { in as_raw()
1714 self.0 in as_raw()
1718 pub const CLONE: Self = Self(0);
1719 pub const COMPACT: Self = Self(1);
1720 pub const SERIALIZE: Self = Self(2);
1721 pub const DESERIALIZE: Self = Self(3);
1728 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1731 pub const fn as_raw(self) -> i32 { in as_raw()
1732 self.0 in as_raw()
1736 pub const BUILD: Self = Self(0);
1737 pub const UPDATE: Self = Self(1);
1744 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1747 pub const fn as_raw(self) -> i32 { in as_raw()
1748 self.0 in as_raw()
1752 pub const TOP_LEVEL: Self = Self(0);
1753 pub const BOTTOM_LEVEL: Self = Self(1);
1754 pub const GENERIC: Self = Self(2);
1761 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1764 pub const fn as_raw(self) -> i32 { in as_raw()
1765 self.0 in as_raw()
1769 pub const TRIANGLES: Self = Self(0);
1770 pub const AABBS: Self = Self(1);
1771 pub const INSTANCES: Self = Self(2);
1778 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1781 pub const fn as_raw(self) -> i32 { in as_raw()
1782 self.0 in as_raw()
1786 pub const OBJECT: Self = Self(0);
1787 pub const BUILD_SCRATCH: Self = Self(1);
1788 pub const UPDATE_SCRATCH: Self = Self(2);
1795 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1798 pub const fn as_raw(self) -> i32 { in as_raw()
1799 self.0 in as_raw()
1803 pub const HOST: Self = Self(0);
1804 pub const DEVICE: Self = Self(1);
1805 pub const HOST_OR_DEVICE: Self = Self(2);
1812 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1815 pub const fn as_raw(self) -> i32 { in as_raw()
1816 self.0 in as_raw()
1820 pub const GENERAL: Self = Self(0);
1821 pub const TRIANGLES_HIT_GROUP: Self = Self(1);
1822 pub const PROCEDURAL_HIT_GROUP: Self = Self(2);
1829 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1832 pub const fn as_raw(self) -> i32 { in as_raw()
1833 self.0 in as_raw()
1837 pub const COMPATIBLE: Self = Self(0);
1838 pub const INCOMPATIBLE: Self = Self(1);
1845 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1848 pub const fn as_raw(self) -> i32 { in as_raw()
1849 self.0 in as_raw()
1853 pub const GENERAL: Self = Self(0);
1854 pub const CLOSEST_HIT: Self = Self(1);
1855 pub const ANY_HIT: Self = Self(2);
1856 pub const INTERSECTION: Self = Self(3);
1863 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1866 pub const fn as_raw(self) -> i32 { in as_raw()
1867 self.0 in as_raw()
1871 pub const DEFAULT: Self = Self(0);
1872 pub const ALLOWED: Self = Self(1);
1873 pub const DISALLOWED: Self = Self(2);
1880 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1883 pub const fn as_raw(self) -> i32 { in as_raw()
1884 self.0 in as_raw()
1888 pub const DEVICE: Self = Self(1);
1889 pub const WORKGROUP: Self = Self(2);
1890 pub const SUBGROUP: Self = Self(3);
1891 pub const QUEUE_FAMILY: Self = Self(5);
1898 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1901 pub const fn as_raw(self) -> i32 { in as_raw()
1902 self.0 in as_raw()
1906 pub const FLOAT16: Self = Self(0);
1907 pub const FLOAT32: Self = Self(1);
1908 pub const FLOAT64: Self = Self(2);
1909 pub const SINT8: Self = Self(3);
1910 pub const SINT16: Self = Self(4);
1911 pub const SINT32: Self = Self(5);
1912 pub const SINT64: Self = Self(6);
1913 pub const UINT8: Self = Self(7);
1914 pub const UINT16: Self = Self(8);
1915 pub const UINT32: Self = Self(9);
1916 pub const UINT64: Self = Self(10);
1923 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1926 pub const fn as_raw(self) -> i32 { in as_raw()
1927 self.0 in as_raw()
1931 pub const DEFAULT: Self = Self(0);
1932 pub const ALLOWED: Self = Self(1);
1933 pub const DISALLOWED: Self = Self(2);
1934 pub const APPLICATION_CONTROLLED: Self = Self(3);
1941 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1944 pub const fn as_raw(self) -> i32 { in as_raw()
1945 self.0 in as_raw()
1949 pub const COMMAND_BUFFER: Self = Self(0);
1950 pub const RENDER_PASS: Self = Self(1);
1951 pub const COMMAND: Self = Self(2);
1952 pub const QUERY_SCOPE_COMMAND_BUFFER: Self = Self::COMMAND_BUFFER;
1953 pub const QUERY_SCOPE_RENDER_PASS: Self = Self::RENDER_PASS;
1954 pub const QUERY_SCOPE_COMMAND: Self = Self::COMMAND;
1961 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1964 pub const fn as_raw(self) -> i32 { in as_raw()
1965 self.0 in as_raw()
1969 pub const GENERIC: Self = Self(0);
1970 pub const PERCENTAGE: Self = Self(1);
1971 pub const NANOSECONDS: Self = Self(2);
1972 pub const BYTES: Self = Self(3);
1973 pub const BYTES_PER_SECOND: Self = Self(4);
1974 pub const KELVIN: Self = Self(5);
1975 pub const WATTS: Self = Self(6);
1976 pub const VOLTS: Self = Self(7);
1977 pub const AMPS: Self = Self(8);
1978 pub const HERTZ: Self = Self(9);
1979 pub const CYCLES: Self = Self(10);
1986 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
1989 pub const fn as_raw(self) -> i32 { in as_raw()
1990 self.0 in as_raw()
1994 pub const INT32: Self = Self(0);
1995 pub const INT64: Self = Self(1);
1996 pub const UINT32: Self = Self(2);
1997 pub const UINT64: Self = Self(3);
1998 pub const FLOAT32: Self = Self(4);
1999 pub const FLOAT64: Self = Self(5);
2006 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2009 pub const fn as_raw(self) -> i32 { in as_raw()
2010 self.0 in as_raw()
2014 pub const COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED: Self = Self(0);
2021 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2024 pub const fn as_raw(self) -> i32 { in as_raw()
2025 self.0 in as_raw()
2029 pub const MANUAL: Self = Self(0);
2036 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2039 pub const fn as_raw(self) -> i32 { in as_raw()
2040 self.0 in as_raw()
2044 pub const NULL_HARDWARE: Self = Self(0);
2045 pub const FLUSH_GPU_CACHES: Self = Self(1);
2052 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2055 pub const fn as_raw(self) -> i32 { in as_raw()
2056 self.0 in as_raw()
2060 pub const HW_COUNTERS_SUPPORTED: Self = Self(0);
2061 pub const STREAM_MARKER_VALIDS: Self = Self(1);
2068 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2071 pub const fn as_raw(self) -> i32 { in as_raw()
2072 self.0 in as_raw()
2076 pub const UINT32: Self = Self(0);
2077 pub const UINT64: Self = Self(1);
2078 pub const FLOAT: Self = Self(2);
2079 pub const BOOL: Self = Self(3);
2080 pub const STRING: Self = Self(4);
2087 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2090 pub const fn as_raw(self) -> i32 { in as_raw()
2091 self.0 in as_raw()
2095 pub const TYPE_32_ONLY: Self = Self(0);
2096 pub const ALL: Self = Self(1);
2097 pub const NONE: Self = Self(2);
2104 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2107 pub const fn as_raw(self) -> i32 { in as_raw()
2108 self.0 in as_raw()
2112 pub const BOOL32: Self = Self(0);
2113 pub const INT64: Self = Self(1);
2114 pub const UINT64: Self = Self(2);
2115 pub const FLOAT64: Self = Self(3);
2122 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2125 pub const fn as_raw(self) -> i32 { in as_raw()
2126 self.0 in as_raw()
2130 pub const DEFAULT: Self = Self(0);
2131 pub const RECTANGULAR: Self = Self(1);
2132 pub const BRESENHAM: Self = Self(2);
2133 pub const RECTANGULAR_SMOOTH: Self = Self(3);
2140 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2143 pub const fn as_raw(self) -> i32 { in as_raw()
2144 self.0 in as_raw()
2148 pub const KEEP: Self = Self(0);
2149 pub const REPLACE: Self = Self(1);
2150 pub const MIN: Self = Self(2);
2151 pub const MAX: Self = Self(3);
2152 pub const MUL: Self = Self(4);
2159 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2162 pub const fn as_raw(self) -> i32 { in as_raw()
2163 self.0 in as_raw()
2167 pub const TYPE_1_INVOCATION_PER_PIXEL: Self = Self(0);
2168 pub const TYPE_1_INVOCATION_PER_1X2_PIXELS: Self = Self(1);
2169 pub const TYPE_1_INVOCATION_PER_2X1_PIXELS: Self = Self(4);
2170 pub const TYPE_1_INVOCATION_PER_2X2_PIXELS: Self = Self(5);
2171 pub const TYPE_1_INVOCATION_PER_2X4_PIXELS: Self = Self(6);
2172 pub const TYPE_1_INVOCATION_PER_4X2_PIXELS: Self = Self(9);
2173 pub const TYPE_1_INVOCATION_PER_4X4_PIXELS: Self = Self(10);
2174 pub const TYPE_2_INVOCATIONS_PER_PIXEL: Self = Self(11);
2175 pub const TYPE_4_INVOCATIONS_PER_PIXEL: Self = Self(12);
2176 pub const TYPE_8_INVOCATIONS_PER_PIXEL: Self = Self(13);
2177 pub const TYPE_16_INVOCATIONS_PER_PIXEL: Self = Self(14);
2178 pub const NO_INVOCATIONS: Self = Self(15);
2185 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2188 pub const fn as_raw(self) -> i32 { in as_raw()
2189 self.0 in as_raw()
2193 pub const FRAGMENT_SIZE: Self = Self(0);
2194 pub const ENUMS: Self = Self(1);
2201 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2204 pub const fn as_raw(self) -> i32 { in as_raw()
2205 self.0 in as_raw()
2209 pub const FIRST_VERTEX: Self = Self(0);
2210 pub const LAST_VERTEX: Self = Self(1);
2217 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2220 pub const fn as_raw(self) -> i32 { in as_raw()
2221 self.0 in as_raw()
2225 pub const STATIC: Self = Self(0);
2226 pub const MATRIX_MOTION: Self = Self(1);
2227 pub const SRT_MOTION: Self = Self(2);
2234 pub const fn from_raw(x: i32) -> Self { in from_raw() argument
2237 pub const fn as_raw(self) -> i32 { in as_raw()
2238 self.0 in as_raw()
2242 pub const ERROR: Self = Self(-1);
2243 pub const NOT_READY: Self = Self(0);
2244 pub const COMPLETE: Self = Self(1);