https://github.com/chaoticbob/SPIRV-Reflect/blob/master/spirv_reflect.h
let bindings = bindgen::Builder::default()
.header("spirv_reflect.h")
.rustfmt_bindings(true)
.layout_tests(false)
.generate()
.expect("Unable to generate bindings!");
bindings
.write_to_file(std::path::Path::new(output.rs))
.expect("Unable to write bindings!");
It doesn't make any difference if I use this with .rustfmt_bindings(true) or .rustfmt_bindings(false) for the constants defined at the top of the file. They are all on one line.
I am on the 0.43.1 version.
I would have expected the file to look like it does after I run rustfmt on it (in vscode with rls), with every constant on a new line.
This is probably a rustfmt bug, since we just literally run the rustfmt binary on the output, could you attach the unformatted output to this issue?
The generate file with rustfmt_bindings(true)
/* automatically generated by rust-bindgen */
pub const SPV_VERSION : u32 = 66304 ; pub const SPV_REVISION : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __DARWIN_ONLY_64_BIT_INO_T : u32 = 0 ; pub const __DARWIN_ONLY_VERS_1050 : u32 = 0 ; pub const __DARWIN_ONLY_UNIX_CONFORMANCE : u32 = 1 ; pub const __DARWIN_UNIX03 : u32 = 1 ; pub const __DARWIN_64_BIT_INO_T : u32 = 1 ; pub const __DARWIN_VERS_1050 : u32 = 1 ; pub const __DARWIN_NON_CANCELABLE : u32 = 0 ; pub const __DARWIN_SUF_64_BIT_INO_T : & 'static [ u8 ; 9usize ] = b"$INODE64\0" ; pub const __DARWIN_SUF_1050 : & 'static [ u8 ; 6usize ] = b"$1050\0" ; pub const __DARWIN_SUF_EXTSN : & 'static [ u8 ; 14usize ] = b"$DARWIN_EXTSN\0" ; pub const __DARWIN_C_ANSI : u32 = 4096 ; pub const __DARWIN_C_FULL : u32 = 900000 ; pub const __DARWIN_C_LEVEL : u32 = 900000 ; pub const __STDC_WANT_LIB_EXT1__ : u32 = 1 ; pub const __DARWIN_NO_LONG_LONG : u32 = 0 ; pub const _DARWIN_FEATURE_64_BIT_INODE : u32 = 1 ; pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE : u32 = 1 ; pub const _DARWIN_FEATURE_UNIX_CONFORMANCE : u32 = 3 ; pub const __PTHREAD_SIZE__ : u32 = 8176 ; pub const __PTHREAD_ATTR_SIZE__ : u32 = 56 ; pub const __PTHREAD_MUTEXATTR_SIZE__ : u32 = 8 ; pub const __PTHREAD_MUTEX_SIZE__ : u32 = 56 ; pub const __PTHREAD_CONDATTR_SIZE__ : u32 = 8 ; pub const __PTHREAD_COND_SIZE__ : u32 = 40 ; pub const __PTHREAD_ONCE_SIZE__ : u32 = 8 ; pub const __PTHREAD_RWLOCK_SIZE__ : u32 = 192 ; pub const __PTHREAD_RWLOCKATTR_SIZE__ : u32 = 16 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const INT64_MAX : u64 = 9223372036854775807 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT64_MIN : i64 = -9223372036854775808 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const UINT64_MAX : i32 = -1 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST64_MIN : i64 = -9223372036854775808 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const INT_LEAST64_MAX : u64 = 9223372036854775807 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const UINT_LEAST64_MAX : i32 = -1 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i32 = -32768 ; pub const INT_FAST32_MIN : i32 = -2147483648 ; pub const INT_FAST64_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u32 = 32767 ; pub const INT_FAST32_MAX : u32 = 2147483647 ; pub const INT_FAST64_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : u32 = 65535 ; pub const UINT_FAST32_MAX : u32 = 4294967295 ; pub const UINT_FAST64_MAX : i32 = -1 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const UINTPTR_MAX : i32 = -1 ; pub const INTMAX_MIN : i64 = -9223372036854775808 ; pub const INTMAX_MAX : u64 = 9223372036854775807 ; pub const UINTMAX_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIZE_MAX : i32 = -1 ; pub const RSIZE_MAX : i32 = -1 ; pub const WINT_MIN : i32 = -2147483648 ; pub const WINT_MAX : u32 = 2147483647 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const __DARWIN_WCHAR_MIN : i32 = -2147483648 ; pub const _FORTIFY_SOURCE : u32 = 2 ; pub const __MAC_10_0 : u32 = 1000 ; pub const __MAC_10_1 : u32 = 1010 ; pub const __MAC_10_2 : u32 = 1020 ; pub const __MAC_10_3 : u32 = 1030 ; pub const __MAC_10_4 : u32 = 1040 ; pub const __MAC_10_5 : u32 = 1050 ; pub const __MAC_10_6 : u32 = 1060 ; pub const __MAC_10_7 : u32 = 1070 ; pub const __MAC_10_8 : u32 = 1080 ; pub const __MAC_10_9 : u32 = 1090 ; pub const __MAC_10_10 : u32 = 101000 ; pub const __MAC_10_10_2 : u32 = 101002 ; pub const __MAC_10_10_3 : u32 = 101003 ; pub const __MAC_10_11 : u32 = 101100 ; pub const __MAC_10_11_2 : u32 = 101102 ; pub const __MAC_10_11_3 : u32 = 101103 ; pub const __MAC_10_11_4 : u32 = 101104 ; pub const __MAC_10_12 : u32 = 101200 ; pub const __MAC_10_12_1 : u32 = 101201 ; pub const __MAC_10_12_2 : u32 = 101202 ; pub const __MAC_10_12_4 : u32 = 101204 ; pub const __MAC_10_13 : u32 = 101300 ; pub const __MAC_10_13_1 : u32 = 101301 ; pub const __MAC_10_13_2 : u32 = 101302 ; pub const __MAC_10_13_4 : u32 = 101304 ; pub const __IPHONE_2_0 : u32 = 20000 ; pub const __IPHONE_2_1 : u32 = 20100 ; pub const __IPHONE_2_2 : u32 = 20200 ; pub const __IPHONE_3_0 : u32 = 30000 ; pub const __IPHONE_3_1 : u32 = 30100 ; pub const __IPHONE_3_2 : u32 = 30200 ; pub const __IPHONE_4_0 : u32 = 40000 ; pub const __IPHONE_4_1 : u32 = 40100 ; pub const __IPHONE_4_2 : u32 = 40200 ; pub const __IPHONE_4_3 : u32 = 40300 ; pub const __IPHONE_5_0 : u32 = 50000 ; pub const __IPHONE_5_1 : u32 = 50100 ; pub const __IPHONE_6_0 : u32 = 60000 ; pub const __IPHONE_6_1 : u32 = 60100 ; pub const __IPHONE_7_0 : u32 = 70000 ; pub const __IPHONE_7_1 : u32 = 70100 ; pub const __IPHONE_8_0 : u32 = 80000 ; pub const __IPHONE_8_1 : u32 = 80100 ; pub const __IPHONE_8_2 : u32 = 80200 ; pub const __IPHONE_8_3 : u32 = 80300 ; pub const __IPHONE_8_4 : u32 = 80400 ; pub const __IPHONE_9_0 : u32 = 90000 ; pub const __IPHONE_9_1 : u32 = 90100 ; pub const __IPHONE_9_2 : u32 = 90200 ; pub const __IPHONE_9_3 : u32 = 90300 ; pub const __IPHONE_10_0 : u32 = 100000 ; pub const __IPHONE_10_1 : u32 = 100100 ; pub const __IPHONE_10_2 : u32 = 100200 ; pub const __IPHONE_10_3 : u32 = 100300 ; pub const __IPHONE_11_0 : u32 = 110000 ; pub const __IPHONE_11_1 : u32 = 110100 ; pub const __IPHONE_11_2 : u32 = 110200 ; pub const __IPHONE_11_3 : u32 = 110300 ; pub const __TVOS_9_0 : u32 = 90000 ; pub const __TVOS_9_1 : u32 = 90100 ; pub const __TVOS_9_2 : u32 = 90200 ; pub const __TVOS_10_0 : u32 = 100000 ; pub const __TVOS_10_0_1 : u32 = 100001 ; pub const __TVOS_10_1 : u32 = 100100 ; pub const __TVOS_10_2 : u32 = 100200 ; pub const __TVOS_11_0 : u32 = 110000 ; pub const __TVOS_11_1 : u32 = 110100 ; pub const __TVOS_11_2 : u32 = 110200 ; pub const __TVOS_11_3 : u32 = 110300 ; pub const __WATCHOS_1_0 : u32 = 10000 ; pub const __WATCHOS_2_0 : u32 = 20000 ; pub const __WATCHOS_2_1 : u32 = 20100 ; pub const __WATCHOS_2_2 : u32 = 20200 ; pub const __WATCHOS_3_0 : u32 = 30000 ; pub const __WATCHOS_3_1 : u32 = 30100 ; pub const __WATCHOS_3_1_1 : u32 = 30101 ; pub const __WATCHOS_3_2 : u32 = 30200 ; pub const __WATCHOS_4_0 : u32 = 40000 ; pub const __WATCHOS_4_1 : u32 = 40100 ; pub const __WATCHOS_4_2 : u32 = 40200 ; pub const __WATCHOS_4_3 : u32 = 40300 ; pub const __MAC_OS_X_VERSION_MAX_ALLOWED : u32 = 101304 ; pub const _USE_FORTIFY_LEVEL : u32 = 2 ; pub const __HAS_FIXED_CHK_PROTOTYPES : u32 = 1 ; pub type SpvId = :: std :: os :: raw :: c_uint ; pub const SpvMagicNumber : :: std :: os :: raw :: c_uint = 119734787 ; pub const SpvVersion : :: std :: os :: raw :: c_uint = 66304 ; pub const SpvRevision : :: std :: os :: raw :: c_uint = 1 ; pub const SpvOpCodeMask : :: std :: os :: raw :: c_uint = 65535 ; pub const SpvWordCountShift : :: std :: os :: raw :: c_uint = 16 ; pub const SpvSourceLanguage__SpvSourceLanguageUnknown : SpvSourceLanguage_ = 0 ; pub const SpvSourceLanguage__SpvSourceLanguageESSL : SpvSourceLanguage_ = 1 ; pub const SpvSourceLanguage__SpvSourceLanguageGLSL : SpvSourceLanguage_ = 2 ; pub const SpvSourceLanguage__SpvSourceLanguageOpenCL_C : SpvSourceLanguage_ = 3 ; pub const SpvSourceLanguage__SpvSourceLanguageOpenCL_CPP : SpvSourceLanguage_ = 4 ; pub const SpvSourceLanguage__SpvSourceLanguageHLSL : SpvSourceLanguage_ = 5 ; pub const SpvSourceLanguage__SpvSourceLanguageMax : SpvSourceLanguage_ = 2147483647 ; pub type SpvSourceLanguage_ = u32 ; pub use self :: SpvSourceLanguage_ as SpvSourceLanguage ; pub const SpvExecutionModel__SpvExecutionModelVertex : SpvExecutionModel_ = 0 ; pub const SpvExecutionModel__SpvExecutionModelTessellationControl : SpvExecutionModel_ = 1 ; pub const SpvExecutionModel__SpvExecutionModelTessellationEvaluation : SpvExecutionModel_ = 2 ; pub const SpvExecutionModel__SpvExecutionModelGeometry : SpvExecutionModel_ = 3 ; pub const SpvExecutionModel__SpvExecutionModelFragment : SpvExecutionModel_ = 4 ; pub const SpvExecutionModel__SpvExecutionModelGLCompute : SpvExecutionModel_ = 5 ; pub const SpvExecutionModel__SpvExecutionModelKernel : SpvExecutionModel_ = 6 ; pub const SpvExecutionModel__SpvExecutionModelMax : SpvExecutionModel_ = 2147483647 ; pub type SpvExecutionModel_ = u32 ; pub use self :: SpvExecutionModel_ as SpvExecutionModel ; pub const SpvAddressingModel__SpvAddressingModelLogical : SpvAddressingModel_ = 0 ; pub const SpvAddressingModel__SpvAddressingModelPhysical32 : SpvAddressingModel_ = 1 ; pub const SpvAddressingModel__SpvAddressingModelPhysical64 : SpvAddressingModel_ = 2 ; pub const SpvAddressingModel__SpvAddressingModelMax : SpvAddressingModel_ = 2147483647 ; pub type SpvAddressingModel_ = u32 ; pub use self :: SpvAddressingModel_ as SpvAddressingModel ; pub const SpvMemoryModel__SpvMemoryModelSimple : SpvMemoryModel_ = 0 ; pub const SpvMemoryModel__SpvMemoryModelGLSL450 : SpvMemoryModel_ = 1 ; pub const SpvMemoryModel__SpvMemoryModelOpenCL : SpvMemoryModel_ = 2 ; pub const SpvMemoryModel__SpvMemoryModelMax : SpvMemoryModel_ = 2147483647 ; pub type SpvMemoryModel_ = u32 ; pub use self :: SpvMemoryModel_ as SpvMemoryModel ; pub const SpvExecutionMode__SpvExecutionModeInvocations : SpvExecutionMode_ = 0 ; pub const SpvExecutionMode__SpvExecutionModeSpacingEqual : SpvExecutionMode_ = 1 ; pub const SpvExecutionMode__SpvExecutionModeSpacingFractionalEven : SpvExecutionMode_ = 2 ; pub const SpvExecutionMode__SpvExecutionModeSpacingFractionalOdd : SpvExecutionMode_ = 3 ; pub const SpvExecutionMode__SpvExecutionModeVertexOrderCw : SpvExecutionMode_ = 4 ; pub const SpvExecutionMode__SpvExecutionModeVertexOrderCcw : SpvExecutionMode_ = 5 ; pub const SpvExecutionMode__SpvExecutionModePixelCenterInteger : SpvExecutionMode_ = 6 ; pub const SpvExecutionMode__SpvExecutionModeOriginUpperLeft : SpvExecutionMode_ = 7 ; pub const SpvExecutionMode__SpvExecutionModeOriginLowerLeft : SpvExecutionMode_ = 8 ; pub const SpvExecutionMode__SpvExecutionModeEarlyFragmentTests : SpvExecutionMode_ = 9 ; pub const SpvExecutionMode__SpvExecutionModePointMode : SpvExecutionMode_ = 10 ; pub const SpvExecutionMode__SpvExecutionModeXfb : SpvExecutionMode_ = 11 ; pub const SpvExecutionMode__SpvExecutionModeDepthReplacing : SpvExecutionMode_ = 12 ; pub const SpvExecutionMode__SpvExecutionModeDepthGreater : SpvExecutionMode_ = 14 ; pub const SpvExecutionMode__SpvExecutionModeDepthLess : SpvExecutionMode_ = 15 ; pub const SpvExecutionMode__SpvExecutionModeDepthUnchanged : SpvExecutionMode_ = 16 ; pub const SpvExecutionMode__SpvExecutionModeLocalSize : SpvExecutionMode_ = 17 ; pub const SpvExecutionMode__SpvExecutionModeLocalSizeHint : SpvExecutionMode_ = 18 ; pub const SpvExecutionMode__SpvExecutionModeInputPoints : SpvExecutionMode_ = 19 ; pub const SpvExecutionMode__SpvExecutionModeInputLines : SpvExecutionMode_ = 20 ; pub const SpvExecutionMode__SpvExecutionModeInputLinesAdjacency : SpvExecutionMode_ = 21 ; pub const SpvExecutionMode__SpvExecutionModeTriangles : SpvExecutionMode_ = 22 ; pub const SpvExecutionMode__SpvExecutionModeInputTrianglesAdjacency : SpvExecutionMode_ = 23 ; pub const SpvExecutionMode__SpvExecutionModeQuads : SpvExecutionMode_ = 24 ; pub const SpvExecutionMode__SpvExecutionModeIsolines : SpvExecutionMode_ = 25 ; pub const SpvExecutionMode__SpvExecutionModeOutputVertices : SpvExecutionMode_ = 26 ; pub const SpvExecutionMode__SpvExecutionModeOutputPoints : SpvExecutionMode_ = 27 ; pub const SpvExecutionMode__SpvExecutionModeOutputLineStrip : SpvExecutionMode_ = 28 ; pub const SpvExecutionMode__SpvExecutionModeOutputTriangleStrip : SpvExecutionMode_ = 29 ; pub const SpvExecutionMode__SpvExecutionModeVecTypeHint : SpvExecutionMode_ = 30 ; pub const SpvExecutionMode__SpvExecutionModeContractionOff : SpvExecutionMode_ = 31 ; pub const SpvExecutionMode__SpvExecutionModeInitializer : SpvExecutionMode_ = 33 ; pub const SpvExecutionMode__SpvExecutionModeFinalizer : SpvExecutionMode_ = 34 ; pub const SpvExecutionMode__SpvExecutionModeSubgroupSize : SpvExecutionMode_ = 35 ; pub const SpvExecutionMode__SpvExecutionModeSubgroupsPerWorkgroup : SpvExecutionMode_ = 36 ; pub const SpvExecutionMode__SpvExecutionModeSubgroupsPerWorkgroupId : SpvExecutionMode_ = 37 ; pub const SpvExecutionMode__SpvExecutionModeLocalSizeId : SpvExecutionMode_ = 38 ; pub const SpvExecutionMode__SpvExecutionModeLocalSizeHintId : SpvExecutionMode_ = 39 ; pub const SpvExecutionMode__SpvExecutionModePostDepthCoverage : SpvExecutionMode_ = 4446 ; pub const SpvExecutionMode__SpvExecutionModeStencilRefReplacingEXT : SpvExecutionMode_ = 5027 ; pub const SpvExecutionMode__SpvExecutionModeMax : SpvExecutionMode_ = 2147483647 ; pub type SpvExecutionMode_ = u32 ; pub use self :: SpvExecutionMode_ as SpvExecutionMode ; pub const SpvStorageClass__SpvStorageClassUniformConstant : SpvStorageClass_ = 0 ; pub const SpvStorageClass__SpvStorageClassInput : SpvStorageClass_ = 1 ; pub const SpvStorageClass__SpvStorageClassUniform : SpvStorageClass_ = 2 ; pub const SpvStorageClass__SpvStorageClassOutput : SpvStorageClass_ = 3 ; pub const SpvStorageClass__SpvStorageClassWorkgroup : SpvStorageClass_ = 4 ; pub const SpvStorageClass__SpvStorageClassCrossWorkgroup : SpvStorageClass_ = 5 ; pub const SpvStorageClass__SpvStorageClassPrivate : SpvStorageClass_ = 6 ; pub const SpvStorageClass__SpvStorageClassFunction : SpvStorageClass_ = 7 ; pub const SpvStorageClass__SpvStorageClassGeneric : SpvStorageClass_ = 8 ; pub const SpvStorageClass__SpvStorageClassPushConstant : SpvStorageClass_ = 9 ; pub const SpvStorageClass__SpvStorageClassAtomicCounter : SpvStorageClass_ = 10 ; pub const SpvStorageClass__SpvStorageClassImage : SpvStorageClass_ = 11 ; pub const SpvStorageClass__SpvStorageClassStorageBuffer : SpvStorageClass_ = 12 ; pub const SpvStorageClass__SpvStorageClassMax : SpvStorageClass_ = 2147483647 ; pub type SpvStorageClass_ = u32 ; pub use self :: SpvStorageClass_ as SpvStorageClass ; pub const SpvDim__SpvDim1D : SpvDim_ = 0 ; pub const SpvDim__SpvDim2D : SpvDim_ = 1 ; pub const SpvDim__SpvDim3D : SpvDim_ = 2 ; pub const SpvDim__SpvDimCube : SpvDim_ = 3 ; pub const SpvDim__SpvDimRect : SpvDim_ = 4 ; pub const SpvDim__SpvDimBuffer : SpvDim_ = 5 ; pub const SpvDim__SpvDimSubpassData : SpvDim_ = 6 ; pub const SpvDim__SpvDimMax : SpvDim_ = 2147483647 ; pub type SpvDim_ = u32 ; pub use self :: SpvDim_ as SpvDim ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeNone : SpvSamplerAddressingMode_ = 0 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeClampToEdge : SpvSamplerAddressingMode_ = 1 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeClamp : SpvSamplerAddressingMode_ = 2 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeRepeat : SpvSamplerAddressingMode_ = 3 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeRepeatMirrored : SpvSamplerAddressingMode_ = 4 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeMax : SpvSamplerAddressingMode_ = 2147483647 ; pub type SpvSamplerAddressingMode_ = u32 ; pub use self :: SpvSamplerAddressingMode_ as SpvSamplerAddressingMode ; pub const SpvSamplerFilterMode__SpvSamplerFilterModeNearest : SpvSamplerFilterMode_ = 0 ; pub const SpvSamplerFilterMode__SpvSamplerFilterModeLinear : SpvSamplerFilterMode_ = 1 ; pub const SpvSamplerFilterMode__SpvSamplerFilterModeMax : SpvSamplerFilterMode_ = 2147483647 ; pub type SpvSamplerFilterMode_ = u32 ; pub use self :: SpvSamplerFilterMode_ as SpvSamplerFilterMode ; pub const SpvImageFormat__SpvImageFormatUnknown : SpvImageFormat_ = 0 ; pub const SpvImageFormat__SpvImageFormatRgba32f : SpvImageFormat_ = 1 ; pub const SpvImageFormat__SpvImageFormatRgba16f : SpvImageFormat_ = 2 ; pub const SpvImageFormat__SpvImageFormatR32f : SpvImageFormat_ = 3 ; pub const SpvImageFormat__SpvImageFormatRgba8 : SpvImageFormat_ = 4 ; pub const SpvImageFormat__SpvImageFormatRgba8Snorm : SpvImageFormat_ = 5 ; pub const SpvImageFormat__SpvImageFormatRg32f : SpvImageFormat_ = 6 ; pub const SpvImageFormat__SpvImageFormatRg16f : SpvImageFormat_ = 7 ; pub const SpvImageFormat__SpvImageFormatR11fG11fB10f : SpvImageFormat_ = 8 ; pub const SpvImageFormat__SpvImageFormatR16f : SpvImageFormat_ = 9 ; pub const SpvImageFormat__SpvImageFormatRgba16 : SpvImageFormat_ = 10 ; pub const SpvImageFormat__SpvImageFormatRgb10A2 : SpvImageFormat_ = 11 ; pub const SpvImageFormat__SpvImageFormatRg16 : SpvImageFormat_ = 12 ; pub const SpvImageFormat__SpvImageFormatRg8 : SpvImageFormat_ = 13 ; pub const SpvImageFormat__SpvImageFormatR16 : SpvImageFormat_ = 14 ; pub const SpvImageFormat__SpvImageFormatR8 : SpvImageFormat_ = 15 ; pub const SpvImageFormat__SpvImageFormatRgba16Snorm : SpvImageFormat_ = 16 ; pub const SpvImageFormat__SpvImageFormatRg16Snorm : SpvImageFormat_ = 17 ; pub const SpvImageFormat__SpvImageFormatRg8Snorm : SpvImageFormat_ = 18 ; pub const SpvImageFormat__SpvImageFormatR16Snorm : SpvImageFormat_ = 19 ; pub const SpvImageFormat__SpvImageFormatR8Snorm : SpvImageFormat_ = 20 ; pub const SpvImageFormat__SpvImageFormatRgba32i : SpvImageFormat_ = 21 ; pub const SpvImageFormat__SpvImageFormatRgba16i : SpvImageFormat_ = 22 ; pub const SpvImageFormat__SpvImageFormatRgba8i : SpvImageFormat_ = 23 ; pub const SpvImageFormat__SpvImageFormatR32i : SpvImageFormat_ = 24 ; pub const SpvImageFormat__SpvImageFormatRg32i : SpvImageFormat_ = 25 ; pub const SpvImageFormat__SpvImageFormatRg16i : SpvImageFormat_ = 26 ; pub const SpvImageFormat__SpvImageFormatRg8i : SpvImageFormat_ = 27 ; pub const SpvImageFormat__SpvImageFormatR16i : SpvImageFormat_ = 28 ; pub const SpvImageFormat__SpvImageFormatR8i : SpvImageFormat_ = 29 ; pub const SpvImageFormat__SpvImageFormatRgba32ui : SpvImageFormat_ = 30 ; pub const SpvImageFormat__SpvImageFormatRgba16ui : SpvImageFormat_ = 31 ; pub const SpvImageFormat__SpvImageFormatRgba8ui : SpvImageFormat_ = 32 ; pub const SpvImageFormat__SpvImageFormatR32ui : SpvImageFormat_ = 33 ; pub const SpvImageFormat__SpvImageFormatRgb10a2ui : SpvImageFormat_ = 34 ; pub const SpvImageFormat__SpvImageFormatRg32ui : SpvImageFormat_ = 35 ; pub const SpvImageFormat__SpvImageFormatRg16ui : SpvImageFormat_ = 36 ; pub const SpvImageFormat__SpvImageFormatRg8ui : SpvImageFormat_ = 37 ; pub const SpvImageFormat__SpvImageFormatR16ui : SpvImageFormat_ = 38 ; pub const SpvImageFormat__SpvImageFormatR8ui : SpvImageFormat_ = 39 ; pub const SpvImageFormat__SpvImageFormatMax : SpvImageFormat_ = 2147483647 ; pub type SpvImageFormat_ = u32 ; pub use self :: SpvImageFormat_ as SpvImageFormat ; pub const SpvImageChannelOrder__SpvImageChannelOrderR : SpvImageChannelOrder_ = 0 ; pub const SpvImageChannelOrder__SpvImageChannelOrderA : SpvImageChannelOrder_ = 1 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRG : SpvImageChannelOrder_ = 2 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRA : SpvImageChannelOrder_ = 3 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRGB : SpvImageChannelOrder_ = 4 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRGBA : SpvImageChannelOrder_ = 5 ; pub const SpvImageChannelOrder__SpvImageChannelOrderBGRA : SpvImageChannelOrder_ = 6 ; pub const SpvImageChannelOrder__SpvImageChannelOrderARGB : SpvImageChannelOrder_ = 7 ; pub const SpvImageChannelOrder__SpvImageChannelOrderIntensity : SpvImageChannelOrder_ = 8 ; pub const SpvImageChannelOrder__SpvImageChannelOrderLuminance : SpvImageChannelOrder_ = 9 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRx : SpvImageChannelOrder_ = 10 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRGx : SpvImageChannelOrder_ = 11 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRGBx : SpvImageChannelOrder_ = 12 ; pub const SpvImageChannelOrder__SpvImageChannelOrderDepth : SpvImageChannelOrder_ = 13 ; pub const SpvImageChannelOrder__SpvImageChannelOrderDepthStencil : SpvImageChannelOrder_ = 14 ; pub const SpvImageChannelOrder__SpvImageChannelOrdersRGB : SpvImageChannelOrder_ = 15 ; pub const SpvImageChannelOrder__SpvImageChannelOrdersRGBx : SpvImageChannelOrder_ = 16 ; pub const SpvImageChannelOrder__SpvImageChannelOrdersRGBA : SpvImageChannelOrder_ = 17 ; pub const SpvImageChannelOrder__SpvImageChannelOrdersBGRA : SpvImageChannelOrder_ = 18 ; pub const SpvImageChannelOrder__SpvImageChannelOrderABGR : SpvImageChannelOrder_ = 19 ; pub const SpvImageChannelOrder__SpvImageChannelOrderMax : SpvImageChannelOrder_ = 2147483647 ; pub type SpvImageChannelOrder_ = u32 ; pub use self :: SpvImageChannelOrder_ as SpvImageChannelOrder ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSnormInt8 : SpvImageChannelDataType_ = 0 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSnormInt16 : SpvImageChannelDataType_ = 1 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt8 : SpvImageChannelDataType_ = 2 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt16 : SpvImageChannelDataType_ = 3 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormShort565 : SpvImageChannelDataType_ = 4 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormShort555 : SpvImageChannelDataType_ = 5 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt101010 : SpvImageChannelDataType_ = 6 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt8 : SpvImageChannelDataType_ = 7 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt16 : SpvImageChannelDataType_ = 8 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt32 : SpvImageChannelDataType_ = 9 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt8 : SpvImageChannelDataType_ = 10 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt16 : SpvImageChannelDataType_ = 11 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt32 : SpvImageChannelDataType_ = 12 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeHalfFloat : SpvImageChannelDataType_ = 13 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeFloat : SpvImageChannelDataType_ = 14 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt24 : SpvImageChannelDataType_ = 15 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt101010_2 : SpvImageChannelDataType_ = 16 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeMax : SpvImageChannelDataType_ = 2147483647 ; pub type SpvImageChannelDataType_ = u32 ; pub use self :: SpvImageChannelDataType_ as SpvImageChannelDataType ; pub const SpvImageOperandsShift__SpvImageOperandsBiasShift : SpvImageOperandsShift_ = 0 ; pub const SpvImageOperandsShift__SpvImageOperandsLodShift : SpvImageOperandsShift_ = 1 ; pub const SpvImageOperandsShift__SpvImageOperandsGradShift : SpvImageOperandsShift_ = 2 ; pub const SpvImageOperandsShift__SpvImageOperandsConstOffsetShift : SpvImageOperandsShift_ = 3 ; pub const SpvImageOperandsShift__SpvImageOperandsOffsetShift : SpvImageOperandsShift_ = 4 ; pub const SpvImageOperandsShift__SpvImageOperandsConstOffsetsShift : SpvImageOperandsShift_ = 5 ; pub const SpvImageOperandsShift__SpvImageOperandsSampleShift : SpvImageOperandsShift_ = 6 ; pub const SpvImageOperandsShift__SpvImageOperandsMinLodShift : SpvImageOperandsShift_ = 7 ; pub const SpvImageOperandsShift__SpvImageOperandsMax : SpvImageOperandsShift_ = 2147483647 ; pub type SpvImageOperandsShift_ = u32 ; pub use self :: SpvImageOperandsShift_ as SpvImageOperandsShift ; pub const SpvImageOperandsMask__SpvImageOperandsMaskNone : SpvImageOperandsMask_ = 0 ; pub const SpvImageOperandsMask__SpvImageOperandsBiasMask : SpvImageOperandsMask_ = 1 ; pub const SpvImageOperandsMask__SpvImageOperandsLodMask : SpvImageOperandsMask_ = 2 ; pub const SpvImageOperandsMask__SpvImageOperandsGradMask : SpvImageOperandsMask_ = 4 ; pub const SpvImageOperandsMask__SpvImageOperandsConstOffsetMask : SpvImageOperandsMask_ = 8 ; pub const SpvImageOperandsMask__SpvImageOperandsOffsetMask : SpvImageOperandsMask_ = 16 ; pub const SpvImageOperandsMask__SpvImageOperandsConstOffsetsMask : SpvImageOperandsMask_ = 32 ; pub const SpvImageOperandsMask__SpvImageOperandsSampleMask : SpvImageOperandsMask_ = 64 ; pub const SpvImageOperandsMask__SpvImageOperandsMinLodMask : SpvImageOperandsMask_ = 128 ; pub type SpvImageOperandsMask_ = u32 ; pub use self :: SpvImageOperandsMask_ as SpvImageOperandsMask ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeNotNaNShift : SpvFPFastMathModeShift_ = 0 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeNotInfShift : SpvFPFastMathModeShift_ = 1 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeNSZShift : SpvFPFastMathModeShift_ = 2 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeAllowRecipShift : SpvFPFastMathModeShift_ = 3 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeFastShift : SpvFPFastMathModeShift_ = 4 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeMax : SpvFPFastMathModeShift_ = 2147483647 ; pub type SpvFPFastMathModeShift_ = u32 ; pub use self :: SpvFPFastMathModeShift_ as SpvFPFastMathModeShift ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeMaskNone : SpvFPFastMathModeMask_ = 0 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeNotNaNMask : SpvFPFastMathModeMask_ = 1 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeNotInfMask : SpvFPFastMathModeMask_ = 2 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeNSZMask : SpvFPFastMathModeMask_ = 4 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeAllowRecipMask : SpvFPFastMathModeMask_ = 8 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeFastMask : SpvFPFastMathModeMask_ = 16 ; pub type SpvFPFastMathModeMask_ = u32 ; pub use self :: SpvFPFastMathModeMask_ as SpvFPFastMathModeMask ; pub const SpvFPRoundingMode__SpvFPRoundingModeRTE : SpvFPRoundingMode_ = 0 ; pub const SpvFPRoundingMode__SpvFPRoundingModeRTZ : SpvFPRoundingMode_ = 1 ; pub const SpvFPRoundingMode__SpvFPRoundingModeRTP : SpvFPRoundingMode_ = 2 ; pub const SpvFPRoundingMode__SpvFPRoundingModeRTN : SpvFPRoundingMode_ = 3 ; pub const SpvFPRoundingMode__SpvFPRoundingModeMax : SpvFPRoundingMode_ = 2147483647 ; pub type SpvFPRoundingMode_ = u32 ; pub use self :: SpvFPRoundingMode_ as SpvFPRoundingMode ; pub const SpvLinkageType__SpvLinkageTypeExport : SpvLinkageType_ = 0 ; pub const SpvLinkageType__SpvLinkageTypeImport : SpvLinkageType_ = 1 ; pub const SpvLinkageType__SpvLinkageTypeMax : SpvLinkageType_ = 2147483647 ; pub type SpvLinkageType_ = u32 ; pub use self :: SpvLinkageType_ as SpvLinkageType ; pub const SpvAccessQualifier__SpvAccessQualifierReadOnly : SpvAccessQualifier_ = 0 ; pub const SpvAccessQualifier__SpvAccessQualifierWriteOnly : SpvAccessQualifier_ = 1 ; pub const SpvAccessQualifier__SpvAccessQualifierReadWrite : SpvAccessQualifier_ = 2 ; pub const SpvAccessQualifier__SpvAccessQualifierMax : SpvAccessQualifier_ = 2147483647 ; pub type SpvAccessQualifier_ = u32 ; pub use self :: SpvAccessQualifier_ as SpvAccessQualifier ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeZext : SpvFunctionParameterAttribute_ = 0 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeSext : SpvFunctionParameterAttribute_ = 1 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeByVal : SpvFunctionParameterAttribute_ = 2 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeSret : SpvFunctionParameterAttribute_ = 3 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoAlias : SpvFunctionParameterAttribute_ = 4 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoCapture : SpvFunctionParameterAttribute_ = 5 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoWrite : SpvFunctionParameterAttribute_ = 6 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoReadWrite : SpvFunctionParameterAttribute_ = 7 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeMax : SpvFunctionParameterAttribute_ = 2147483647 ; pub type SpvFunctionParameterAttribute_ = u32 ; pub use self :: SpvFunctionParameterAttribute_ as SpvFunctionParameterAttribute ; pub const SpvDecoration__SpvDecorationRelaxedPrecision : SpvDecoration_ = 0 ; pub const SpvDecoration__SpvDecorationSpecId : SpvDecoration_ = 1 ; pub const SpvDecoration__SpvDecorationBlock : SpvDecoration_ = 2 ; pub const SpvDecoration__SpvDecorationBufferBlock : SpvDecoration_ = 3 ; pub const SpvDecoration__SpvDecorationRowMajor : SpvDecoration_ = 4 ; pub const SpvDecoration__SpvDecorationColMajor : SpvDecoration_ = 5 ; pub const SpvDecoration__SpvDecorationArrayStride : SpvDecoration_ = 6 ; pub const SpvDecoration__SpvDecorationMatrixStride : SpvDecoration_ = 7 ; pub const SpvDecoration__SpvDecorationGLSLShared : SpvDecoration_ = 8 ; pub const SpvDecoration__SpvDecorationGLSLPacked : SpvDecoration_ = 9 ; pub const SpvDecoration__SpvDecorationCPacked : SpvDecoration_ = 10 ; pub const SpvDecoration__SpvDecorationBuiltIn : SpvDecoration_ = 11 ; pub const SpvDecoration__SpvDecorationNoPerspective : SpvDecoration_ = 13 ; pub const SpvDecoration__SpvDecorationFlat : SpvDecoration_ = 14 ; pub const SpvDecoration__SpvDecorationPatch : SpvDecoration_ = 15 ; pub const SpvDecoration__SpvDecorationCentroid : SpvDecoration_ = 16 ; pub const SpvDecoration__SpvDecorationSample : SpvDecoration_ = 17 ; pub const SpvDecoration__SpvDecorationInvariant : SpvDecoration_ = 18 ; pub const SpvDecoration__SpvDecorationRestrict : SpvDecoration_ = 19 ; pub const SpvDecoration__SpvDecorationAliased : SpvDecoration_ = 20 ; pub const SpvDecoration__SpvDecorationVolatile : SpvDecoration_ = 21 ; pub const SpvDecoration__SpvDecorationConstant : SpvDecoration_ = 22 ; pub const SpvDecoration__SpvDecorationCoherent : SpvDecoration_ = 23 ; pub const SpvDecoration__SpvDecorationNonWritable : SpvDecoration_ = 24 ; pub const SpvDecoration__SpvDecorationNonReadable : SpvDecoration_ = 25 ; pub const SpvDecoration__SpvDecorationUniform : SpvDecoration_ = 26 ; pub const SpvDecoration__SpvDecorationSaturatedConversion : SpvDecoration_ = 28 ; pub const SpvDecoration__SpvDecorationStream : SpvDecoration_ = 29 ; pub const SpvDecoration__SpvDecorationLocation : SpvDecoration_ = 30 ; pub const SpvDecoration__SpvDecorationComponent : SpvDecoration_ = 31 ; pub const SpvDecoration__SpvDecorationIndex : SpvDecoration_ = 32 ; pub const SpvDecoration__SpvDecorationBinding : SpvDecoration_ = 33 ; pub const SpvDecoration__SpvDecorationDescriptorSet : SpvDecoration_ = 34 ; pub const SpvDecoration__SpvDecorationOffset : SpvDecoration_ = 35 ; pub const SpvDecoration__SpvDecorationXfbBuffer : SpvDecoration_ = 36 ; pub const SpvDecoration__SpvDecorationXfbStride : SpvDecoration_ = 37 ; pub const SpvDecoration__SpvDecorationFuncParamAttr : SpvDecoration_ = 38 ; pub const SpvDecoration__SpvDecorationFPRoundingMode : SpvDecoration_ = 39 ; pub const SpvDecoration__SpvDecorationFPFastMathMode : SpvDecoration_ = 40 ; pub const SpvDecoration__SpvDecorationLinkageAttributes : SpvDecoration_ = 41 ; pub const SpvDecoration__SpvDecorationNoContraction : SpvDecoration_ = 42 ; pub const SpvDecoration__SpvDecorationInputAttachmentIndex : SpvDecoration_ = 43 ; pub const SpvDecoration__SpvDecorationAlignment : SpvDecoration_ = 44 ; pub const SpvDecoration__SpvDecorationMaxByteOffset : SpvDecoration_ = 45 ; pub const SpvDecoration__SpvDecorationAlignmentId : SpvDecoration_ = 46 ; pub const SpvDecoration__SpvDecorationMaxByteOffsetId : SpvDecoration_ = 47 ; pub const SpvDecoration__SpvDecorationExplicitInterpAMD : SpvDecoration_ = 4999 ; pub const SpvDecoration__SpvDecorationOverrideCoverageNV : SpvDecoration_ = 5248 ; pub const SpvDecoration__SpvDecorationPassthroughNV : SpvDecoration_ = 5250 ; pub const SpvDecoration__SpvDecorationViewportRelativeNV : SpvDecoration_ = 5252 ; pub const SpvDecoration__SpvDecorationSecondaryViewportRelativeNV : SpvDecoration_ = 5256 ; pub const SpvDecoration__SpvDecorationHlslCounterBufferGOOGLE : SpvDecoration_ = 5634 ; pub const SpvDecoration__SpvDecorationHlslSemanticGOOGLE : SpvDecoration_ = 5635 ; pub const SpvDecoration__SpvDecorationMax : SpvDecoration_ = 2147483647 ; pub type SpvDecoration_ = u32 ; pub use self :: SpvDecoration_ as SpvDecoration ; pub const SpvBuiltIn__SpvBuiltInPosition : SpvBuiltIn_ = 0 ; pub const SpvBuiltIn__SpvBuiltInPointSize : SpvBuiltIn_ = 1 ; pub const SpvBuiltIn__SpvBuiltInClipDistance : SpvBuiltIn_ = 3 ; pub const SpvBuiltIn__SpvBuiltInCullDistance : SpvBuiltIn_ = 4 ; pub const SpvBuiltIn__SpvBuiltInVertexId : SpvBuiltIn_ = 5 ; pub const SpvBuiltIn__SpvBuiltInInstanceId : SpvBuiltIn_ = 6 ; pub const SpvBuiltIn__SpvBuiltInPrimitiveId : SpvBuiltIn_ = 7 ; pub const SpvBuiltIn__SpvBuiltInInvocationId : SpvBuiltIn_ = 8 ; pub const SpvBuiltIn__SpvBuiltInLayer : SpvBuiltIn_ = 9 ; pub const SpvBuiltIn__SpvBuiltInViewportIndex : SpvBuiltIn_ = 10 ; pub const SpvBuiltIn__SpvBuiltInTessLevelOuter : SpvBuiltIn_ = 11 ; pub const SpvBuiltIn__SpvBuiltInTessLevelInner : SpvBuiltIn_ = 12 ; pub const SpvBuiltIn__SpvBuiltInTessCoord : SpvBuiltIn_ = 13 ; pub const SpvBuiltIn__SpvBuiltInPatchVertices : SpvBuiltIn_ = 14 ; pub const SpvBuiltIn__SpvBuiltInFragCoord : SpvBuiltIn_ = 15 ; pub const SpvBuiltIn__SpvBuiltInPointCoord : SpvBuiltIn_ = 16 ; pub const SpvBuiltIn__SpvBuiltInFrontFacing : SpvBuiltIn_ = 17 ; pub const SpvBuiltIn__SpvBuiltInSampleId : SpvBuiltIn_ = 18 ; pub const SpvBuiltIn__SpvBuiltInSamplePosition : SpvBuiltIn_ = 19 ; pub const SpvBuiltIn__SpvBuiltInSampleMask : SpvBuiltIn_ = 20 ; pub const SpvBuiltIn__SpvBuiltInFragDepth : SpvBuiltIn_ = 22 ; pub const SpvBuiltIn__SpvBuiltInHelperInvocation : SpvBuiltIn_ = 23 ; pub const SpvBuiltIn__SpvBuiltInNumWorkgroups : SpvBuiltIn_ = 24 ; pub const SpvBuiltIn__SpvBuiltInWorkgroupSize : SpvBuiltIn_ = 25 ; pub const SpvBuiltIn__SpvBuiltInWorkgroupId : SpvBuiltIn_ = 26 ; pub const SpvBuiltIn__SpvBuiltInLocalInvocationId : SpvBuiltIn_ = 27 ; pub const SpvBuiltIn__SpvBuiltInGlobalInvocationId : SpvBuiltIn_ = 28 ; pub const SpvBuiltIn__SpvBuiltInLocalInvocationIndex : SpvBuiltIn_ = 29 ; pub const SpvBuiltIn__SpvBuiltInWorkDim : SpvBuiltIn_ = 30 ; pub const SpvBuiltIn__SpvBuiltInGlobalSize : SpvBuiltIn_ = 31 ; pub const SpvBuiltIn__SpvBuiltInEnqueuedWorkgroupSize : SpvBuiltIn_ = 32 ; pub const SpvBuiltIn__SpvBuiltInGlobalOffset : SpvBuiltIn_ = 33 ; pub const SpvBuiltIn__SpvBuiltInGlobalLinearId : SpvBuiltIn_ = 34 ; pub const SpvBuiltIn__SpvBuiltInSubgroupSize : SpvBuiltIn_ = 36 ; pub const SpvBuiltIn__SpvBuiltInSubgroupMaxSize : SpvBuiltIn_ = 37 ; pub const SpvBuiltIn__SpvBuiltInNumSubgroups : SpvBuiltIn_ = 38 ; pub const SpvBuiltIn__SpvBuiltInNumEnqueuedSubgroups : SpvBuiltIn_ = 39 ; pub const SpvBuiltIn__SpvBuiltInSubgroupId : SpvBuiltIn_ = 40 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLocalInvocationId : SpvBuiltIn_ = 41 ; pub const SpvBuiltIn__SpvBuiltInVertexIndex : SpvBuiltIn_ = 42 ; pub const SpvBuiltIn__SpvBuiltInInstanceIndex : SpvBuiltIn_ = 43 ; pub const SpvBuiltIn__SpvBuiltInSubgroupEqMask : SpvBuiltIn_ = 4416 ; pub const SpvBuiltIn__SpvBuiltInSubgroupEqMaskKHR : SpvBuiltIn_ = 4416 ; pub const SpvBuiltIn__SpvBuiltInSubgroupGeMask : SpvBuiltIn_ = 4417 ; pub const SpvBuiltIn__SpvBuiltInSubgroupGeMaskKHR : SpvBuiltIn_ = 4417 ; pub const SpvBuiltIn__SpvBuiltInSubgroupGtMask : SpvBuiltIn_ = 4418 ; pub const SpvBuiltIn__SpvBuiltInSubgroupGtMaskKHR : SpvBuiltIn_ = 4418 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLeMask : SpvBuiltIn_ = 4419 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLeMaskKHR : SpvBuiltIn_ = 4419 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLtMask : SpvBuiltIn_ = 4420 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLtMaskKHR : SpvBuiltIn_ = 4420 ; pub const SpvBuiltIn__SpvBuiltInBaseVertex : SpvBuiltIn_ = 4424 ; pub const SpvBuiltIn__SpvBuiltInBaseInstance : SpvBuiltIn_ = 4425 ; pub const SpvBuiltIn__SpvBuiltInDrawIndex : SpvBuiltIn_ = 4426 ; pub const SpvBuiltIn__SpvBuiltInDeviceIndex : SpvBuiltIn_ = 4438 ; pub const SpvBuiltIn__SpvBuiltInViewIndex : SpvBuiltIn_ = 4440 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspAMD : SpvBuiltIn_ = 4992 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspCentroidAMD : SpvBuiltIn_ = 4993 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspSampleAMD : SpvBuiltIn_ = 4994 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothAMD : SpvBuiltIn_ = 4995 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothCentroidAMD : SpvBuiltIn_ = 4996 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothSampleAMD : SpvBuiltIn_ = 4997 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordPullModelAMD : SpvBuiltIn_ = 4998 ; pub const SpvBuiltIn__SpvBuiltInFragStencilRefEXT : SpvBuiltIn_ = 5014 ; pub const SpvBuiltIn__SpvBuiltInViewportMaskNV : SpvBuiltIn_ = 5253 ; pub const SpvBuiltIn__SpvBuiltInSecondaryPositionNV : SpvBuiltIn_ = 5257 ; pub const SpvBuiltIn__SpvBuiltInSecondaryViewportMaskNV : SpvBuiltIn_ = 5258 ; pub const SpvBuiltIn__SpvBuiltInPositionPerViewNV : SpvBuiltIn_ = 5261 ; pub const SpvBuiltIn__SpvBuiltInViewportMaskPerViewNV : SpvBuiltIn_ = 5262 ; pub const SpvBuiltIn__SpvBuiltInFullyCoveredEXT : SpvBuiltIn_ = 5264 ; pub const SpvBuiltIn__SpvBuiltInMax : SpvBuiltIn_ = 2147483647 ; pub type SpvBuiltIn_ = u32 ; pub use self :: SpvBuiltIn_ as SpvBuiltIn ; pub const SpvSelectionControlShift__SpvSelectionControlFlattenShift : SpvSelectionControlShift_ = 0 ; pub const SpvSelectionControlShift__SpvSelectionControlDontFlattenShift : SpvSelectionControlShift_ = 1 ; pub const SpvSelectionControlShift__SpvSelectionControlMax : SpvSelectionControlShift_ = 2147483647 ; pub type SpvSelectionControlShift_ = u32 ; pub use self :: SpvSelectionControlShift_ as SpvSelectionControlShift ; pub const SpvSelectionControlMask__SpvSelectionControlMaskNone : SpvSelectionControlMask_ = 0 ; pub const SpvSelectionControlMask__SpvSelectionControlFlattenMask : SpvSelectionControlMask_ = 1 ; pub const SpvSelectionControlMask__SpvSelectionControlDontFlattenMask : SpvSelectionControlMask_ = 2 ; pub type SpvSelectionControlMask_ = u32 ; pub use self :: SpvSelectionControlMask_ as SpvSelectionControlMask ; pub const SpvLoopControlShift__SpvLoopControlUnrollShift : SpvLoopControlShift_ = 0 ; pub const SpvLoopControlShift__SpvLoopControlDontUnrollShift : SpvLoopControlShift_ = 1 ; pub const SpvLoopControlShift__SpvLoopControlDependencyInfiniteShift : SpvLoopControlShift_ = 2 ; pub const SpvLoopControlShift__SpvLoopControlDependencyLengthShift : SpvLoopControlShift_ = 3 ; pub const SpvLoopControlShift__SpvLoopControlMax : SpvLoopControlShift_ = 2147483647 ; pub type SpvLoopControlShift_ = u32 ; pub use self :: SpvLoopControlShift_ as SpvLoopControlShift ; pub const SpvLoopControlMask__SpvLoopControlMaskNone : SpvLoopControlMask_ = 0 ; pub const SpvLoopControlMask__SpvLoopControlUnrollMask : SpvLoopControlMask_ = 1 ; pub const SpvLoopControlMask__SpvLoopControlDontUnrollMask : SpvLoopControlMask_ = 2 ; pub const SpvLoopControlMask__SpvLoopControlDependencyInfiniteMask : SpvLoopControlMask_ = 4 ; pub const SpvLoopControlMask__SpvLoopControlDependencyLengthMask : SpvLoopControlMask_ = 8 ; pub type SpvLoopControlMask_ = u32 ; pub use self :: SpvLoopControlMask_ as SpvLoopControlMask ; pub const SpvFunctionControlShift__SpvFunctionControlInlineShift : SpvFunctionControlShift_ = 0 ; pub const SpvFunctionControlShift__SpvFunctionControlDontInlineShift : SpvFunctionControlShift_ = 1 ; pub const SpvFunctionControlShift__SpvFunctionControlPureShift : SpvFunctionControlShift_ = 2 ; pub const SpvFunctionControlShift__SpvFunctionControlConstShift : SpvFunctionControlShift_ = 3 ; pub const SpvFunctionControlShift__SpvFunctionControlMax : SpvFunctionControlShift_ = 2147483647 ; pub type SpvFunctionControlShift_ = u32 ; pub use self :: SpvFunctionControlShift_ as SpvFunctionControlShift ; pub const SpvFunctionControlMask__SpvFunctionControlMaskNone : SpvFunctionControlMask_ = 0 ; pub const SpvFunctionControlMask__SpvFunctionControlInlineMask : SpvFunctionControlMask_ = 1 ; pub const SpvFunctionControlMask__SpvFunctionControlDontInlineMask : SpvFunctionControlMask_ = 2 ; pub const SpvFunctionControlMask__SpvFunctionControlPureMask : SpvFunctionControlMask_ = 4 ; pub const SpvFunctionControlMask__SpvFunctionControlConstMask : SpvFunctionControlMask_ = 8 ; pub type SpvFunctionControlMask_ = u32 ; pub use self :: SpvFunctionControlMask_ as SpvFunctionControlMask ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsAcquireShift : SpvMemorySemanticsShift_ = 1 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsReleaseShift : SpvMemorySemanticsShift_ = 2 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsAcquireReleaseShift : SpvMemorySemanticsShift_ = 3 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsSequentiallyConsistentShift : SpvMemorySemanticsShift_ = 4 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsUniformMemoryShift : SpvMemorySemanticsShift_ = 6 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsSubgroupMemoryShift : SpvMemorySemanticsShift_ = 7 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsWorkgroupMemoryShift : SpvMemorySemanticsShift_ = 8 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsCrossWorkgroupMemoryShift : SpvMemorySemanticsShift_ = 9 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsAtomicCounterMemoryShift : SpvMemorySemanticsShift_ = 10 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsImageMemoryShift : SpvMemorySemanticsShift_ = 11 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsMax : SpvMemorySemanticsShift_ = 2147483647 ; pub type SpvMemorySemanticsShift_ = u32 ; pub use self :: SpvMemorySemanticsShift_ as SpvMemorySemanticsShift ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsMaskNone : SpvMemorySemanticsMask_ = 0 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsAcquireMask : SpvMemorySemanticsMask_ = 2 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsReleaseMask : SpvMemorySemanticsMask_ = 4 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsAcquireReleaseMask : SpvMemorySemanticsMask_ = 8 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsSequentiallyConsistentMask : SpvMemorySemanticsMask_ = 16 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsUniformMemoryMask : SpvMemorySemanticsMask_ = 64 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsSubgroupMemoryMask : SpvMemorySemanticsMask_ = 128 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsWorkgroupMemoryMask : SpvMemorySemanticsMask_ = 256 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsCrossWorkgroupMemoryMask : SpvMemorySemanticsMask_ = 512 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsAtomicCounterMemoryMask : SpvMemorySemanticsMask_ = 1024 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsImageMemoryMask : SpvMemorySemanticsMask_ = 2048 ; pub type SpvMemorySemanticsMask_ = u32 ; pub use self :: SpvMemorySemanticsMask_ as SpvMemorySemanticsMask ; pub const SpvMemoryAccessShift__SpvMemoryAccessVolatileShift : SpvMemoryAccessShift_ = 0 ; pub const SpvMemoryAccessShift__SpvMemoryAccessAlignedShift : SpvMemoryAccessShift_ = 1 ; pub const SpvMemoryAccessShift__SpvMemoryAccessNontemporalShift : SpvMemoryAccessShift_ = 2 ; pub const SpvMemoryAccessShift__SpvMemoryAccessMax : SpvMemoryAccessShift_ = 2147483647 ; pub type SpvMemoryAccessShift_ = u32 ; pub use self :: SpvMemoryAccessShift_ as SpvMemoryAccessShift ; pub const SpvMemoryAccessMask__SpvMemoryAccessMaskNone : SpvMemoryAccessMask_ = 0 ; pub const SpvMemoryAccessMask__SpvMemoryAccessVolatileMask : SpvMemoryAccessMask_ = 1 ; pub const SpvMemoryAccessMask__SpvMemoryAccessAlignedMask : SpvMemoryAccessMask_ = 2 ; pub const SpvMemoryAccessMask__SpvMemoryAccessNontemporalMask : SpvMemoryAccessMask_ = 4 ; pub type SpvMemoryAccessMask_ = u32 ; pub use self :: SpvMemoryAccessMask_ as SpvMemoryAccessMask ; pub const SpvScope__SpvScopeCrossDevice : SpvScope_ = 0 ; pub const SpvScope__SpvScopeDevice : SpvScope_ = 1 ; pub const SpvScope__SpvScopeWorkgroup : SpvScope_ = 2 ; pub const SpvScope__SpvScopeSubgroup : SpvScope_ = 3 ; pub const SpvScope__SpvScopeInvocation : SpvScope_ = 4 ; pub const SpvScope__SpvScopeMax : SpvScope_ = 2147483647 ; pub type SpvScope_ = u32 ; pub use self :: SpvScope_ as SpvScope ; pub const SpvGroupOperation__SpvGroupOperationReduce : SpvGroupOperation_ = 0 ; pub const SpvGroupOperation__SpvGroupOperationInclusiveScan : SpvGroupOperation_ = 1 ; pub const SpvGroupOperation__SpvGroupOperationExclusiveScan : SpvGroupOperation_ = 2 ; pub const SpvGroupOperation__SpvGroupOperationClusteredReduce : SpvGroupOperation_ = 3 ; pub const SpvGroupOperation__SpvGroupOperationPartitionedReduceNV : SpvGroupOperation_ = 6 ; pub const SpvGroupOperation__SpvGroupOperationPartitionedInclusiveScanNV : SpvGroupOperation_ = 7 ; pub const SpvGroupOperation__SpvGroupOperationPartitionedExclusiveScanNV : SpvGroupOperation_ = 8 ; pub const SpvGroupOperation__SpvGroupOperationMax : SpvGroupOperation_ = 2147483647 ; pub type SpvGroupOperation_ = u32 ; pub use self :: SpvGroupOperation_ as SpvGroupOperation ; pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsNoWait : SpvKernelEnqueueFlags_ = 0 ; pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsWaitKernel : SpvKernelEnqueueFlags_ = 1 ; pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsWaitWorkGroup : SpvKernelEnqueueFlags_ = 2 ; pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsMax : SpvKernelEnqueueFlags_ = 2147483647 ; pub type SpvKernelEnqueueFlags_ = u32 ; pub use self :: SpvKernelEnqueueFlags_ as SpvKernelEnqueueFlags ; pub const SpvKernelProfilingInfoShift__SpvKernelProfilingInfoCmdExecTimeShift : SpvKernelProfilingInfoShift_ = 0 ; pub const SpvKernelProfilingInfoShift__SpvKernelProfilingInfoMax : SpvKernelProfilingInfoShift_ = 2147483647 ; pub type SpvKernelProfilingInfoShift_ = u32 ; pub use self :: SpvKernelProfilingInfoShift_ as SpvKernelProfilingInfoShift ; pub const SpvKernelProfilingInfoMask__SpvKernelProfilingInfoMaskNone : SpvKernelProfilingInfoMask_ = 0 ; pub const SpvKernelProfilingInfoMask__SpvKernelProfilingInfoCmdExecTimeMask : SpvKernelProfilingInfoMask_ = 1 ; pub type SpvKernelProfilingInfoMask_ = u32 ; pub use self :: SpvKernelProfilingInfoMask_ as SpvKernelProfilingInfoMask ; pub const SpvCapability__SpvCapabilityMatrix : SpvCapability_ = 0 ; pub const SpvCapability__SpvCapabilityShader : SpvCapability_ = 1 ; pub const SpvCapability__SpvCapabilityGeometry : SpvCapability_ = 2 ; pub const SpvCapability__SpvCapabilityTessellation : SpvCapability_ = 3 ; pub const SpvCapability__SpvCapabilityAddresses : SpvCapability_ = 4 ; pub const SpvCapability__SpvCapabilityLinkage : SpvCapability_ = 5 ; pub const SpvCapability__SpvCapabilityKernel : SpvCapability_ = 6 ; pub const SpvCapability__SpvCapabilityVector16 : SpvCapability_ = 7 ; pub const SpvCapability__SpvCapabilityFloat16Buffer : SpvCapability_ = 8 ; pub const SpvCapability__SpvCapabilityFloat16 : SpvCapability_ = 9 ; pub const SpvCapability__SpvCapabilityFloat64 : SpvCapability_ = 10 ; pub const SpvCapability__SpvCapabilityInt64 : SpvCapability_ = 11 ; pub const SpvCapability__SpvCapabilityInt64Atomics : SpvCapability_ = 12 ; pub const SpvCapability__SpvCapabilityImageBasic : SpvCapability_ = 13 ; pub const SpvCapability__SpvCapabilityImageReadWrite : SpvCapability_ = 14 ; pub const SpvCapability__SpvCapabilityImageMipmap : SpvCapability_ = 15 ; pub const SpvCapability__SpvCapabilityPipes : SpvCapability_ = 17 ; pub const SpvCapability__SpvCapabilityGroups : SpvCapability_ = 18 ; pub const SpvCapability__SpvCapabilityDeviceEnqueue : SpvCapability_ = 19 ; pub const SpvCapability__SpvCapabilityLiteralSampler : SpvCapability_ = 20 ; pub const SpvCapability__SpvCapabilityAtomicStorage : SpvCapability_ = 21 ; pub const SpvCapability__SpvCapabilityInt16 : SpvCapability_ = 22 ; pub const SpvCapability__SpvCapabilityTessellationPointSize : SpvCapability_ = 23 ; pub const SpvCapability__SpvCapabilityGeometryPointSize : SpvCapability_ = 24 ; pub const SpvCapability__SpvCapabilityImageGatherExtended : SpvCapability_ = 25 ; pub const SpvCapability__SpvCapabilityStorageImageMultisample : SpvCapability_ = 27 ; pub const SpvCapability__SpvCapabilityUniformBufferArrayDynamicIndexing : SpvCapability_ = 28 ; pub const SpvCapability__SpvCapabilitySampledImageArrayDynamicIndexing : SpvCapability_ = 29 ; pub const SpvCapability__SpvCapabilityStorageBufferArrayDynamicIndexing : SpvCapability_ = 30 ; pub const SpvCapability__SpvCapabilityStorageImageArrayDynamicIndexing : SpvCapability_ = 31 ; pub const SpvCapability__SpvCapabilityClipDistance : SpvCapability_ = 32 ; pub const SpvCapability__SpvCapabilityCullDistance : SpvCapability_ = 33 ; pub const SpvCapability__SpvCapabilityImageCubeArray : SpvCapability_ = 34 ; pub const SpvCapability__SpvCapabilitySampleRateShading : SpvCapability_ = 35 ; pub const SpvCapability__SpvCapabilityImageRect : SpvCapability_ = 36 ; pub const SpvCapability__SpvCapabilitySampledRect : SpvCapability_ = 37 ; pub const SpvCapability__SpvCapabilityGenericPointer : SpvCapability_ = 38 ; pub const SpvCapability__SpvCapabilityInt8 : SpvCapability_ = 39 ; pub const SpvCapability__SpvCapabilityInputAttachment : SpvCapability_ = 40 ; pub const SpvCapability__SpvCapabilitySparseResidency : SpvCapability_ = 41 ; pub const SpvCapability__SpvCapabilityMinLod : SpvCapability_ = 42 ; pub const SpvCapability__SpvCapabilitySampled1D : SpvCapability_ = 43 ; pub const SpvCapability__SpvCapabilityImage1D : SpvCapability_ = 44 ; pub const SpvCapability__SpvCapabilitySampledCubeArray : SpvCapability_ = 45 ; pub const SpvCapability__SpvCapabilitySampledBuffer : SpvCapability_ = 46 ; pub const SpvCapability__SpvCapabilityImageBuffer : SpvCapability_ = 47 ; pub const SpvCapability__SpvCapabilityImageMSArray : SpvCapability_ = 48 ; pub const SpvCapability__SpvCapabilityStorageImageExtendedFormats : SpvCapability_ = 49 ; pub const SpvCapability__SpvCapabilityImageQuery : SpvCapability_ = 50 ; pub const SpvCapability__SpvCapabilityDerivativeControl : SpvCapability_ = 51 ; pub const SpvCapability__SpvCapabilityInterpolationFunction : SpvCapability_ = 52 ; pub const SpvCapability__SpvCapabilityTransformFeedback : SpvCapability_ = 53 ; pub const SpvCapability__SpvCapabilityGeometryStreams : SpvCapability_ = 54 ; pub const SpvCapability__SpvCapabilityStorageImageReadWithoutFormat : SpvCapability_ = 55 ; pub const SpvCapability__SpvCapabilityStorageImageWriteWithoutFormat : SpvCapability_ = 56 ; pub const SpvCapability__SpvCapabilityMultiViewport : SpvCapability_ = 57 ; pub const SpvCapability__SpvCapabilitySubgroupDispatch : SpvCapability_ = 58 ; pub const SpvCapability__SpvCapabilityNamedBarrier : SpvCapability_ = 59 ; pub const SpvCapability__SpvCapabilityPipeStorage : SpvCapability_ = 60 ; pub const SpvCapability__SpvCapabilityGroupNonUniform : SpvCapability_ = 61 ; pub const SpvCapability__SpvCapabilityGroupNonUniformVote : SpvCapability_ = 62 ; pub const SpvCapability__SpvCapabilityGroupNonUniformArithmetic : SpvCapability_ = 63 ; pub const SpvCapability__SpvCapabilityGroupNonUniformBallot : SpvCapability_ = 64 ; pub const SpvCapability__SpvCapabilityGroupNonUniformShuffle : SpvCapability_ = 65 ; pub const SpvCapability__SpvCapabilityGroupNonUniformShuffleRelative : SpvCapability_ = 66 ; pub const SpvCapability__SpvCapabilityGroupNonUniformClustered : SpvCapability_ = 67 ; pub const SpvCapability__SpvCapabilityGroupNonUniformQuad : SpvCapability_ = 68 ; pub const SpvCapability__SpvCapabilitySubgroupBallotKHR : SpvCapability_ = 4423 ; pub const SpvCapability__SpvCapabilityDrawParameters : SpvCapability_ = 4427 ; pub const SpvCapability__SpvCapabilitySubgroupVoteKHR : SpvCapability_ = 4431 ; pub const SpvCapability__SpvCapabilityStorageBuffer16BitAccess : SpvCapability_ = 4433 ; pub const SpvCapability__SpvCapabilityStorageUniformBufferBlock16 : SpvCapability_ = 4433 ; pub const SpvCapability__SpvCapabilityStorageUniform16 : SpvCapability_ = 4434 ; pub const SpvCapability__SpvCapabilityUniformAndStorageBuffer16BitAccess : SpvCapability_ = 4434 ; pub const SpvCapability__SpvCapabilityStoragePushConstant16 : SpvCapability_ = 4435 ; pub const SpvCapability__SpvCapabilityStorageInputOutput16 : SpvCapability_ = 4436 ; pub const SpvCapability__SpvCapabilityDeviceGroup : SpvCapability_ = 4437 ; pub const SpvCapability__SpvCapabilityMultiView : SpvCapability_ = 4439 ; pub const SpvCapability__SpvCapabilityVariablePointersStorageBuffer : SpvCapability_ = 4441 ; pub const SpvCapability__SpvCapabilityVariablePointers : SpvCapability_ = 4442 ; pub const SpvCapability__SpvCapabilityAtomicStorageOps : SpvCapability_ = 4445 ; pub const SpvCapability__SpvCapabilitySampleMaskPostDepthCoverage : SpvCapability_ = 4447 ; pub const SpvCapability__SpvCapabilityFloat16ImageAMD : SpvCapability_ = 5008 ; pub const SpvCapability__SpvCapabilityImageGatherBiasLodAMD : SpvCapability_ = 5009 ; pub const SpvCapability__SpvCapabilityFragmentMaskAMD : SpvCapability_ = 5010 ; pub const SpvCapability__SpvCapabilityStencilExportEXT : SpvCapability_ = 5013 ; pub const SpvCapability__SpvCapabilityImageReadWriteLodAMD : SpvCapability_ = 5015 ; pub const SpvCapability__SpvCapabilitySampleMaskOverrideCoverageNV : SpvCapability_ = 5249 ; pub const SpvCapability__SpvCapabilityGeometryShaderPassthroughNV : SpvCapability_ = 5251 ; pub const SpvCapability__SpvCapabilityShaderViewportIndexLayerEXT : SpvCapability_ = 5254 ; pub const SpvCapability__SpvCapabilityShaderViewportIndexLayerNV : SpvCapability_ = 5254 ; pub const SpvCapability__SpvCapabilityShaderViewportMaskNV : SpvCapability_ = 5255 ; pub const SpvCapability__SpvCapabilityShaderStereoViewNV : SpvCapability_ = 5259 ; pub const SpvCapability__SpvCapabilityPerViewAttributesNV : SpvCapability_ = 5260 ; pub const SpvCapability__SpvCapabilityFragmentFullyCoveredEXT : SpvCapability_ = 5265 ; pub const SpvCapability__SpvCapabilityGroupNonUniformPartitionedNV : SpvCapability_ = 5297 ; pub const SpvCapability__SpvCapabilitySubgroupShuffleINTEL : SpvCapability_ = 5568 ; pub const SpvCapability__SpvCapabilitySubgroupBufferBlockIOINTEL : SpvCapability_ = 5569 ; pub const SpvCapability__SpvCapabilitySubgroupImageBlockIOINTEL : SpvCapability_ = 5570 ; pub const SpvCapability__SpvCapabilityMax : SpvCapability_ = 2147483647 ; pub type SpvCapability_ = u32 ; pub use self :: SpvCapability_ as SpvCapability ; pub const SpvOp__SpvOpNop : SpvOp_ = 0 ; pub const SpvOp__SpvOpUndef : SpvOp_ = 1 ; pub const SpvOp__SpvOpSourceContinued : SpvOp_ = 2 ; pub const SpvOp__SpvOpSource : SpvOp_ = 3 ; pub const SpvOp__SpvOpSourceExtension : SpvOp_ = 4 ; pub const SpvOp__SpvOpName : SpvOp_ = 5 ; pub const SpvOp__SpvOpMemberName : SpvOp_ = 6 ; pub const SpvOp__SpvOpString : SpvOp_ = 7 ; pub const SpvOp__SpvOpLine : SpvOp_ = 8 ; pub const SpvOp__SpvOpExtension : SpvOp_ = 10 ; pub const SpvOp__SpvOpExtInstImport : SpvOp_ = 11 ; pub const SpvOp__SpvOpExtInst : SpvOp_ = 12 ; pub const SpvOp__SpvOpMemoryModel : SpvOp_ = 14 ; pub const SpvOp__SpvOpEntryPoint : SpvOp_ = 15 ; pub const SpvOp__SpvOpExecutionMode : SpvOp_ = 16 ; pub const SpvOp__SpvOpCapability : SpvOp_ = 17 ; pub const SpvOp__SpvOpTypeVoid : SpvOp_ = 19 ; pub const SpvOp__SpvOpTypeBool : SpvOp_ = 20 ; pub const SpvOp__SpvOpTypeInt : SpvOp_ = 21 ; pub const SpvOp__SpvOpTypeFloat : SpvOp_ = 22 ; pub const SpvOp__SpvOpTypeVector : SpvOp_ = 23 ; pub const SpvOp__SpvOpTypeMatrix : SpvOp_ = 24 ; pub const SpvOp__SpvOpTypeImage : SpvOp_ = 25 ; pub const SpvOp__SpvOpTypeSampler : SpvOp_ = 26 ; pub const SpvOp__SpvOpTypeSampledImage : SpvOp_ = 27 ; pub const SpvOp__SpvOpTypeArray : SpvOp_ = 28 ; pub const SpvOp__SpvOpTypeRuntimeArray : SpvOp_ = 29 ; pub const SpvOp__SpvOpTypeStruct : SpvOp_ = 30 ; pub const SpvOp__SpvOpTypeOpaque : SpvOp_ = 31 ; pub const SpvOp__SpvOpTypePointer : SpvOp_ = 32 ; pub const SpvOp__SpvOpTypeFunction : SpvOp_ = 33 ; pub const SpvOp__SpvOpTypeEvent : SpvOp_ = 34 ; pub const SpvOp__SpvOpTypeDeviceEvent : SpvOp_ = 35 ; pub const SpvOp__SpvOpTypeReserveId : SpvOp_ = 36 ; pub const SpvOp__SpvOpTypeQueue : SpvOp_ = 37 ; pub const SpvOp__SpvOpTypePipe : SpvOp_ = 38 ; pub const SpvOp__SpvOpTypeForwardPointer : SpvOp_ = 39 ; pub const SpvOp__SpvOpConstantTrue : SpvOp_ = 41 ; pub const SpvOp__SpvOpConstantFalse : SpvOp_ = 42 ; pub const SpvOp__SpvOpConstant : SpvOp_ = 43 ; pub const SpvOp__SpvOpConstantComposite : SpvOp_ = 44 ; pub const SpvOp__SpvOpConstantSampler : SpvOp_ = 45 ; pub const SpvOp__SpvOpConstantNull : SpvOp_ = 46 ; pub const SpvOp__SpvOpSpecConstantTrue : SpvOp_ = 48 ; pub const SpvOp__SpvOpSpecConstantFalse : SpvOp_ = 49 ; pub const SpvOp__SpvOpSpecConstant : SpvOp_ = 50 ; pub const SpvOp__SpvOpSpecConstantComposite : SpvOp_ = 51 ; pub const SpvOp__SpvOpSpecConstantOp : SpvOp_ = 52 ; pub const SpvOp__SpvOpFunction : SpvOp_ = 54 ; pub const SpvOp__SpvOpFunctionParameter : SpvOp_ = 55 ; pub const SpvOp__SpvOpFunctionEnd : SpvOp_ = 56 ; pub const SpvOp__SpvOpFunctionCall : SpvOp_ = 57 ; pub const SpvOp__SpvOpVariable : SpvOp_ = 59 ; pub const SpvOp__SpvOpImageTexelPointer : SpvOp_ = 60 ; pub const SpvOp__SpvOpLoad : SpvOp_ = 61 ; pub const SpvOp__SpvOpStore : SpvOp_ = 62 ; pub const SpvOp__SpvOpCopyMemory : SpvOp_ = 63 ; pub const SpvOp__SpvOpCopyMemorySized : SpvOp_ = 64 ; pub const SpvOp__SpvOpAccessChain : SpvOp_ = 65 ; pub const SpvOp__SpvOpInBoundsAccessChain : SpvOp_ = 66 ; pub const SpvOp__SpvOpPtrAccessChain : SpvOp_ = 67 ; pub const SpvOp__SpvOpArrayLength : SpvOp_ = 68 ; pub const SpvOp__SpvOpGenericPtrMemSemantics : SpvOp_ = 69 ; pub const SpvOp__SpvOpInBoundsPtrAccessChain : SpvOp_ = 70 ; pub const SpvOp__SpvOpDecorate : SpvOp_ = 71 ; pub const SpvOp__SpvOpMemberDecorate : SpvOp_ = 72 ; pub const SpvOp__SpvOpDecorationGroup : SpvOp_ = 73 ; pub const SpvOp__SpvOpGroupDecorate : SpvOp_ = 74 ; pub const SpvOp__SpvOpGroupMemberDecorate : SpvOp_ = 75 ; pub const SpvOp__SpvOpVectorExtractDynamic : SpvOp_ = 77 ; pub const SpvOp__SpvOpVectorInsertDynamic : SpvOp_ = 78 ; pub const SpvOp__SpvOpVectorShuffle : SpvOp_ = 79 ; pub const SpvOp__SpvOpCompositeConstruct : SpvOp_ = 80 ; pub const SpvOp__SpvOpCompositeExtract : SpvOp_ = 81 ; pub const SpvOp__SpvOpCompositeInsert : SpvOp_ = 82 ; pub const SpvOp__SpvOpCopyObject : SpvOp_ = 83 ; pub const SpvOp__SpvOpTranspose : SpvOp_ = 84 ; pub const SpvOp__SpvOpSampledImage : SpvOp_ = 86 ; pub const SpvOp__SpvOpImageSampleImplicitLod : SpvOp_ = 87 ; pub const SpvOp__SpvOpImageSampleExplicitLod : SpvOp_ = 88 ; pub const SpvOp__SpvOpImageSampleDrefImplicitLod : SpvOp_ = 89 ; pub const SpvOp__SpvOpImageSampleDrefExplicitLod : SpvOp_ = 90 ; pub const SpvOp__SpvOpImageSampleProjImplicitLod : SpvOp_ = 91 ; pub const SpvOp__SpvOpImageSampleProjExplicitLod : SpvOp_ = 92 ; pub const SpvOp__SpvOpImageSampleProjDrefImplicitLod : SpvOp_ = 93 ; pub const SpvOp__SpvOpImageSampleProjDrefExplicitLod : SpvOp_ = 94 ; pub const SpvOp__SpvOpImageFetch : SpvOp_ = 95 ; pub const SpvOp__SpvOpImageGather : SpvOp_ = 96 ; pub const SpvOp__SpvOpImageDrefGather : SpvOp_ = 97 ; pub const SpvOp__SpvOpImageRead : SpvOp_ = 98 ; pub const SpvOp__SpvOpImageWrite : SpvOp_ = 99 ; pub const SpvOp__SpvOpImage : SpvOp_ = 100 ; pub const SpvOp__SpvOpImageQueryFormat : SpvOp_ = 101 ; pub const SpvOp__SpvOpImageQueryOrder : SpvOp_ = 102 ; pub const SpvOp__SpvOpImageQuerySizeLod : SpvOp_ = 103 ; pub const SpvOp__SpvOpImageQuerySize : SpvOp_ = 104 ; pub const SpvOp__SpvOpImageQueryLod : SpvOp_ = 105 ; pub const SpvOp__SpvOpImageQueryLevels : SpvOp_ = 106 ; pub const SpvOp__SpvOpImageQuerySamples : SpvOp_ = 107 ; pub const SpvOp__SpvOpConvertFToU : SpvOp_ = 109 ; pub const SpvOp__SpvOpConvertFToS : SpvOp_ = 110 ; pub const SpvOp__SpvOpConvertSToF : SpvOp_ = 111 ; pub const SpvOp__SpvOpConvertUToF : SpvOp_ = 112 ; pub const SpvOp__SpvOpUConvert : SpvOp_ = 113 ; pub const SpvOp__SpvOpSConvert : SpvOp_ = 114 ; pub const SpvOp__SpvOpFConvert : SpvOp_ = 115 ; pub const SpvOp__SpvOpQuantizeToF16 : SpvOp_ = 116 ; pub const SpvOp__SpvOpConvertPtrToU : SpvOp_ = 117 ; pub const SpvOp__SpvOpSatConvertSToU : SpvOp_ = 118 ; pub const SpvOp__SpvOpSatConvertUToS : SpvOp_ = 119 ; pub const SpvOp__SpvOpConvertUToPtr : SpvOp_ = 120 ; pub const SpvOp__SpvOpPtrCastToGeneric : SpvOp_ = 121 ; pub const SpvOp__SpvOpGenericCastToPtr : SpvOp_ = 122 ; pub const SpvOp__SpvOpGenericCastToPtrExplicit : SpvOp_ = 123 ; pub const SpvOp__SpvOpBitcast : SpvOp_ = 124 ; pub const SpvOp__SpvOpSNegate : SpvOp_ = 126 ; pub const SpvOp__SpvOpFNegate : SpvOp_ = 127 ; pub const SpvOp__SpvOpIAdd : SpvOp_ = 128 ; pub const SpvOp__SpvOpFAdd : SpvOp_ = 129 ; pub const SpvOp__SpvOpISub : SpvOp_ = 130 ; pub const SpvOp__SpvOpFSub : SpvOp_ = 131 ; pub const SpvOp__SpvOpIMul : SpvOp_ = 132 ; pub const SpvOp__SpvOpFMul : SpvOp_ = 133 ; pub const SpvOp__SpvOpUDiv : SpvOp_ = 134 ; pub const SpvOp__SpvOpSDiv : SpvOp_ = 135 ; pub const SpvOp__SpvOpFDiv : SpvOp_ = 136 ; pub const SpvOp__SpvOpUMod : SpvOp_ = 137 ; pub const SpvOp__SpvOpSRem : SpvOp_ = 138 ; pub const SpvOp__SpvOpSMod : SpvOp_ = 139 ; pub const SpvOp__SpvOpFRem : SpvOp_ = 140 ; pub const SpvOp__SpvOpFMod : SpvOp_ = 141 ; pub const SpvOp__SpvOpVectorTimesScalar : SpvOp_ = 142 ; pub const SpvOp__SpvOpMatrixTimesScalar : SpvOp_ = 143 ; pub const SpvOp__SpvOpVectorTimesMatrix : SpvOp_ = 144 ; pub const SpvOp__SpvOpMatrixTimesVector : SpvOp_ = 145 ; pub const SpvOp__SpvOpMatrixTimesMatrix : SpvOp_ = 146 ; pub const SpvOp__SpvOpOuterProduct : SpvOp_ = 147 ; pub const SpvOp__SpvOpDot : SpvOp_ = 148 ; pub const SpvOp__SpvOpIAddCarry : SpvOp_ = 149 ; pub const SpvOp__SpvOpISubBorrow : SpvOp_ = 150 ; pub const SpvOp__SpvOpUMulExtended : SpvOp_ = 151 ; pub const SpvOp__SpvOpSMulExtended : SpvOp_ = 152 ; pub const SpvOp__SpvOpAny : SpvOp_ = 154 ; pub const SpvOp__SpvOpAll : SpvOp_ = 155 ; pub const SpvOp__SpvOpIsNan : SpvOp_ = 156 ; pub const SpvOp__SpvOpIsInf : SpvOp_ = 157 ; pub const SpvOp__SpvOpIsFinite : SpvOp_ = 158 ; pub const SpvOp__SpvOpIsNormal : SpvOp_ = 159 ; pub const SpvOp__SpvOpSignBitSet : SpvOp_ = 160 ; pub const SpvOp__SpvOpLessOrGreater : SpvOp_ = 161 ; pub const SpvOp__SpvOpOrdered : SpvOp_ = 162 ; pub const SpvOp__SpvOpUnordered : SpvOp_ = 163 ; pub const SpvOp__SpvOpLogicalEqual : SpvOp_ = 164 ; pub const SpvOp__SpvOpLogicalNotEqual : SpvOp_ = 165 ; pub const SpvOp__SpvOpLogicalOr : SpvOp_ = 166 ; pub const SpvOp__SpvOpLogicalAnd : SpvOp_ = 167 ; pub const SpvOp__SpvOpLogicalNot : SpvOp_ = 168 ; pub const SpvOp__SpvOpSelect : SpvOp_ = 169 ; pub const SpvOp__SpvOpIEqual : SpvOp_ = 170 ; pub const SpvOp__SpvOpINotEqual : SpvOp_ = 171 ; pub const SpvOp__SpvOpUGreaterThan : SpvOp_ = 172 ; pub const SpvOp__SpvOpSGreaterThan : SpvOp_ = 173 ; pub const SpvOp__SpvOpUGreaterThanEqual : SpvOp_ = 174 ; pub const SpvOp__SpvOpSGreaterThanEqual : SpvOp_ = 175 ; pub const SpvOp__SpvOpULessThan : SpvOp_ = 176 ; pub const SpvOp__SpvOpSLessThan : SpvOp_ = 177 ; pub const SpvOp__SpvOpULessThanEqual : SpvOp_ = 178 ; pub const SpvOp__SpvOpSLessThanEqual : SpvOp_ = 179 ; pub const SpvOp__SpvOpFOrdEqual : SpvOp_ = 180 ; pub const SpvOp__SpvOpFUnordEqual : SpvOp_ = 181 ; pub const SpvOp__SpvOpFOrdNotEqual : SpvOp_ = 182 ; pub const SpvOp__SpvOpFUnordNotEqual : SpvOp_ = 183 ; pub const SpvOp__SpvOpFOrdLessThan : SpvOp_ = 184 ; pub const SpvOp__SpvOpFUnordLessThan : SpvOp_ = 185 ; pub const SpvOp__SpvOpFOrdGreaterThan : SpvOp_ = 186 ; pub const SpvOp__SpvOpFUnordGreaterThan : SpvOp_ = 187 ; pub const SpvOp__SpvOpFOrdLessThanEqual : SpvOp_ = 188 ; pub const SpvOp__SpvOpFUnordLessThanEqual : SpvOp_ = 189 ; pub const SpvOp__SpvOpFOrdGreaterThanEqual : SpvOp_ = 190 ; pub const SpvOp__SpvOpFUnordGreaterThanEqual : SpvOp_ = 191 ; pub const SpvOp__SpvOpShiftRightLogical : SpvOp_ = 194 ; pub const SpvOp__SpvOpShiftRightArithmetic : SpvOp_ = 195 ; pub const SpvOp__SpvOpShiftLeftLogical : SpvOp_ = 196 ; pub const SpvOp__SpvOpBitwiseOr : SpvOp_ = 197 ; pub const SpvOp__SpvOpBitwiseXor : SpvOp_ = 198 ; pub const SpvOp__SpvOpBitwiseAnd : SpvOp_ = 199 ; pub const SpvOp__SpvOpNot : SpvOp_ = 200 ; pub const SpvOp__SpvOpBitFieldInsert : SpvOp_ = 201 ; pub const SpvOp__SpvOpBitFieldSExtract : SpvOp_ = 202 ; pub const SpvOp__SpvOpBitFieldUExtract : SpvOp_ = 203 ; pub const SpvOp__SpvOpBitReverse : SpvOp_ = 204 ; pub const SpvOp__SpvOpBitCount : SpvOp_ = 205 ; pub const SpvOp__SpvOpDPdx : SpvOp_ = 207 ; pub const SpvOp__SpvOpDPdy : SpvOp_ = 208 ; pub const SpvOp__SpvOpFwidth : SpvOp_ = 209 ; pub const SpvOp__SpvOpDPdxFine : SpvOp_ = 210 ; pub const SpvOp__SpvOpDPdyFine : SpvOp_ = 211 ; pub const SpvOp__SpvOpFwidthFine : SpvOp_ = 212 ; pub const SpvOp__SpvOpDPdxCoarse : SpvOp_ = 213 ; pub const SpvOp__SpvOpDPdyCoarse : SpvOp_ = 214 ; pub const SpvOp__SpvOpFwidthCoarse : SpvOp_ = 215 ; pub const SpvOp__SpvOpEmitVertex : SpvOp_ = 218 ; pub const SpvOp__SpvOpEndPrimitive : SpvOp_ = 219 ; pub const SpvOp__SpvOpEmitStreamVertex : SpvOp_ = 220 ; pub const SpvOp__SpvOpEndStreamPrimitive : SpvOp_ = 221 ; pub const SpvOp__SpvOpControlBarrier : SpvOp_ = 224 ; pub const SpvOp__SpvOpMemoryBarrier : SpvOp_ = 225 ; pub const SpvOp__SpvOpAtomicLoad : SpvOp_ = 227 ; pub const SpvOp__SpvOpAtomicStore : SpvOp_ = 228 ; pub const SpvOp__SpvOpAtomicExchange : SpvOp_ = 229 ; pub const SpvOp__SpvOpAtomicCompareExchange : SpvOp_ = 230 ; pub const SpvOp__SpvOpAtomicCompareExchangeWeak : SpvOp_ = 231 ; pub const SpvOp__SpvOpAtomicIIncrement : SpvOp_ = 232 ; pub const SpvOp__SpvOpAtomicIDecrement : SpvOp_ = 233 ; pub const SpvOp__SpvOpAtomicIAdd : SpvOp_ = 234 ; pub const SpvOp__SpvOpAtomicISub : SpvOp_ = 235 ; pub const SpvOp__SpvOpAtomicSMin : SpvOp_ = 236 ; pub const SpvOp__SpvOpAtomicUMin : SpvOp_ = 237 ; pub const SpvOp__SpvOpAtomicSMax : SpvOp_ = 238 ; pub const SpvOp__SpvOpAtomicUMax : SpvOp_ = 239 ; pub const SpvOp__SpvOpAtomicAnd : SpvOp_ = 240 ; pub const SpvOp__SpvOpAtomicOr : SpvOp_ = 241 ; pub const SpvOp__SpvOpAtomicXor : SpvOp_ = 242 ; pub const SpvOp__SpvOpPhi : SpvOp_ = 245 ; pub const SpvOp__SpvOpLoopMerge : SpvOp_ = 246 ; pub const SpvOp__SpvOpSelectionMerge : SpvOp_ = 247 ; pub const SpvOp__SpvOpLabel : SpvOp_ = 248 ; pub const SpvOp__SpvOpBranch : SpvOp_ = 249 ; pub const SpvOp__SpvOpBranchConditional : SpvOp_ = 250 ; pub const SpvOp__SpvOpSwitch : SpvOp_ = 251 ; pub const SpvOp__SpvOpKill : SpvOp_ = 252 ; pub const SpvOp__SpvOpReturn : SpvOp_ = 253 ; pub const SpvOp__SpvOpReturnValue : SpvOp_ = 254 ; pub const SpvOp__SpvOpUnreachable : SpvOp_ = 255 ; pub const SpvOp__SpvOpLifetimeStart : SpvOp_ = 256 ; pub const SpvOp__SpvOpLifetimeStop : SpvOp_ = 257 ; pub const SpvOp__SpvOpGroupAsyncCopy : SpvOp_ = 259 ; pub const SpvOp__SpvOpGroupWaitEvents : SpvOp_ = 260 ; pub const SpvOp__SpvOpGroupAll : SpvOp_ = 261 ; pub const SpvOp__SpvOpGroupAny : SpvOp_ = 262 ; pub const SpvOp__SpvOpGroupBroadcast : SpvOp_ = 263 ; pub const SpvOp__SpvOpGroupIAdd : SpvOp_ = 264 ; pub const SpvOp__SpvOpGroupFAdd : SpvOp_ = 265 ; pub const SpvOp__SpvOpGroupFMin : SpvOp_ = 266 ; pub const SpvOp__SpvOpGroupUMin : SpvOp_ = 267 ; pub const SpvOp__SpvOpGroupSMin : SpvOp_ = 268 ; pub const SpvOp__SpvOpGroupFMax : SpvOp_ = 269 ; pub const SpvOp__SpvOpGroupUMax : SpvOp_ = 270 ; pub const SpvOp__SpvOpGroupSMax : SpvOp_ = 271 ; pub const SpvOp__SpvOpReadPipe : SpvOp_ = 274 ; pub const SpvOp__SpvOpWritePipe : SpvOp_ = 275 ; pub const SpvOp__SpvOpReservedReadPipe : SpvOp_ = 276 ; pub const SpvOp__SpvOpReservedWritePipe : SpvOp_ = 277 ; pub const SpvOp__SpvOpReserveReadPipePackets : SpvOp_ = 278 ; pub const SpvOp__SpvOpReserveWritePipePackets : SpvOp_ = 279 ; pub const SpvOp__SpvOpCommitReadPipe : SpvOp_ = 280 ; pub const SpvOp__SpvOpCommitWritePipe : SpvOp_ = 281 ; pub const SpvOp__SpvOpIsValidReserveId : SpvOp_ = 282 ; pub const SpvOp__SpvOpGetNumPipePackets : SpvOp_ = 283 ; pub const SpvOp__SpvOpGetMaxPipePackets : SpvOp_ = 284 ; pub const SpvOp__SpvOpGroupReserveReadPipePackets : SpvOp_ = 285 ; pub const SpvOp__SpvOpGroupReserveWritePipePackets : SpvOp_ = 286 ; pub const SpvOp__SpvOpGroupCommitReadPipe : SpvOp_ = 287 ; pub const SpvOp__SpvOpGroupCommitWritePipe : SpvOp_ = 288 ; pub const SpvOp__SpvOpEnqueueMarker : SpvOp_ = 291 ; pub const SpvOp__SpvOpEnqueueKernel : SpvOp_ = 292 ; pub const SpvOp__SpvOpGetKernelNDrangeSubGroupCount : SpvOp_ = 293 ; pub const SpvOp__SpvOpGetKernelNDrangeMaxSubGroupSize : SpvOp_ = 294 ; pub const SpvOp__SpvOpGetKernelWorkGroupSize : SpvOp_ = 295 ; pub const SpvOp__SpvOpGetKernelPreferredWorkGroupSizeMultiple : SpvOp_ = 296 ; pub const SpvOp__SpvOpRetainEvent : SpvOp_ = 297 ; pub const SpvOp__SpvOpReleaseEvent : SpvOp_ = 298 ; pub const SpvOp__SpvOpCreateUserEvent : SpvOp_ = 299 ; pub const SpvOp__SpvOpIsValidEvent : SpvOp_ = 300 ; pub const SpvOp__SpvOpSetUserEventStatus : SpvOp_ = 301 ; pub const SpvOp__SpvOpCaptureEventProfilingInfo : SpvOp_ = 302 ; pub const SpvOp__SpvOpGetDefaultQueue : SpvOp_ = 303 ; pub const SpvOp__SpvOpBuildNDRange : SpvOp_ = 304 ; pub const SpvOp__SpvOpImageSparseSampleImplicitLod : SpvOp_ = 305 ; pub const SpvOp__SpvOpImageSparseSampleExplicitLod : SpvOp_ = 306 ; pub const SpvOp__SpvOpImageSparseSampleDrefImplicitLod : SpvOp_ = 307 ; pub const SpvOp__SpvOpImageSparseSampleDrefExplicitLod : SpvOp_ = 308 ; pub const SpvOp__SpvOpImageSparseSampleProjImplicitLod : SpvOp_ = 309 ; pub const SpvOp__SpvOpImageSparseSampleProjExplicitLod : SpvOp_ = 310 ; pub const SpvOp__SpvOpImageSparseSampleProjDrefImplicitLod : SpvOp_ = 311 ; pub const SpvOp__SpvOpImageSparseSampleProjDrefExplicitLod : SpvOp_ = 312 ; pub const SpvOp__SpvOpImageSparseFetch : SpvOp_ = 313 ; pub const SpvOp__SpvOpImageSparseGather : SpvOp_ = 314 ; pub const SpvOp__SpvOpImageSparseDrefGather : SpvOp_ = 315 ; pub const SpvOp__SpvOpImageSparseTexelsResident : SpvOp_ = 316 ; pub const SpvOp__SpvOpNoLine : SpvOp_ = 317 ; pub const SpvOp__SpvOpAtomicFlagTestAndSet : SpvOp_ = 318 ; pub const SpvOp__SpvOpAtomicFlagClear : SpvOp_ = 319 ; pub const SpvOp__SpvOpImageSparseRead : SpvOp_ = 320 ; pub const SpvOp__SpvOpSizeOf : SpvOp_ = 321 ; pub const SpvOp__SpvOpTypePipeStorage : SpvOp_ = 322 ; pub const SpvOp__SpvOpConstantPipeStorage : SpvOp_ = 323 ; pub const SpvOp__SpvOpCreatePipeFromPipeStorage : SpvOp_ = 324 ; pub const SpvOp__SpvOpGetKernelLocalSizeForSubgroupCount : SpvOp_ = 325 ; pub const SpvOp__SpvOpGetKernelMaxNumSubgroups : SpvOp_ = 326 ; pub const SpvOp__SpvOpTypeNamedBarrier : SpvOp_ = 327 ; pub const SpvOp__SpvOpNamedBarrierInitialize : SpvOp_ = 328 ; pub const SpvOp__SpvOpMemoryNamedBarrier : SpvOp_ = 329 ; pub const SpvOp__SpvOpModuleProcessed : SpvOp_ = 330 ; pub const SpvOp__SpvOpExecutionModeId : SpvOp_ = 331 ; pub const SpvOp__SpvOpDecorateId : SpvOp_ = 332 ; pub const SpvOp__SpvOpGroupNonUniformElect : SpvOp_ = 333 ; pub const SpvOp__SpvOpGroupNonUniformAll : SpvOp_ = 334 ; pub const SpvOp__SpvOpGroupNonUniformAny : SpvOp_ = 335 ; pub const SpvOp__SpvOpGroupNonUniformAllEqual : SpvOp_ = 336 ; pub const SpvOp__SpvOpGroupNonUniformBroadcast : SpvOp_ = 337 ; pub const SpvOp__SpvOpGroupNonUniformBroadcastFirst : SpvOp_ = 338 ; pub const SpvOp__SpvOpGroupNonUniformBallot : SpvOp_ = 339 ; pub const SpvOp__SpvOpGroupNonUniformInverseBallot : SpvOp_ = 340 ; pub const SpvOp__SpvOpGroupNonUniformBallotBitExtract : SpvOp_ = 341 ; pub const SpvOp__SpvOpGroupNonUniformBallotBitCount : SpvOp_ = 342 ; pub const SpvOp__SpvOpGroupNonUniformBallotFindLSB : SpvOp_ = 343 ; pub const SpvOp__SpvOpGroupNonUniformBallotFindMSB : SpvOp_ = 344 ; pub const SpvOp__SpvOpGroupNonUniformShuffle : SpvOp_ = 345 ; pub const SpvOp__SpvOpGroupNonUniformShuffleXor : SpvOp_ = 346 ; pub const SpvOp__SpvOpGroupNonUniformShuffleUp : SpvOp_ = 347 ; pub const SpvOp__SpvOpGroupNonUniformShuffleDown : SpvOp_ = 348 ; pub const SpvOp__SpvOpGroupNonUniformIAdd : SpvOp_ = 349 ; pub const SpvOp__SpvOpGroupNonUniformFAdd : SpvOp_ = 350 ; pub const SpvOp__SpvOpGroupNonUniformIMul : SpvOp_ = 351 ; pub const SpvOp__SpvOpGroupNonUniformFMul : SpvOp_ = 352 ; pub const SpvOp__SpvOpGroupNonUniformSMin : SpvOp_ = 353 ; pub const SpvOp__SpvOpGroupNonUniformUMin : SpvOp_ = 354 ; pub const SpvOp__SpvOpGroupNonUniformFMin : SpvOp_ = 355 ; pub const SpvOp__SpvOpGroupNonUniformSMax : SpvOp_ = 356 ; pub const SpvOp__SpvOpGroupNonUniformUMax : SpvOp_ = 357 ; pub const SpvOp__SpvOpGroupNonUniformFMax : SpvOp_ = 358 ; pub const SpvOp__SpvOpGroupNonUniformBitwiseAnd : SpvOp_ = 359 ; pub const SpvOp__SpvOpGroupNonUniformBitwiseOr : SpvOp_ = 360 ; pub const SpvOp__SpvOpGroupNonUniformBitwiseXor : SpvOp_ = 361 ; pub const SpvOp__SpvOpGroupNonUniformLogicalAnd : SpvOp_ = 362 ; pub const SpvOp__SpvOpGroupNonUniformLogicalOr : SpvOp_ = 363 ; pub const SpvOp__SpvOpGroupNonUniformLogicalXor : SpvOp_ = 364 ; pub const SpvOp__SpvOpGroupNonUniformQuadBroadcast : SpvOp_ = 365 ; pub const SpvOp__SpvOpGroupNonUniformQuadSwap : SpvOp_ = 366 ; pub const SpvOp__SpvOpSubgroupBallotKHR : SpvOp_ = 4421 ; pub const SpvOp__SpvOpSubgroupFirstInvocationKHR : SpvOp_ = 4422 ; pub const SpvOp__SpvOpSubgroupAllKHR : SpvOp_ = 4428 ; pub const SpvOp__SpvOpSubgroupAnyKHR : SpvOp_ = 4429 ; pub const SpvOp__SpvOpSubgroupAllEqualKHR : SpvOp_ = 4430 ; pub const SpvOp__SpvOpSubgroupReadInvocationKHR : SpvOp_ = 4432 ; pub const SpvOp__SpvOpGroupIAddNonUniformAMD : SpvOp_ = 5000 ; pub const SpvOp__SpvOpGroupFAddNonUniformAMD : SpvOp_ = 5001 ; pub const SpvOp__SpvOpGroupFMinNonUniformAMD : SpvOp_ = 5002 ; pub const SpvOp__SpvOpGroupUMinNonUniformAMD : SpvOp_ = 5003 ; pub const SpvOp__SpvOpGroupSMinNonUniformAMD : SpvOp_ = 5004 ; pub const SpvOp__SpvOpGroupFMaxNonUniformAMD : SpvOp_ = 5005 ; pub const SpvOp__SpvOpGroupUMaxNonUniformAMD : SpvOp_ = 5006 ; pub const SpvOp__SpvOpGroupSMaxNonUniformAMD : SpvOp_ = 5007 ; pub const SpvOp__SpvOpFragmentMaskFetchAMD : SpvOp_ = 5011 ; pub const SpvOp__SpvOpFragmentFetchAMD : SpvOp_ = 5012 ; pub const SpvOp__SpvOpGroupNonUniformPartitionNV : SpvOp_ = 5296 ; pub const SpvOp__SpvOpSubgroupShuffleINTEL : SpvOp_ = 5571 ; pub const SpvOp__SpvOpSubgroupShuffleDownINTEL : SpvOp_ = 5572 ; pub const SpvOp__SpvOpSubgroupShuffleUpINTEL : SpvOp_ = 5573 ; pub const SpvOp__SpvOpSubgroupShuffleXorINTEL : SpvOp_ = 5574 ; pub const SpvOp__SpvOpSubgroupBlockReadINTEL : SpvOp_ = 5575 ; pub const SpvOp__SpvOpSubgroupBlockWriteINTEL : SpvOp_ = 5576 ; pub const SpvOp__SpvOpSubgroupImageBlockReadINTEL : SpvOp_ = 5577 ; pub const SpvOp__SpvOpSubgroupImageBlockWriteINTEL : SpvOp_ = 5578 ; pub const SpvOp__SpvOpDecorateStringGOOGLE : SpvOp_ = 5632 ; pub const SpvOp__SpvOpMemberDecorateStringGOOGLE : SpvOp_ = 5633 ; pub const SpvOp__SpvOpMax : SpvOp_ = 2147483647 ; pub type SpvOp_ = u32 ; pub use self :: SpvOp_ as SpvOp ; pub type int_least8_t = i8 ; pub type int_least16_t = i16 ; pub type int_least32_t = i32 ; pub type int_least64_t = i64 ; pub type uint_least8_t = u8 ; pub type uint_least16_t = u16 ; pub type uint_least32_t = u32 ; pub type uint_least64_t = u64 ; pub type int_fast8_t = i8 ; pub type int_fast16_t = i16 ; pub type int_fast32_t = i32 ; pub type int_fast64_t = i64 ; pub type uint_fast8_t = u8 ; pub type uint_fast16_t = u16 ; pub type uint_fast32_t = u32 ; pub type uint_fast64_t = u64 ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_longlong ; pub type __uint64_t = :: std :: os :: raw :: c_ulonglong ; pub type __darwin_intptr_t = :: std :: os :: raw :: c_long ; pub type __darwin_natural_t = :: std :: os :: raw :: c_uint ; pub type __darwin_ct_rune_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t { pub __mbstate8 : [ :: std :: os :: raw :: c_char ; 128usize ] , pub _mbstateL : :: std :: os :: raw :: c_longlong , _bindgen_union_align : [ u64 ; 16usize ] , } pub type __darwin_mbstate_t = __mbstate_t ; pub type __darwin_ptrdiff_t = :: std :: os :: raw :: c_long ; pub type __darwin_size_t = :: std :: os :: raw :: c_ulong ; pub type __darwin_va_list = __builtin_va_list ; pub type __darwin_wchar_t = :: std :: os :: raw :: c_int ; pub type __darwin_rune_t = __darwin_wchar_t ; pub type __darwin_wint_t = :: std :: os :: raw :: c_int ; pub type __darwin_clock_t = :: std :: os :: raw :: c_ulong ; pub type __darwin_socklen_t = __uint32_t ; pub type __darwin_ssize_t = :: std :: os :: raw :: c_long ; pub type __darwin_time_t = :: std :: os :: raw :: c_long ; pub type __darwin_blkcnt_t = __int64_t ; pub type __darwin_blksize_t = __int32_t ; pub type __darwin_dev_t = __int32_t ; pub type __darwin_fsblkcnt_t = :: std :: os :: raw :: c_uint ; pub type __darwin_fsfilcnt_t = :: std :: os :: raw :: c_uint ; pub type __darwin_gid_t = __uint32_t ; pub type __darwin_id_t = __uint32_t ; pub type __darwin_ino64_t = __uint64_t ; pub type __darwin_ino_t = __darwin_ino64_t ; pub type __darwin_mach_port_name_t = __darwin_natural_t ; pub type __darwin_mach_port_t = __darwin_mach_port_name_t ; pub type __darwin_mode_t = __uint16_t ; pub type __darwin_off_t = __int64_t ; pub type __darwin_pid_t = __int32_t ; pub type __darwin_sigset_t = __uint32_t ; pub type __darwin_suseconds_t = __int32_t ; pub type __darwin_uid_t = __uint32_t ; pub type __darwin_useconds_t = __uint32_t ; pub type __darwin_uuid_t = [ :: std :: os :: raw :: c_uchar ; 16usize ] ; pub type __darwin_uuid_string_t = [ :: std :: os :: raw :: c_char ; 37usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __darwin_pthread_handler_rec { pub __routine : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > , pub __arg : * mut :: std :: os :: raw :: c_void , pub __next : * mut __darwin_pthread_handler_rec , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_attr_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 56usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_cond_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 40usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _opaque_pthread_condattr_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 8usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_mutex_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 56usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _opaque_pthread_mutexattr_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 8usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _opaque_pthread_once_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 8usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_rwlock_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 192usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _opaque_pthread_rwlockattr_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 16usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_t { pub __sig : :: std :: os :: raw :: c_long , pub __cleanup_stack : * mut __darwin_pthread_handler_rec , pub __opaque : [ :: std :: os :: raw :: c_char ; 8176usize ] , } pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t ; pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t ; pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t ; pub type __darwin_pthread_key_t = :: std :: os :: raw :: c_ulong ; pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t ; pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t ; pub type __darwin_pthread_once_t = _opaque_pthread_once_t ; pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t ; pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t ; pub type __darwin_pthread_t = * mut _opaque_pthread_t ; pub type u_int8_t = :: std :: os :: raw :: c_uchar ; pub type u_int16_t = :: std :: os :: raw :: c_ushort ; pub type u_int32_t = :: std :: os :: raw :: c_uint ; pub type u_int64_t = :: std :: os :: raw :: c_ulonglong ; pub type register_t = i64 ; pub type user_addr_t = u_int64_t ; pub type user_size_t = u_int64_t ; pub type user_ssize_t = i64 ; pub type user_long_t = i64 ; pub type user_ulong_t = u_int64_t ; pub type user_time_t = i64 ; pub type user_off_t = i64 ; pub type syscall_arg_t = u_int64_t ; pub type intmax_t = :: std :: os :: raw :: c_long ; pub type uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __darwin_nl_item = :: std :: os :: raw :: c_int ; pub type __darwin_wctrans_t = :: std :: os :: raw :: c_int ; pub type __darwin_wctype_t = __uint32_t ; extern "C" { # [ link_name = "\u{1}_memchr" ] pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_memcmp" ] pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_memcpy" ] pub fn memcpy ( __dst : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_memmove" ] pub fn memmove ( __dst : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __len : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_memset" ] pub fn memset ( __b : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __len : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_strcat" ] pub fn strcat ( __s1 : * mut :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strchr" ] pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strcmp" ] pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strcoll" ] pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strcpy" ] pub fn strcpy ( __dst : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strcspn" ] pub fn strcspn ( __s : * const :: std :: os :: raw :: c_char , __charset : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strerror" ] pub fn strerror ( __errnum : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strlen" ] pub fn strlen ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strncat" ] pub fn strncat ( __s1 : * mut :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strncmp" ] pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strncpy" ] pub fn strncpy ( __dst : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strpbrk" ] pub fn strpbrk ( __s : * const :: std :: os :: raw :: c_char , __charset : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strrchr" ] pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strspn" ] pub fn strspn ( __s : * const :: std :: os :: raw :: c_char , __charset : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strstr" ] pub fn strstr ( __big : * const :: std :: os :: raw :: c_char , __little : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strtok" ] pub fn strtok ( __str : * mut :: std :: os :: raw :: c_char , __sep : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strxfrm" ] pub fn strxfrm ( __s1 : * mut :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strtok_r" ] pub fn strtok_r ( __str : * mut :: std :: os :: raw :: c_char , __sep : * const :: std :: os :: raw :: c_char , __lasts : * mut * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strerror_r" ] pub fn strerror_r ( __errnum : :: std :: os :: raw :: c_int , __strerrbuf : * mut :: std :: os :: raw :: c_char , __buflen : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strdup" ] pub fn strdup ( __s1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_memccpy" ] pub fn memccpy ( __dst : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_stpcpy" ] pub fn stpcpy ( __dst : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_stpncpy" ] pub fn stpncpy ( __dst : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strndup" ] pub fn strndup ( __s1 : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strnlen" ] pub fn strnlen ( __s1 : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { # [ link_name = "\u{1}_strsignal" ] pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } pub type rsize_t = __darwin_size_t ; pub type errno_t = :: std :: os :: raw :: c_int ; extern "C" { # [ link_name = "\u{1}_memset_s" ] pub fn memset_s ( __s : * mut :: std :: os :: raw :: c_void , __smax : rsize_t , __c : :: std :: os :: raw :: c_int , __n : rsize_t ) -> errno_t ; } extern "C" { # [ link_name = "\u{1}_memmem" ] pub fn memmem ( __big : * const :: std :: os :: raw :: c_void , __big_len : usize , __little : * const :: std :: os :: raw :: c_void , __little_len : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_memset_pattern4" ] pub fn memset_pattern4 ( __b : * mut :: std :: os :: raw :: c_void , __pattern4 : * const :: std :: os :: raw :: c_void , __len : usize ) ; } extern "C" { # [ link_name = "\u{1}_memset_pattern8" ] pub fn memset_pattern8 ( __b : * mut :: std :: os :: raw :: c_void , __pattern8 : * const :: std :: os :: raw :: c_void , __len : usize ) ; } extern "C" { # [ link_name = "\u{1}_memset_pattern16" ] pub fn memset_pattern16 ( __b : * mut :: std :: os :: raw :: c_void , __pattern16 : * const :: std :: os :: raw :: c_void , __len : usize ) ; } extern "C" { # [ link_name = "\u{1}_strcasestr" ] pub fn strcasestr ( __big : * const :: std :: os :: raw :: c_char , __little : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strnstr" ] pub fn strnstr ( __big : * const :: std :: os :: raw :: c_char , __little : * const :: std :: os :: raw :: c_char , __len : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strlcat" ] pub fn strlcat ( __dst : * mut :: std :: os :: raw :: c_char , __source : * const :: std :: os :: raw :: c_char , __size : usize ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strlcpy" ] pub fn strlcpy ( __dst : * mut :: std :: os :: raw :: c_char , __source : * const :: std :: os :: raw :: c_char , __size : usize ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strmode" ] pub fn strmode ( __mode : :: std :: os :: raw :: c_int , __bp : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { # [ link_name = "\u{1}_strsep" ] pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_swab" ] pub fn swab ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : isize ) ; } extern "C" { # [ link_name = "\u{1}_timingsafe_bcmp" ] pub fn timingsafe_bcmp ( __b1 : * const :: std :: os :: raw :: c_void , __b2 : * const :: std :: os :: raw :: c_void , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_bcmp" ] pub fn bcmp ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void , arg3 : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_bcopy" ] pub fn bcopy ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) ; } extern "C" { # [ link_name = "\u{1}_bzero" ] pub fn bzero ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : usize ) ; } extern "C" { # [ link_name = "\u{1}_index" ] pub fn index ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_rindex" ] pub fn rindex ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_ffs" ] pub fn ffs ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strcasecmp" ] pub fn strcasecmp ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strncasecmp" ] pub fn strncasecmp ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char , arg3 : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_ffsl" ] pub fn ffsl ( arg1 : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_ffsll" ] pub fn ffsll ( arg1 : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_fls" ] pub fn fls ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_flsl" ] pub fn flsl ( arg1 : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_flsll" ] pub fn flsll ( arg1 : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } pub const SpvReflectResult_SPV_REFLECT_RESULT_SUCCESS : SpvReflectResult = 0 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_NOT_READY : SpvReflectResult = 1 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_PARSE_FAILED : SpvReflectResult = 2 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_ALLOC_FAILED : SpvReflectResult = 3 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_RANGE_EXCEEDED : SpvReflectResult = 4 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_NULL_POINTER : SpvReflectResult = 5 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_INTERNAL_ERROR : SpvReflectResult = 6 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_COUNT_MISMATCH : SpvReflectResult = 7 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_ELEMENT_NOT_FOUND : SpvReflectResult = 8 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_CODE_SIZE : SpvReflectResult = 9 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_MAGIC_NUMBER : SpvReflectResult = 10 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_UNEXPECTED_EOF : SpvReflectResult = 11 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_ID_REFERENCE : SpvReflectResult = 12 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_SET_NUMBER_OVERFLOW : SpvReflectResult = 13 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_STORAGE_CLASS : SpvReflectResult = 14 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_RECURSION : SpvReflectResult = 15 ;
/// @enum SpvReflectResult
pub type SpvReflectResult = u32 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_UNDEFINED : SpvReflectTypeFlagBits = 0 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_VOID : SpvReflectTypeFlagBits = 1 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_BOOL : SpvReflectTypeFlagBits = 2 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_INT : SpvReflectTypeFlagBits = 4 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_FLOAT : SpvReflectTypeFlagBits = 8 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_VECTOR : SpvReflectTypeFlagBits = 256 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_MATRIX : SpvReflectTypeFlagBits = 512 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_IMAGE : SpvReflectTypeFlagBits = 65536 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_SAMPLER : SpvReflectTypeFlagBits = 131072 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_SAMPLED_IMAGE : SpvReflectTypeFlagBits = 262144 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_BLOCK : SpvReflectTypeFlagBits = 524288 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_MASK : SpvReflectTypeFlagBits = 983040 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_STRUCT : SpvReflectTypeFlagBits = 268435456 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_ARRAY : SpvReflectTypeFlagBits = 536870912 ;
/// @enum SpvReflectTypeFlagBits
pub type SpvReflectTypeFlagBits = u32 ; pub type SpvReflectTypeFlags = u32 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NONE : SpvReflectDecorationFlagBits = 0 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BLOCK : SpvReflectDecorationFlagBits = 1 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BUFFER_BLOCK : SpvReflectDecorationFlagBits = 2 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_ROW_MAJOR : SpvReflectDecorationFlagBits = 4 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_COLUMN_MAJOR : SpvReflectDecorationFlagBits = 8 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BUILT_IN : SpvReflectDecorationFlagBits = 16 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NOPERSPECTIVE : SpvReflectDecorationFlagBits = 32 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_FLAT : SpvReflectDecorationFlagBits = 64 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NON_WRITABLE : SpvReflectDecorationFlagBits = 128 ;
/// @enum SpvReflectDecorationBits
pub type SpvReflectDecorationFlagBits = u32 ; pub type SpvReflectDecorationFlags = u32 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_UNDEFINED : SpvReflectResourceType = 0 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_SAMPLER : SpvReflectResourceType = 1 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_CBV : SpvReflectResourceType = 2 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_SRV : SpvReflectResourceType = 4 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_UAV : SpvReflectResourceType = 8 ;
/// @enum SpvReflectResourceType
pub type SpvReflectResourceType = u32 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_UNDEFINED : SpvReflectFormat = 0 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_UINT : SpvReflectFormat = 98 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_SINT : SpvReflectFormat = 99 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_SFLOAT : SpvReflectFormat = 100 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_UINT : SpvReflectFormat = 101 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_SINT : SpvReflectFormat = 102 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_SFLOAT : SpvReflectFormat = 103 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_UINT : SpvReflectFormat = 104 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_SINT : SpvReflectFormat = 105 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_SFLOAT : SpvReflectFormat = 106 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_UINT : SpvReflectFormat = 107 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_SINT : SpvReflectFormat = 108 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_SFLOAT : SpvReflectFormat = 109 ;
/// @enum SpvReflectFormat
pub type SpvReflectFormat = u32 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_SAMPLER : SpvReflectDescriptorType = 0 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER : SpvReflectDescriptorType = 1 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_SAMPLED_IMAGE : SpvReflectDescriptorType = 2 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_IMAGE : SpvReflectDescriptorType = 3 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER : SpvReflectDescriptorType = 4 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER : SpvReflectDescriptorType = 5 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_BUFFER : SpvReflectDescriptorType = 6 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_BUFFER : SpvReflectDescriptorType = 7 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC : SpvReflectDescriptorType = 8 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC : SpvReflectDescriptorType = 9 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_INPUT_ATTACHMENT : SpvReflectDescriptorType = 10 ;
/// @enum SpvReflectDescriptorType
pub type SpvReflectDescriptorType = u32 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_VERTEX_BIT : SpvReflectShaderStageFlagBits = 1 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_TESSELLATION_CONTROL_BIT : SpvReflectShaderStageFlagBits = 2 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_TESSELLATION_EVALUATION_BIT : SpvReflectShaderStageFlagBits = 4 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_GEOMETRY_BIT : SpvReflectShaderStageFlagBits = 8 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_FRAGMENT_BIT : SpvReflectShaderStageFlagBits = 16 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_COMPUTE_BIT : SpvReflectShaderStageFlagBits = 32 ;
/// @enum SpvReflectShaderStageFlagBits
pub type SpvReflectShaderStageFlagBits = u32 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_LLVM_SPIRV_TRANSLATOR : SpvReflectGenerator = 6 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_SPIRV_TOOLS_ASSEMBLER : SpvReflectGenerator = 7 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_GLSLANG_REFERENCE_FRONT_END : SpvReflectGenerator = 8 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_SHADERC_OVER_GLSLANG : SpvReflectGenerator = 13 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_SPIREGG : SpvReflectGenerator = 14 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_RSPIRV : SpvReflectGenerator = 15 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_X_LEGEND_MESA_MESAIR_SPIRV_TRANSLATOR : SpvReflectGenerator = 16 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_SPIRV_TOOLS_LINKER : SpvReflectGenerator = 17 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_WINE_VKD3D_SHADER_COMPILER : SpvReflectGenerator = 18 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_CLAY_CLAY_SHADER_COMPILER : SpvReflectGenerator = 19 ;
/// @enum SpvReflectGenerator
pub type SpvReflectGenerator = u32 ; pub const SPV_REFLECT_MAX_ARRAY_DIMS : _bindgen_ty_1 = 32 ; pub const SPV_REFLECT_MAX_DESCRIPTOR_SETS : _bindgen_ty_1 = 64 ; pub type _bindgen_ty_1 = u32 ; pub const SPV_REFLECT_BINDING_NUMBER_DONT_CHANGE : _bindgen_ty_2 = -1 ; pub const SPV_REFLECT_SET_NUMBER_DONT_CHANGE : _bindgen_ty_2 = -1 ; pub type _bindgen_ty_2 = i32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectNumericTraits { pub scalar : SpvReflectNumericTraits_Scalar , pub vector : SpvReflectNumericTraits_Vector , pub matrix : SpvReflectNumericTraits_Matrix , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectNumericTraits_Scalar { pub width : u32 , pub signedness : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectNumericTraits_Vector { pub component_count : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectNumericTraits_Matrix { pub column_count : u32 , pub row_count : u32 , pub stride : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectImageTraits { pub dim : SpvDim , pub depth : u32 , pub arrayed : u32 , pub ms : u32 , pub sampled : u32 , pub image_format : SpvImageFormat , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectArrayTraits { pub dims_count : u32 , pub dims : [ u32 ; 32usize ] , pub stride : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectBindingArrayTraits { pub dims_count : u32 , pub dims : [ u32 ; 32usize ] , }
/// @struct SpvReflectTypeDescription
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectTypeDescription { pub id : u32 , pub op : SpvOp , pub type_name : * const :: std :: os :: raw :: c_char , pub struct_member_name : * const :: std :: os :: raw :: c_char , pub storage_class : SpvStorageClass , pub type_flags : SpvReflectTypeFlags , pub decoration_flags : SpvReflectDecorationFlags , pub traits : SpvReflectTypeDescription_Traits , pub member_count : u32 , pub members : * mut SpvReflectTypeDescription , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectTypeDescription_Traits { pub numeric : SpvReflectNumericTraits , pub image : SpvReflectImageTraits , pub array : SpvReflectArrayTraits , }
/// @struct SpvReflectInterfaceVariable
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectInterfaceVariable { pub spirv_id : u32 , pub name : * const :: std :: os :: raw :: c_char , pub location : u32 , pub storage_class : SpvStorageClass , pub semantic : * const :: std :: os :: raw :: c_char , pub decoration_flags : SpvReflectDecorationFlags , pub built_in : SpvBuiltIn , pub numeric : SpvReflectNumericTraits , pub array : SpvReflectArrayTraits , pub member_count : u32 , pub members : * mut SpvReflectInterfaceVariable , pub format : SpvReflectFormat , pub type_description : * mut SpvReflectTypeDescription , pub word_offset : SpvReflectInterfaceVariable__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectInterfaceVariable__bindgen_ty_1 { pub location : u32 , }
/// @struct SpvReflectBlockVariable
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectBlockVariable { pub spirv_id : u32 , pub name : * const :: std :: os :: raw :: c_char , pub offset : u32 , pub absolute_offset : u32 , pub size : u32 , pub padded_size : u32 , pub decoration_flags : SpvReflectDecorationFlags , pub numeric : SpvReflectNumericTraits , pub array : SpvReflectArrayTraits , pub member_count : u32 , pub members : * mut SpvReflectBlockVariable , pub type_description : * mut SpvReflectTypeDescription , }
/// @struct SpvReflectDescriptorBinding
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectDescriptorBinding { pub spirv_id : u32 , pub name : * const :: std :: os :: raw :: c_char , pub binding : u32 , pub input_attachment_index : u32 , pub set : u32 , pub descriptor_type : SpvReflectDescriptorType , pub resource_type : SpvReflectResourceType , pub image : SpvReflectImageTraits , pub block : SpvReflectBlockVariable , pub array : SpvReflectBindingArrayTraits , pub count : u32 , pub uav_counter_id : u32 , pub uav_counter_binding : * mut SpvReflectDescriptorBinding , pub type_description : * mut SpvReflectTypeDescription , pub word_offset : SpvReflectDescriptorBinding__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectDescriptorBinding__bindgen_ty_1 { pub binding : u32 , pub set : u32 , }
/// @struct SpvReflectDescriptorSet
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectDescriptorSet { pub set : u32 , pub binding_count : u32 , pub bindings : * mut * mut SpvReflectDescriptorBinding , }
/// @struct SpvReflectEntryPoint
///
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectEntryPoint { pub name : * const :: std :: os :: raw :: c_char , pub id : u32 , pub spirv_execution_model : SpvExecutionModel , pub shader_stage : SpvReflectShaderStageFlagBits , pub input_variable_count : u32 , pub input_variables : * mut SpvReflectInterfaceVariable , pub output_variable_count : u32 , pub output_variables : * mut SpvReflectInterfaceVariable , pub descriptor_set_count : u32 , pub descriptor_sets : * mut SpvReflectDescriptorSet , pub used_uniform_count : u32 , pub used_uniforms : * mut u32 , pub used_push_constant_count : u32 , pub used_push_constants : * mut u32 , }
/// @struct SpvReflectShaderModule
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct SpvReflectShaderModule { pub generator : SpvReflectGenerator , pub entry_point_name : * const :: std :: os :: raw :: c_char , pub entry_point_id : u32 , pub entry_point_count : u32 , pub entry_points : * mut SpvReflectEntryPoint , pub source_language : SpvSourceLanguage , pub source_language_version : u32 , pub source_file : * const :: std :: os :: raw :: c_char , pub source_source : * const :: std :: os :: raw :: c_char , pub spirv_execution_model : SpvExecutionModel , pub shader_stage : SpvReflectShaderStageFlagBits , pub descriptor_binding_count : u32 , pub descriptor_bindings : * mut SpvReflectDescriptorBinding , pub descriptor_set_count : u32 , pub descriptor_sets : [ SpvReflectDescriptorSet ; 64usize ] , pub input_variable_count : u32 , pub input_variables : * mut SpvReflectInterfaceVariable , pub output_variable_count : u32 , pub output_variables : * mut SpvReflectInterfaceVariable , pub push_constant_block_count : u32 , pub push_constant_blocks : * mut SpvReflectBlockVariable , pub _internal : * mut SpvReflectShaderModule_Internal , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectShaderModule_Internal { pub spirv_size : usize , pub spirv_code : * mut u32 , pub spirv_word_count : u32 , pub type_description_count : usize , pub type_descriptions : * mut SpvReflectTypeDescription , } extern "C" {
/// @fn spvReflectCreateShaderModule
///
///@param size Size in bytes of SPIR-V code.
///@param p_code Pointer to SPIR-V code.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return SPV_REFLECT_RESULT_SUCCESS on success.
# [ link_name = "\u{1}_spvReflectCreateShaderModule" ] pub fn spvReflectCreateShaderModule ( size : usize , p_code : * const :: std :: os :: raw :: c_void , p_module : * mut SpvReflectShaderModule ) -> SpvReflectResult ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetShaderModule" ] pub fn spvReflectGetShaderModule ( size : usize , p_code : * const :: std :: os :: raw :: c_void , p_module : * mut SpvReflectShaderModule ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectDestroyShaderModule
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
# [ link_name = "\u{1}_spvReflectDestroyShaderModule" ] pub fn spvReflectDestroyShaderModule ( p_module : * mut SpvReflectShaderModule ) ; } extern "C" {
/// @fn spvReflectGetCodeSize
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return Returns the size of the SPIR-V in bytes
# [ link_name = "\u{1}_spvReflectGetCodeSize" ] pub fn spvReflectGetCodeSize ( p_module : * const SpvReflectShaderModule ) -> u32 ; } extern "C" {
/// @fn spvReflectGetCode
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return Returns a const pointer to the compiled SPIR-V bytecode.
# [ link_name = "\u{1}_spvReflectGetCode" ] pub fn spvReflectGetCode ( p_module : * const SpvReflectShaderModule ) -> * const u32 ; } extern "C" {
/// @fn spvReflectGetEntryPoint
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point Name of the requested entry point.
///@return Returns a const pointer to the requested entry point,
///or NULL if it's not found.
# [ link_name = "\u{1}_spvReflectGetEntryPoint" ] pub fn spvReflectGetEntryPoint ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char ) -> * const SpvReflectEntryPoint ; } extern "C" {
/// @fn spvReflectEnumerateDescriptorBindings
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_bindings is NULL, the module's descriptor binding
///count (across all descriptor sets) will be stored here.
///If pp_bindings is not NULL, *p_count must contain the
///module's descriptor binding count.
///@param pp_bindings If NULL, the module's total descriptor binding count
///will be written to *p_count.
///If non-NULL, pp_bindings must point to an array with
///p_count entries, where pointers to the module's
///descriptor bindings will be written. The caller must not
///free the binding pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateDescriptorBindings" ] pub fn spvReflectEnumerateDescriptorBindings ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_bindings : * mut * mut SpvReflectDescriptorBinding ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointDescriptorBindings
///@brief Creates a listing of all descriptor bindings that are used in the
///static call tree of the given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the descriptor bindings for.
///@param p_count If pp_bindings is NULL, the entry point's descriptor binding
///count (across all descriptor sets) will be stored here.
///If pp_bindings is not NULL, *p_count must contain the
///entry points's descriptor binding count.
///@param pp_bindings If NULL, the entry point's total descriptor binding count
///will be written to *p_count.
///If non-NULL, pp_bindings must point to an array with
///p_count entries, where pointers to the entry point's
///descriptor bindings will be written. The caller must not
///free the binding pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointDescriptorBindings" ] pub fn spvReflectEnumerateEntryPointDescriptorBindings ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_bindings : * mut * mut SpvReflectDescriptorBinding ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateDescriptorSets
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_sets is NULL, the module's descriptor set
///count will be stored here.
///If pp_sets is not NULL, *p_count must contain the
///module's descriptor set count.
///@param pp_sets If NULL, the module's total descriptor set count
///will be written to *p_count.
///If non-NULL, pp_sets must point to an array with
///p_count entries, where pointers to the module's
///descriptor sets will be written. The caller must not
///free the descriptor set pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateDescriptorSets" ] pub fn spvReflectEnumerateDescriptorSets ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_sets : * mut * mut SpvReflectDescriptorSet ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointDescriptorSets
///@brief Creates a listing of all descriptor sets and their bindings that are
///used in the static call tree of a given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the descriptor bindings for.
///@param p_count If pp_sets is NULL, the module's descriptor set
///count will be stored here.
///If pp_sets is not NULL, *p_count must contain the
///module's descriptor set count.
///@param pp_sets If NULL, the module's total descriptor set count
///will be written to *p_count.
///If non-NULL, pp_sets must point to an array with
///p_count entries, where pointers to the module's
///descriptor sets will be written. The caller must not
///free the descriptor set pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointDescriptorSets" ] pub fn spvReflectEnumerateEntryPointDescriptorSets ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_sets : * mut * mut SpvReflectDescriptorSet ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateInputVariables
///@brief If the module contains multiple entry points, this will only get
///the input variables for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the module's input variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the module's input variable count.
///@param pp_variables If NULL, the module's input variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the module's
///input variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateInputVariables" ] pub fn spvReflectEnumerateInputVariables ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_variables : * mut * mut SpvReflectInterfaceVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointInputVariables
///@brief Enumerate the input variables for a given entry point.
///@param entry_point The name of the entry point to get the input variables for.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the entry point's input variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the entry point's input variable count.
///@param pp_variables If NULL, the entry point's input variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the entry point's
///input variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointInputVariables" ] pub fn spvReflectEnumerateEntryPointInputVariables ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_variables : * mut * mut SpvReflectInterfaceVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateOutputVariables
///@brief Note: If the module contains multiple entry points, this will only get
///the output variables for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the module's output variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the module's output variable count.
///@param pp_variables If NULL, the module's output variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the module's
///output variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateOutputVariables" ] pub fn spvReflectEnumerateOutputVariables ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_variables : * mut * mut SpvReflectInterfaceVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointOutputVariables
///@brief Enumerate the output variables for a given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the output variables for.
///@param p_count If pp_variables is NULL, the entry point's output variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the entry point's output variable count.
///@param pp_variables If NULL, the entry point's output variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the entry point's
///output variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointOutputVariables" ] pub fn spvReflectEnumerateEntryPointOutputVariables ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_variables : * mut * mut SpvReflectInterfaceVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumeratePushConstantBlocks
///@brief Note: If the module contains multiple entry points, this will only get
///the push constant blocks for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_blocks is NULL, the module's push constant
///block count will be stored here.
///If pp_blocks is not NULL, *p_count must
///contain the module's push constant block count.
///@param pp_blocks If NULL, the module's push constant block count
///will be written to *p_count.
///If non-NULL, pp_blocks must point to an
///array with *p_count entries, where pointers to
///the module's push constant blocks will be written.
///The caller must not free the block variables written
///to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumeratePushConstantBlocks" ] pub fn spvReflectEnumeratePushConstantBlocks ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_blocks : * mut * mut SpvReflectBlockVariable ) -> SpvReflectResult ; } extern "C" { # [ link_name = "\u{1}_spvReflectEnumeratePushConstants" ] pub fn spvReflectEnumeratePushConstants ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_blocks : * mut * mut SpvReflectBlockVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointPushConstantBlocks
///@brief Enumerate the push constant blocks used in the static call tree of a
///given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_blocks is NULL, the entry point's push constant
///block count will be stored here.
///If pp_blocks is not NULL, *p_count must
///contain the entry point's push constant block count.
///@param pp_blocks If NULL, the entry point's push constant block count
///will be written to *p_count.
///If non-NULL, pp_blocks must point to an
///array with *p_count entries, where pointers to
///the entry point's push constant blocks will be written.
///The caller must not free the block variables written
///to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointPushConstantBlocks" ] pub fn spvReflectEnumerateEntryPointPushConstantBlocks ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_blocks : * mut * mut SpvReflectBlockVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectGetDescriptorBinding
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param binding_number The "binding" value of the requested descriptor
///binding.
///@param set_number The "set" value of the requested descriptor binding.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the module contains a descriptor binding that
///matches the provided [binding_number, set_number]
///values, a pointer to that binding is returned. The
///caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
///@note If the module contains multiple desriptor bindings
///with the same set and binding numbers, there are
///no guarantees about which binding will be returned.
# [ link_name = "\u{1}_spvReflectGetDescriptorBinding" ] pub fn spvReflectGetDescriptorBinding ( p_module : * const SpvReflectShaderModule , binding_number : u32 , set_number : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectDescriptorBinding ; } extern "C" {
/// @fn spvReflectGetEntryPointDescriptorBinding
///@brief Get the descriptor binding with the given binding number and set
///number that is used in the static call tree of a certain entry
///point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the binding from.
///@param binding_number The "binding" value of the requested descriptor
///binding.
///@param set_number The "set" value of the requested descriptor binding.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the entry point contains a descriptor binding that
///matches the provided [binding_number, set_number]
///values, a pointer to that binding is returned. The
///caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
///@note If the entry point contains multiple desriptor bindings
///with the same set and binding numbers, there are
///no guarantees about which binding will be returned.
# [ link_name = "\u{1}_spvReflectGetEntryPointDescriptorBinding" ] pub fn spvReflectGetEntryPointDescriptorBinding ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , binding_number : u32 , set_number : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectDescriptorBinding ; } extern "C" {
/// @fn spvReflectGetDescriptorSet
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param set_number The "set" value of the requested descriptor set.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the module contains a descriptor set with the
///provided set_number, a pointer to that set is
///returned. The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
# [ link_name = "\u{1}_spvReflectGetDescriptorSet" ] pub fn spvReflectGetDescriptorSet ( p_module : * const SpvReflectShaderModule , set_number : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectDescriptorSet ; } extern "C" {
/// @fn spvReflectGetEntryPointDescriptorSet
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the descriptor set from.
///@param set_number The "set" value of the requested descriptor set.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the entry point contains a descriptor set with the
///provided set_number, a pointer to that set is
///returned. The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
# [ link_name = "\u{1}_spvReflectGetEntryPointDescriptorSet" ] pub fn spvReflectGetEntryPointDescriptorSet ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , set_number : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectDescriptorSet ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetInputVariableByLocation" ] pub fn spvReflectGetInputVariableByLocation ( p_module : * const SpvReflectShaderModule , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetInputVariable" ] pub fn spvReflectGetInputVariable ( p_module : * const SpvReflectShaderModule , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetEntryPointInputVariableByLocation" ] pub fn spvReflectGetEntryPointInputVariableByLocation ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetInputVariableBySemantic" ] pub fn spvReflectGetInputVariableBySemantic ( p_module : * const SpvReflectShaderModule , semantic : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetEntryPointInputVariableBySemantic" ] pub fn spvReflectGetEntryPointInputVariableBySemantic ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , semantic : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetOutputVariableByLocation" ] pub fn spvReflectGetOutputVariableByLocation ( p_module : * const SpvReflectShaderModule , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetOutputVariable" ] pub fn spvReflectGetOutputVariable ( p_module : * const SpvReflectShaderModule , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetEntryPointOutputVariableByLocation" ] pub fn spvReflectGetEntryPointOutputVariableByLocation ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetOutputVariableBySemantic" ] pub fn spvReflectGetOutputVariableBySemantic ( p_module : * const SpvReflectShaderModule , semantic : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetEntryPointOutputVariableBySemantic" ] pub fn spvReflectGetEntryPointOutputVariableBySemantic ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , semantic : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" {
/// @fn spvReflectGetPushConstantBlock
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param index The index of the desired block within the module's
///array of push constant blocks.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the provided index is within range, a pointer to
///the corresponding push constant block is returned.
///The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
# [ link_name = "\u{1}_spvReflectGetPushConstantBlock" ] pub fn spvReflectGetPushConstantBlock ( p_module : * const SpvReflectShaderModule , index : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectBlockVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetPushConstant" ] pub fn spvReflectGetPushConstant ( p_module : * const SpvReflectShaderModule , index : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectBlockVariable ; } extern "C" {
/// @fn spvReflectGetEntryPointPushConstantBlock
///@brief Get the push constant block corresponding to the given entry point.
///As by the Vulkan specification there can be no more than one push
///constant block used by a given entry point, so if there is one it will
///be returned, otherwise NULL will be returned.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the push constant block from.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the provided index is within range, a pointer to
///the corresponding push constant block is returned.
///The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
# [ link_name = "\u{1}_spvReflectGetEntryPointPushConstantBlock" ] pub fn spvReflectGetEntryPointPushConstantBlock ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectBlockVariable ; } extern "C" {
/// @fn spvReflectChangeDescriptorBindingNumbers
///@brief Assign new set and/or binding numbers to a descriptor binding.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode(). If the binding is used in multiple
///entry points within the module, it will be changed in all of them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_binding Pointer to the descriptor binding to modify.
///@param new_binding_number The new binding number to assign to the
///provided descriptor binding.
///To leave the binding number unchanged, pass
///SPV_REFLECT_BINDING_NUMBER_DONT_CHANGE.
///@param new_set_number The new set number to assign to the
///provided descriptor binding. Successfully changing
///a descriptor binding's set number invalidates all
///existing SpvReflectDescriptorBinding and
///SpvReflectDescriptorSet pointers from this module.
///To leave the set number unchanged, pass
///SPV_REFLECT_SET_NUMBER_DONT_CHANGE.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
# [ link_name = "\u{1}_spvReflectChangeDescriptorBindingNumbers" ] pub fn spvReflectChangeDescriptorBindingNumbers ( p_module : * mut SpvReflectShaderModule , p_binding : * const SpvReflectDescriptorBinding , new_binding_number : u32 , new_set_number : u32 ) -> SpvReflectResult ; } extern "C" { # [ link_name = "\u{1}_spvReflectChangeDescriptorBindingNumber" ] pub fn spvReflectChangeDescriptorBindingNumber ( p_module : * mut SpvReflectShaderModule , p_descriptor_binding : * const SpvReflectDescriptorBinding , new_binding_number : u32 , optional_new_set_number : u32 ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectChangeDescriptorSetNumber
///@brief Assign a new set number to an entire descriptor set (including
///all descriptor bindings in that set).
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode(). If the descriptor set is used in
///multiple entry points within the module, it will be modified in all
///of them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_set Pointer to the descriptor binding to modify.
///@param new_set_number The new set number to assign to the
///provided descriptor set, and all its descriptor
///bindings. Successfully changing a descriptor
///binding's set number invalidates all existing
///SpvReflectDescriptorBinding and
///SpvReflectDescriptorSet pointers from this module.
///To leave the set number unchanged, pass
///SPV_REFLECT_SET_NUMBER_DONT_CHANGE.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
# [ link_name = "\u{1}_spvReflectChangeDescriptorSetNumber" ] pub fn spvReflectChangeDescriptorSetNumber ( p_module : * mut SpvReflectShaderModule , p_set : * const SpvReflectDescriptorSet , new_set_number : u32 ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectChangeInputVariableLocation
///@brief Assign a new location to an input interface variable.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode().
///It is the caller's responsibility to avoid assigning the same
///location to multiple input variables. If the input variable is used
///by multiple entry points in the module, it will be changed in all of
///them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_input_variable Pointer to the input variable to update.
///@param new_location The new location to assign to p_input_variable.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
# [ link_name = "\u{1}_spvReflectChangeInputVariableLocation" ] pub fn spvReflectChangeInputVariableLocation ( p_module : * mut SpvReflectShaderModule , p_input_variable : * const SpvReflectInterfaceVariable , new_location : u32 ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectChangeOutputVariableLocation
///@brief Assign a new location to an output interface variable.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode().
///It is the caller's responsibility to avoid assigning the same
///location to multiple output variables. If the output variable is used
///by multiple entry points in the module, it will be changed in all of
///them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_output_variable Pointer to the output variable to update.
///@param new_location The new location to assign to p_output_variable.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
# [ link_name = "\u{1}_spvReflectChangeOutputVariableLocation" ] pub fn spvReflectChangeOutputVariableLocation ( p_module : * mut SpvReflectShaderModule , p_output_variable : * const SpvReflectInterfaceVariable , new_location : u32 ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectSourceLanguage
///
///@param source_lang The source language code.
///@return Returns string of source language specified in \a source_lang.
///The caller must not free the memory associated with this string.
# [ link_name = "\u{1}_spvReflectSourceLanguage" ] pub fn spvReflectSourceLanguage ( source_lang : SpvSourceLanguage ) -> * const :: std :: os :: raw :: c_char ; } pub type __builtin_va_list = [ __va_list_tag ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , }
Formatting with the RLS rustfmt from vscode:
/* automatically generated by rust-bindgen */
pub const SPV_VERSION: u32 = 66304;
pub const SPV_REVISION: u32 = 1;
pub const __WORDSIZE: u32 = 64;
pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 0;
pub const __DARWIN_ONLY_VERS_1050: u32 = 0;
pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
pub const __DARWIN_UNIX03: u32 = 1;
pub const __DARWIN_64_BIT_INO_T: u32 = 1;
pub const __DARWIN_VERS_1050: u32 = 1;
pub const __DARWIN_NON_CANCELABLE: u32 = 0;
pub const __DARWIN_SUF_64_BIT_INO_T: &'static [u8; 9usize] = b"$INODE64\0";
pub const __DARWIN_SUF_1050: &'static [u8; 6usize] = b"$1050\0";
pub const __DARWIN_SUF_EXTSN: &'static [u8; 14usize] = b"$DARWIN_EXTSN\0";
pub const __DARWIN_C_ANSI: u32 = 4096;
pub const __DARWIN_C_FULL: u32 = 900000;
pub const __DARWIN_C_LEVEL: u32 = 900000;
pub const __STDC_WANT_LIB_EXT1__: u32 = 1;
pub const __DARWIN_NO_LONG_LONG: u32 = 0;
pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1;
pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1;
pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3;
pub const __PTHREAD_SIZE__: u32 = 8176;
pub const __PTHREAD_ATTR_SIZE__: u32 = 56;
pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8;
pub const __PTHREAD_MUTEX_SIZE__: u32 = 56;
pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8;
pub const __PTHREAD_COND_SIZE__: u32 = 40;
pub const __PTHREAD_ONCE_SIZE__: u32 = 8;
pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192;
pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16;
pub const INT8_MAX: u32 = 127;
pub const INT16_MAX: u32 = 32767;
pub const INT32_MAX: u32 = 2147483647;
pub const INT64_MAX: u64 = 9223372036854775807;
pub const INT8_MIN: i32 = -128;
pub const INT16_MIN: i32 = -32768;
pub const INT32_MIN: i32 = -2147483648;
pub const INT64_MIN: i64 = -9223372036854775808;
pub const UINT8_MAX: u32 = 255;
pub const UINT16_MAX: u32 = 65535;
pub const UINT32_MAX: u32 = 4294967295;
pub const UINT64_MAX: i32 = -1;
pub const INT_LEAST8_MIN: i32 = -128;
pub const INT_LEAST16_MIN: i32 = -32768;
pub const INT_LEAST32_MIN: i32 = -2147483648;
pub const INT_LEAST64_MIN: i64 = -9223372036854775808;
pub const INT_LEAST8_MAX: u32 = 127;
pub const INT_LEAST16_MAX: u32 = 32767;
pub const INT_LEAST32_MAX: u32 = 2147483647;
pub const INT_LEAST64_MAX: u64 = 9223372036854775807;
pub const UINT_LEAST8_MAX: u32 = 255;
pub const UINT_LEAST16_MAX: u32 = 65535;
pub const UINT_LEAST32_MAX: u32 = 4294967295;
pub const UINT_LEAST64_MAX: i32 = -1;
pub const INT_FAST8_MIN: i32 = -128;
pub const INT_FAST16_MIN: i32 = -32768;
pub const INT_FAST32_MIN: i32 = -2147483648;
pub const INT_FAST64_MIN: i64 = -9223372036854775808;
pub const INT_FAST8_MAX: u32 = 127;
pub const INT_FAST16_MAX: u32 = 32767;
pub const INT_FAST32_MAX: u32 = 2147483647;
pub const INT_FAST64_MAX: u64 = 9223372036854775807;
pub const UINT_FAST8_MAX: u32 = 255;
pub const UINT_FAST16_MAX: u32 = 65535;
pub const UINT_FAST32_MAX: u32 = 4294967295;
pub const UINT_FAST64_MAX: i32 = -1;
pub const INTPTR_MAX: u64 = 9223372036854775807;
pub const INTPTR_MIN: i64 = -9223372036854775808;
pub const UINTPTR_MAX: i32 = -1;
pub const INTMAX_MIN: i64 = -9223372036854775808;
pub const INTMAX_MAX: u64 = 9223372036854775807;
pub const UINTMAX_MAX: i32 = -1;
pub const PTRDIFF_MIN: i64 = -9223372036854775808;
pub const PTRDIFF_MAX: u64 = 9223372036854775807;
pub const SIZE_MAX: i32 = -1;
pub const RSIZE_MAX: i32 = -1;
pub const WINT_MIN: i32 = -2147483648;
pub const WINT_MAX: u32 = 2147483647;
pub const SIG_ATOMIC_MIN: i32 = -2147483648;
pub const SIG_ATOMIC_MAX: u32 = 2147483647;
pub const __DARWIN_WCHAR_MIN: i32 = -2147483648;
pub const _FORTIFY_SOURCE: u32 = 2;
pub const __MAC_10_0: u32 = 1000;
pub const __MAC_10_1: u32 = 1010;
pub const __MAC_10_2: u32 = 1020;
pub const __MAC_10_3: u32 = 1030;
pub const __MAC_10_4: u32 = 1040;
pub const __MAC_10_5: u32 = 1050;
pub const __MAC_10_6: u32 = 1060;
pub const __MAC_10_7: u32 = 1070;
pub const __MAC_10_8: u32 = 1080;
pub const __MAC_10_9: u32 = 1090;
pub const __MAC_10_10: u32 = 101000;
pub const __MAC_10_10_2: u32 = 101002;
pub const __MAC_10_10_3: u32 = 101003;
pub const __MAC_10_11: u32 = 101100;
pub const __MAC_10_11_2: u32 = 101102;
pub const __MAC_10_11_3: u32 = 101103;
pub const __MAC_10_11_4: u32 = 101104;
pub const __MAC_10_12: u32 = 101200;
pub const __MAC_10_12_1: u32 = 101201;
pub const __MAC_10_12_2: u32 = 101202;
pub const __MAC_10_12_4: u32 = 101204;
pub const __MAC_10_13: u32 = 101300;
pub const __MAC_10_13_1: u32 = 101301;
pub const __MAC_10_13_2: u32 = 101302;
pub const __MAC_10_13_4: u32 = 101304;
pub const __IPHONE_2_0: u32 = 20000;
pub const __IPHONE_2_1: u32 = 20100;
pub const __IPHONE_2_2: u32 = 20200;
pub const __IPHONE_3_0: u32 = 30000;
pub const __IPHONE_3_1: u32 = 30100;
pub const __IPHONE_3_2: u32 = 30200;
pub const __IPHONE_4_0: u32 = 40000;
pub const __IPHONE_4_1: u32 = 40100;
pub const __IPHONE_4_2: u32 = 40200;
pub const __IPHONE_4_3: u32 = 40300;
pub const __IPHONE_5_0: u32 = 50000;
pub const __IPHONE_5_1: u32 = 50100;
pub const __IPHONE_6_0: u32 = 60000;
pub const __IPHONE_6_1: u32 = 60100;
pub const __IPHONE_7_0: u32 = 70000;
pub const __IPHONE_7_1: u32 = 70100;
pub const __IPHONE_8_0: u32 = 80000;
pub const __IPHONE_8_1: u32 = 80100;
pub const __IPHONE_8_2: u32 = 80200;
pub const __IPHONE_8_3: u32 = 80300;
pub const __IPHONE_8_4: u32 = 80400;
pub const __IPHONE_9_0: u32 = 90000;
pub const __IPHONE_9_1: u32 = 90100;
pub const __IPHONE_9_2: u32 = 90200;
pub const __IPHONE_9_3: u32 = 90300;
pub const __IPHONE_10_0: u32 = 100000;
pub const __IPHONE_10_1: u32 = 100100;
pub const __IPHONE_10_2: u32 = 100200;
pub const __IPHONE_10_3: u32 = 100300;
pub const __IPHONE_11_0: u32 = 110000;
pub const __IPHONE_11_1: u32 = 110100;
pub const __IPHONE_11_2: u32 = 110200;
pub const __IPHONE_11_3: u32 = 110300;
pub const __TVOS_9_0: u32 = 90000;
pub const __TVOS_9_1: u32 = 90100;
pub const __TVOS_9_2: u32 = 90200;
pub const __TVOS_10_0: u32 = 100000;
pub const __TVOS_10_0_1: u32 = 100001;
pub const __TVOS_10_1: u32 = 100100;
pub const __TVOS_10_2: u32 = 100200;
pub const __TVOS_11_0: u32 = 110000;
pub const __TVOS_11_1: u32 = 110100;
pub const __TVOS_11_2: u32 = 110200;
pub const __TVOS_11_3: u32 = 110300;
pub const __WATCHOS_1_0: u32 = 10000;
pub const __WATCHOS_2_0: u32 = 20000;
pub const __WATCHOS_2_1: u32 = 20100;
pub const __WATCHOS_2_2: u32 = 20200;
pub const __WATCHOS_3_0: u32 = 30000;
pub const __WATCHOS_3_1: u32 = 30100;
pub const __WATCHOS_3_1_1: u32 = 30101;
pub const __WATCHOS_3_2: u32 = 30200;
pub const __WATCHOS_4_0: u32 = 40000;
pub const __WATCHOS_4_1: u32 = 40100;
pub const __WATCHOS_4_2: u32 = 40200;
pub const __WATCHOS_4_3: u32 = 40300;
pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 101304;
pub const _USE_FORTIFY_LEVEL: u32 = 2;
pub const __HAS_FIXED_CHK_PROTOTYPES: u32 = 1;
pub type SpvId = ::std::os::raw::c_uint;
pub const SpvMagicNumber: ::std::os::raw::c_uint = 119734787;
pub const SpvVersion: ::std::os::raw::c_uint = 66304;
pub const SpvRevision: ::std::os::raw::c_uint = 1;
pub const SpvOpCodeMask: ::std::os::raw::c_uint = 65535;
pub const SpvWordCountShift: ::std::os::raw::c_uint = 16;
pub const SpvSourceLanguage__SpvSourceLanguageUnknown: SpvSourceLanguage_ = 0;
pub const SpvSourceLanguage__SpvSourceLanguageESSL: SpvSourceLanguage_ = 1;
pub const SpvSourceLanguage__SpvSourceLanguageGLSL: SpvSourceLanguage_ = 2;
pub const SpvSourceLanguage__SpvSourceLanguageOpenCL_C: SpvSourceLanguage_ = 3;
pub const SpvSourceLanguage__SpvSourceLanguageOpenCL_CPP: SpvSourceLanguage_ = 4;
pub const SpvSourceLanguage__SpvSourceLanguageHLSL: SpvSourceLanguage_ = 5;
pub const SpvSourceLanguage__SpvSourceLanguageMax: SpvSourceLanguage_ = 2147483647;
pub type SpvSourceLanguage_ = u32;
pub use self::SpvSourceLanguage_ as SpvSourceLanguage;
pub const SpvExecutionModel__SpvExecutionModelVertex: SpvExecutionModel_ = 0;
pub const SpvExecutionModel__SpvExecutionModelTessellationControl: SpvExecutionModel_ = 1;
pub const SpvExecutionModel__SpvExecutionModelTessellationEvaluation: SpvExecutionModel_ = 2;
pub const SpvExecutionModel__SpvExecutionModelGeometry: SpvExecutionModel_ = 3;
pub const SpvExecutionModel__SpvExecutionModelFragment: SpvExecutionModel_ = 4;
pub const SpvExecutionModel__SpvExecutionModelGLCompute: SpvExecutionModel_ = 5;
pub const SpvExecutionModel__SpvExecutionModelKernel: SpvExecutionModel_ = 6;
pub const SpvExecutionModel__SpvExecutionModelMax: SpvExecutionModel_ = 2147483647;
pub type SpvExecutionModel_ = u32;
pub use self::SpvExecutionModel_ as SpvExecutionModel;
pub const SpvAddressingModel__SpvAddressingModelLogical: SpvAddressingModel_ = 0;
pub const SpvAddressingModel__SpvAddressingModelPhysical32: SpvAddressingModel_ = 1;
pub const SpvAddressingModel__SpvAddressingModelPhysical64: SpvAddressingModel_ = 2;
pub const SpvAddressingModel__SpvAddressingModelMax: SpvAddressingModel_ = 2147483647;
pub type SpvAddressingModel_ = u32;
pub use self::SpvAddressingModel_ as SpvAddressingModel;
pub const SpvMemoryModel__SpvMemoryModelSimple: SpvMemoryModel_ = 0;
pub const SpvMemoryModel__SpvMemoryModelGLSL450: SpvMemoryModel_ = 1;
pub const SpvMemoryModel__SpvMemoryModelOpenCL: SpvMemoryModel_ = 2;
pub const SpvMemoryModel__SpvMemoryModelMax: SpvMemoryModel_ = 2147483647;
pub type SpvMemoryModel_ = u32;
pub use self::SpvMemoryModel_ as SpvMemoryModel;
pub const SpvExecutionMode__SpvExecutionModeInvocations: SpvExecutionMode_ = 0;
pub const SpvExecutionMode__SpvExecutionModeSpacingEqual: SpvExecutionMode_ = 1;
pub const SpvExecutionMode__SpvExecutionModeSpacingFractionalEven: SpvExecutionMode_ = 2;
pub const SpvExecutionMode__SpvExecutionModeSpacingFractionalOdd: SpvExecutionMode_ = 3;
pub const SpvExecutionMode__SpvExecutionModeVertexOrderCw: SpvExecutionMode_ = 4;
pub const SpvExecutionMode__SpvExecutionModeVertexOrderCcw: SpvExecutionMode_ = 5;
pub const SpvExecutionMode__SpvExecutionModePixelCenterInteger: SpvExecutionMode_ = 6;
pub const SpvExecutionMode__SpvExecutionModeOriginUpperLeft: SpvExecutionMode_ = 7;
pub const SpvExecutionMode__SpvExecutionModeOriginLowerLeft: SpvExecutionMode_ = 8;
pub const SpvExecutionMode__SpvExecutionModeEarlyFragmentTests: SpvExecutionMode_ = 9;
pub const SpvExecutionMode__SpvExecutionModePointMode: SpvExecutionMode_ = 10;
pub const SpvExecutionMode__SpvExecutionModeXfb: SpvExecutionMode_ = 11;
pub const SpvExecutionMode__SpvExecutionModeDepthReplacing: SpvExecutionMode_ = 12;
pub const SpvExecutionMode__SpvExecutionModeDepthGreater: SpvExecutionMode_ = 14;
pub const SpvExecutionMode__SpvExecutionModeDepthLess: SpvExecutionMode_ = 15;
pub const SpvExecutionMode__SpvExecutionModeDepthUnchanged: SpvExecutionMode_ = 16;
pub const SpvExecutionMode__SpvExecutionModeLocalSize: SpvExecutionMode_ = 17;
pub const SpvExecutionMode__SpvExecutionModeLocalSizeHint: SpvExecutionMode_ = 18;
pub const SpvExecutionMode__SpvExecutionModeInputPoints: SpvExecutionMode_ = 19;
pub const SpvExecutionMode__SpvExecutionModeInputLines: SpvExecutionMode_ = 20;
pub const SpvExecutionMode__SpvExecutionModeInputLinesAdjacency: SpvExecutionMode_ = 21;
pub const SpvExecutionMode__SpvExecutionModeTriangles: SpvExecutionMode_ = 22;
pub const SpvExecutionMode__SpvExecutionModeInputTrianglesAdjacency: SpvExecutionMode_ = 23;
pub const SpvExecutionMode__SpvExecutionModeQuads: SpvExecutionMode_ = 24;
pub const SpvExecutionMode__SpvExecutionModeIsolines: SpvExecutionMode_ = 25;
pub const SpvExecutionMode__SpvExecutionModeOutputVertices: SpvExecutionMode_ = 26;
pub const SpvExecutionMode__SpvExecutionModeOutputPoints: SpvExecutionMode_ = 27;
pub const SpvExecutionMode__SpvExecutionModeOutputLineStrip: SpvExecutionMode_ = 28;
pub const SpvExecutionMode__SpvExecutionModeOutputTriangleStrip: SpvExecutionMode_ = 29;
pub const SpvExecutionMode__SpvExecutionModeVecTypeHint: SpvExecutionMode_ = 30;
pub const SpvExecutionMode__SpvExecutionModeContractionOff: SpvExecutionMode_ = 31;
pub const SpvExecutionMode__SpvExecutionModeInitializer: SpvExecutionMode_ = 33;
pub const SpvExecutionMode__SpvExecutionModeFinalizer: SpvExecutionMode_ = 34;
pub const SpvExecutionMode__SpvExecutionModeSubgroupSize: SpvExecutionMode_ = 35;
pub const SpvExecutionMode__SpvExecutionModeSubgroupsPerWorkgroup: SpvExecutionMode_ = 36;
pub const SpvExecutionMode__SpvExecutionModeSubgroupsPerWorkgroupId: SpvExecutionMode_ = 37;
pub const SpvExecutionMode__SpvExecutionModeLocalSizeId: SpvExecutionMode_ = 38;
pub const SpvExecutionMode__SpvExecutionModeLocalSizeHintId: SpvExecutionMode_ = 39;
pub const SpvExecutionMode__SpvExecutionModePostDepthCoverage: SpvExecutionMode_ = 4446;
pub const SpvExecutionMode__SpvExecutionModeStencilRefReplacingEXT: SpvExecutionMode_ = 5027;
pub const SpvExecutionMode__SpvExecutionModeMax: SpvExecutionMode_ = 2147483647;
pub type SpvExecutionMode_ = u32;
pub use self::SpvExecutionMode_ as SpvExecutionMode;
pub const SpvStorageClass__SpvStorageClassUniformConstant: SpvStorageClass_ = 0;
pub const SpvStorageClass__SpvStorageClassInput: SpvStorageClass_ = 1;
pub const SpvStorageClass__SpvStorageClassUniform: SpvStorageClass_ = 2;
pub const SpvStorageClass__SpvStorageClassOutput: SpvStorageClass_ = 3;
pub const SpvStorageClass__SpvStorageClassWorkgroup: SpvStorageClass_ = 4;
pub const SpvStorageClass__SpvStorageClassCrossWorkgroup: SpvStorageClass_ = 5;
pub const SpvStorageClass__SpvStorageClassPrivate: SpvStorageClass_ = 6;
pub const SpvStorageClass__SpvStorageClassFunction: SpvStorageClass_ = 7;
pub const SpvStorageClass__SpvStorageClassGeneric: SpvStorageClass_ = 8;
pub const SpvStorageClass__SpvStorageClassPushConstant: SpvStorageClass_ = 9;
pub const SpvStorageClass__SpvStorageClassAtomicCounter: SpvStorageClass_ = 10;
pub const SpvStorageClass__SpvStorageClassImage: SpvStorageClass_ = 11;
pub const SpvStorageClass__SpvStorageClassStorageBuffer: SpvStorageClass_ = 12;
pub const SpvStorageClass__SpvStorageClassMax: SpvStorageClass_ = 2147483647;
pub type SpvStorageClass_ = u32;
pub use self::SpvStorageClass_ as SpvStorageClass;
pub const SpvDim__SpvDim1D: SpvDim_ = 0;
pub const SpvDim__SpvDim2D: SpvDim_ = 1;
pub const SpvDim__SpvDim3D: SpvDim_ = 2;
pub const SpvDim__SpvDimCube: SpvDim_ = 3;
pub const SpvDim__SpvDimRect: SpvDim_ = 4;
pub const SpvDim__SpvDimBuffer: SpvDim_ = 5;
pub const SpvDim__SpvDimSubpassData: SpvDim_ = 6;
pub const SpvDim__SpvDimMax: SpvDim_ = 2147483647;
pub type SpvDim_ = u32;
pub use self::SpvDim_ as SpvDim;
pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeNone: SpvSamplerAddressingMode_ = 0;
pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeClampToEdge: SpvSamplerAddressingMode_ =
1;
pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeClamp: SpvSamplerAddressingMode_ = 2;
pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeRepeat: SpvSamplerAddressingMode_ = 3;
pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeRepeatMirrored:
SpvSamplerAddressingMode_ = 4;
pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeMax: SpvSamplerAddressingMode_ =
2147483647;
pub type SpvSamplerAddressingMode_ = u32;
pub use self::SpvSamplerAddressingMode_ as SpvSamplerAddressingMode;
pub const SpvSamplerFilterMode__SpvSamplerFilterModeNearest: SpvSamplerFilterMode_ = 0;
pub const SpvSamplerFilterMode__SpvSamplerFilterModeLinear: SpvSamplerFilterMode_ = 1;
pub const SpvSamplerFilterMode__SpvSamplerFilterModeMax: SpvSamplerFilterMode_ = 2147483647;
pub type SpvSamplerFilterMode_ = u32;
pub use self::SpvSamplerFilterMode_ as SpvSamplerFilterMode;
pub const SpvImageFormat__SpvImageFormatUnknown: SpvImageFormat_ = 0;
pub const SpvImageFormat__SpvImageFormatRgba32f: SpvImageFormat_ = 1;
pub const SpvImageFormat__SpvImageFormatRgba16f: SpvImageFormat_ = 2;
pub const SpvImageFormat__SpvImageFormatR32f: SpvImageFormat_ = 3;
pub const SpvImageFormat__SpvImageFormatRgba8: SpvImageFormat_ = 4;
pub const SpvImageFormat__SpvImageFormatRgba8Snorm: SpvImageFormat_ = 5;
pub const SpvImageFormat__SpvImageFormatRg32f: SpvImageFormat_ = 6;
pub const SpvImageFormat__SpvImageFormatRg16f: SpvImageFormat_ = 7;
pub const SpvImageFormat__SpvImageFormatR11fG11fB10f: SpvImageFormat_ = 8;
pub const SpvImageFormat__SpvImageFormatR16f: SpvImageFormat_ = 9;
pub const SpvImageFormat__SpvImageFormatRgba16: SpvImageFormat_ = 10;
pub const SpvImageFormat__SpvImageFormatRgb10A2: SpvImageFormat_ = 11;
pub const SpvImageFormat__SpvImageFormatRg16: SpvImageFormat_ = 12;
pub const SpvImageFormat__SpvImageFormatRg8: SpvImageFormat_ = 13;
pub const SpvImageFormat__SpvImageFormatR16: SpvImageFormat_ = 14;
pub const SpvImageFormat__SpvImageFormatR8: SpvImageFormat_ = 15;
pub const SpvImageFormat__SpvImageFormatRgba16Snorm: SpvImageFormat_ = 16;
pub const SpvImageFormat__SpvImageFormatRg16Snorm: SpvImageFormat_ = 17;
pub const SpvImageFormat__SpvImageFormatRg8Snorm: SpvImageFormat_ = 18;
pub const SpvImageFormat__SpvImageFormatR16Snorm: SpvImageFormat_ = 19;
pub const SpvImageFormat__SpvImageFormatR8Snorm: SpvImageFormat_ = 20;
pub const SpvImageFormat__SpvImageFormatRgba32i: SpvImageFormat_ = 21;
pub const SpvImageFormat__SpvImageFormatRgba16i: SpvImageFormat_ = 22;
pub const SpvImageFormat__SpvImageFormatRgba8i: SpvImageFormat_ = 23;
pub const SpvImageFormat__SpvImageFormatR32i: SpvImageFormat_ = 24;
pub const SpvImageFormat__SpvImageFormatRg32i: SpvImageFormat_ = 25;
pub const SpvImageFormat__SpvImageFormatRg16i: SpvImageFormat_ = 26;
pub const SpvImageFormat__SpvImageFormatRg8i: SpvImageFormat_ = 27;
pub const SpvImageFormat__SpvImageFormatR16i: SpvImageFormat_ = 28;
pub const SpvImageFormat__SpvImageFormatR8i: SpvImageFormat_ = 29;
pub const SpvImageFormat__SpvImageFormatRgba32ui: SpvImageFormat_ = 30;
pub const SpvImageFormat__SpvImageFormatRgba16ui: SpvImageFormat_ = 31;
pub const SpvImageFormat__SpvImageFormatRgba8ui: SpvImageFormat_ = 32;
pub const SpvImageFormat__SpvImageFormatR32ui: SpvImageFormat_ = 33;
pub const SpvImageFormat__SpvImageFormatRgb10a2ui: SpvImageFormat_ = 34;
pub const SpvImageFormat__SpvImageFormatRg32ui: SpvImageFormat_ = 35;
pub const SpvImageFormat__SpvImageFormatRg16ui: SpvImageFormat_ = 36;
pub const SpvImageFormat__SpvImageFormatRg8ui: SpvImageFormat_ = 37;
pub const SpvImageFormat__SpvImageFormatR16ui: SpvImageFormat_ = 38;
pub const SpvImageFormat__SpvImageFormatR8ui: SpvImageFormat_ = 39;
pub const SpvImageFormat__SpvImageFormatMax: SpvImageFormat_ = 2147483647;
pub type SpvImageFormat_ = u32;
pub use self::SpvImageFormat_ as SpvImageFormat;
pub const SpvImageChannelOrder__SpvImageChannelOrderR: SpvImageChannelOrder_ = 0;
pub const SpvImageChannelOrder__SpvImageChannelOrderA: SpvImageChannelOrder_ = 1;
pub const SpvImageChannelOrder__SpvImageChannelOrderRG: SpvImageChannelOrder_ = 2;
pub const SpvImageChannelOrder__SpvImageChannelOrderRA: SpvImageChannelOrder_ = 3;
pub const SpvImageChannelOrder__SpvImageChannelOrderRGB: SpvImageChannelOrder_ = 4;
pub const SpvImageChannelOrder__SpvImageChannelOrderRGBA: SpvImageChannelOrder_ = 5;
pub const SpvImageChannelOrder__SpvImageChannelOrderBGRA: SpvImageChannelOrder_ = 6;
pub const SpvImageChannelOrder__SpvImageChannelOrderARGB: SpvImageChannelOrder_ = 7;
pub const SpvImageChannelOrder__SpvImageChannelOrderIntensity: SpvImageChannelOrder_ = 8;
pub const SpvImageChannelOrder__SpvImageChannelOrderLuminance: SpvImageChannelOrder_ = 9;
pub const SpvImageChannelOrder__SpvImageChannelOrderRx: SpvImageChannelOrder_ = 10;
pub const SpvImageChannelOrder__SpvImageChannelOrderRGx: SpvImageChannelOrder_ = 11;
pub const SpvImageChannelOrder__SpvImageChannelOrderRGBx: SpvImageChannelOrder_ = 12;
pub const SpvImageChannelOrder__SpvImageChannelOrderDepth: SpvImageChannelOrder_ = 13;
pub const SpvImageChannelOrder__SpvImageChannelOrderDepthStencil: SpvImageChannelOrder_ = 14;
pub const SpvImageChannelOrder__SpvImageChannelOrdersRGB: SpvImageChannelOrder_ = 15;
pub const SpvImageChannelOrder__SpvImageChannelOrdersRGBx: SpvImageChannelOrder_ = 16;
pub const SpvImageChannelOrder__SpvImageChannelOrdersRGBA: SpvImageChannelOrder_ = 17;
pub const SpvImageChannelOrder__SpvImageChannelOrdersBGRA: SpvImageChannelOrder_ = 18;
pub const SpvImageChannelOrder__SpvImageChannelOrderABGR: SpvImageChannelOrder_ = 19;
pub const SpvImageChannelOrder__SpvImageChannelOrderMax: SpvImageChannelOrder_ = 2147483647;
pub type SpvImageChannelOrder_ = u32;
pub use self::SpvImageChannelOrder_ as SpvImageChannelOrder;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeSnormInt8: SpvImageChannelDataType_ = 0;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeSnormInt16: SpvImageChannelDataType_ = 1;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt8: SpvImageChannelDataType_ = 2;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt16: SpvImageChannelDataType_ = 3;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormShort565: SpvImageChannelDataType_ =
4;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormShort555: SpvImageChannelDataType_ =
5;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt101010: SpvImageChannelDataType_ =
6;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt8: SpvImageChannelDataType_ = 7;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt16: SpvImageChannelDataType_ = 8;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt32: SpvImageChannelDataType_ = 9;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt8: SpvImageChannelDataType_ =
10;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt16: SpvImageChannelDataType_ =
11;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt32: SpvImageChannelDataType_ =
12;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeHalfFloat: SpvImageChannelDataType_ = 13;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeFloat: SpvImageChannelDataType_ = 14;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt24: SpvImageChannelDataType_ = 15;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt101010_2:
SpvImageChannelDataType_ = 16;
pub const SpvImageChannelDataType__SpvImageChannelDataTypeMax: SpvImageChannelDataType_ =
2147483647;
pub type SpvImageChannelDataType_ = u32;
pub use self::SpvImageChannelDataType_ as SpvImageChannelDataType;
pub const SpvImageOperandsShift__SpvImageOperandsBiasShift: SpvImageOperandsShift_ = 0;
pub const SpvImageOperandsShift__SpvImageOperandsLodShift: SpvImageOperandsShift_ = 1;
pub const SpvImageOperandsShift__SpvImageOperandsGradShift: SpvImageOperandsShift_ = 2;
pub const SpvImageOperandsShift__SpvImageOperandsConstOffsetShift: SpvImageOperandsShift_ = 3;
pub const SpvImageOperandsShift__SpvImageOperandsOffsetShift: SpvImageOperandsShift_ = 4;
pub const SpvImageOperandsShift__SpvImageOperandsConstOffsetsShift: SpvImageOperandsShift_ = 5;
pub const SpvImageOperandsShift__SpvImageOperandsSampleShift: SpvImageOperandsShift_ = 6;
pub const SpvImageOperandsShift__SpvImageOperandsMinLodShift: SpvImageOperandsShift_ = 7;
pub const SpvImageOperandsShift__SpvImageOperandsMax: SpvImageOperandsShift_ = 2147483647;
pub type SpvImageOperandsShift_ = u32;
pub use self::SpvImageOperandsShift_ as SpvImageOperandsShift;
pub const SpvImageOperandsMask__SpvImageOperandsMaskNone: SpvImageOperandsMask_ = 0;
pub const SpvImageOperandsMask__SpvImageOperandsBiasMask: SpvImageOperandsMask_ = 1;
pub const SpvImageOperandsMask__SpvImageOperandsLodMask: SpvImageOperandsMask_ = 2;
pub const SpvImageOperandsMask__SpvImageOperandsGradMask: SpvImageOperandsMask_ = 4;
pub const SpvImageOperandsMask__SpvImageOperandsConstOffsetMask: SpvImageOperandsMask_ = 8;
pub const SpvImageOperandsMask__SpvImageOperandsOffsetMask: SpvImageOperandsMask_ = 16;
pub const SpvImageOperandsMask__SpvImageOperandsConstOffsetsMask: SpvImageOperandsMask_ = 32;
pub const SpvImageOperandsMask__SpvImageOperandsSampleMask: SpvImageOperandsMask_ = 64;
pub const SpvImageOperandsMask__SpvImageOperandsMinLodMask: SpvImageOperandsMask_ = 128;
pub type SpvImageOperandsMask_ = u32;
pub use self::SpvImageOperandsMask_ as SpvImageOperandsMask;
pub const SpvFPFastMathModeShift__SpvFPFastMathModeNotNaNShift: SpvFPFastMathModeShift_ = 0;
pub const SpvFPFastMathModeShift__SpvFPFastMathModeNotInfShift: SpvFPFastMathModeShift_ = 1;
pub const SpvFPFastMathModeShift__SpvFPFastMathModeNSZShift: SpvFPFastMathModeShift_ = 2;
pub const SpvFPFastMathModeShift__SpvFPFastMathModeAllowRecipShift: SpvFPFastMathModeShift_ = 3;
pub const SpvFPFastMathModeShift__SpvFPFastMathModeFastShift: SpvFPFastMathModeShift_ = 4;
pub const SpvFPFastMathModeShift__SpvFPFastMathModeMax: SpvFPFastMathModeShift_ = 2147483647;
pub type SpvFPFastMathModeShift_ = u32;
pub use self::SpvFPFastMathModeShift_ as SpvFPFastMathModeShift;
pub const SpvFPFastMathModeMask__SpvFPFastMathModeMaskNone: SpvFPFastMathModeMask_ = 0;
pub const SpvFPFastMathModeMask__SpvFPFastMathModeNotNaNMask: SpvFPFastMathModeMask_ = 1;
pub const SpvFPFastMathModeMask__SpvFPFastMathModeNotInfMask: SpvFPFastMathModeMask_ = 2;
pub const SpvFPFastMathModeMask__SpvFPFastMathModeNSZMask: SpvFPFastMathModeMask_ = 4;
pub const SpvFPFastMathModeMask__SpvFPFastMathModeAllowRecipMask: SpvFPFastMathModeMask_ = 8;
pub const SpvFPFastMathModeMask__SpvFPFastMathModeFastMask: SpvFPFastMathModeMask_ = 16;
pub type SpvFPFastMathModeMask_ = u32;
pub use self::SpvFPFastMathModeMask_ as SpvFPFastMathModeMask;
pub const SpvFPRoundingMode__SpvFPRoundingModeRTE: SpvFPRoundingMode_ = 0;
pub const SpvFPRoundingMode__SpvFPRoundingModeRTZ: SpvFPRoundingMode_ = 1;
pub const SpvFPRoundingMode__SpvFPRoundingModeRTP: SpvFPRoundingMode_ = 2;
pub const SpvFPRoundingMode__SpvFPRoundingModeRTN: SpvFPRoundingMode_ = 3;
pub const SpvFPRoundingMode__SpvFPRoundingModeMax: SpvFPRoundingMode_ = 2147483647;
pub type SpvFPRoundingMode_ = u32;
pub use self::SpvFPRoundingMode_ as SpvFPRoundingMode;
pub const SpvLinkageType__SpvLinkageTypeExport: SpvLinkageType_ = 0;
pub const SpvLinkageType__SpvLinkageTypeImport: SpvLinkageType_ = 1;
pub const SpvLinkageType__SpvLinkageTypeMax: SpvLinkageType_ = 2147483647;
pub type SpvLinkageType_ = u32;
pub use self::SpvLinkageType_ as SpvLinkageType;
pub const SpvAccessQualifier__SpvAccessQualifierReadOnly: SpvAccessQualifier_ = 0;
pub const SpvAccessQualifier__SpvAccessQualifierWriteOnly: SpvAccessQualifier_ = 1;
pub const SpvAccessQualifier__SpvAccessQualifierReadWrite: SpvAccessQualifier_ = 2;
pub const SpvAccessQualifier__SpvAccessQualifierMax: SpvAccessQualifier_ = 2147483647;
pub type SpvAccessQualifier_ = u32;
pub use self::SpvAccessQualifier_ as SpvAccessQualifier;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeZext:
SpvFunctionParameterAttribute_ = 0;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeSext:
SpvFunctionParameterAttribute_ = 1;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeByVal:
SpvFunctionParameterAttribute_ = 2;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeSret:
SpvFunctionParameterAttribute_ = 3;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoAlias:
SpvFunctionParameterAttribute_ = 4;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoCapture:
SpvFunctionParameterAttribute_ = 5;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoWrite:
SpvFunctionParameterAttribute_ = 6;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoReadWrite:
SpvFunctionParameterAttribute_ = 7;
pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeMax:
SpvFunctionParameterAttribute_ = 2147483647;
pub type SpvFunctionParameterAttribute_ = u32;
pub use self::SpvFunctionParameterAttribute_ as SpvFunctionParameterAttribute;
pub const SpvDecoration__SpvDecorationRelaxedPrecision: SpvDecoration_ = 0;
pub const SpvDecoration__SpvDecorationSpecId: SpvDecoration_ = 1;
pub const SpvDecoration__SpvDecorationBlock: SpvDecoration_ = 2;
pub const SpvDecoration__SpvDecorationBufferBlock: SpvDecoration_ = 3;
pub const SpvDecoration__SpvDecorationRowMajor: SpvDecoration_ = 4;
pub const SpvDecoration__SpvDecorationColMajor: SpvDecoration_ = 5;
pub const SpvDecoration__SpvDecorationArrayStride: SpvDecoration_ = 6;
pub const SpvDecoration__SpvDecorationMatrixStride: SpvDecoration_ = 7;
pub const SpvDecoration__SpvDecorationGLSLShared: SpvDecoration_ = 8;
pub const SpvDecoration__SpvDecorationGLSLPacked: SpvDecoration_ = 9;
pub const SpvDecoration__SpvDecorationCPacked: SpvDecoration_ = 10;
pub const SpvDecoration__SpvDecorationBuiltIn: SpvDecoration_ = 11;
pub const SpvDecoration__SpvDecorationNoPerspective: SpvDecoration_ = 13;
pub const SpvDecoration__SpvDecorationFlat: SpvDecoration_ = 14;
pub const SpvDecoration__SpvDecorationPatch: SpvDecoration_ = 15;
pub const SpvDecoration__SpvDecorationCentroid: SpvDecoration_ = 16;
pub const SpvDecoration__SpvDecorationSample: SpvDecoration_ = 17;
pub const SpvDecoration__SpvDecorationInvariant: SpvDecoration_ = 18;
pub const SpvDecoration__SpvDecorationRestrict: SpvDecoration_ = 19;
pub const SpvDecoration__SpvDecorationAliased: SpvDecoration_ = 20;
pub const SpvDecoration__SpvDecorationVolatile: SpvDecoration_ = 21;
pub const SpvDecoration__SpvDecorationConstant: SpvDecoration_ = 22;
pub const SpvDecoration__SpvDecorationCoherent: SpvDecoration_ = 23;
pub const SpvDecoration__SpvDecorationNonWritable: SpvDecoration_ = 24;
pub const SpvDecoration__SpvDecorationNonReadable: SpvDecoration_ = 25;
pub const SpvDecoration__SpvDecorationUniform: SpvDecoration_ = 26;
pub const SpvDecoration__SpvDecorationSaturatedConversion: SpvDecoration_ = 28;
pub const SpvDecoration__SpvDecorationStream: SpvDecoration_ = 29;
pub const SpvDecoration__SpvDecorationLocation: SpvDecoration_ = 30;
pub const SpvDecoration__SpvDecorationComponent: SpvDecoration_ = 31;
pub const SpvDecoration__SpvDecorationIndex: SpvDecoration_ = 32;
pub const SpvDecoration__SpvDecorationBinding: SpvDecoration_ = 33;
pub const SpvDecoration__SpvDecorationDescriptorSet: SpvDecoration_ = 34;
pub const SpvDecoration__SpvDecorationOffset: SpvDecoration_ = 35;
pub const SpvDecoration__SpvDecorationXfbBuffer: SpvDecoration_ = 36;
pub const SpvDecoration__SpvDecorationXfbStride: SpvDecoration_ = 37;
pub const SpvDecoration__SpvDecorationFuncParamAttr: SpvDecoration_ = 38;
pub const SpvDecoration__SpvDecorationFPRoundingMode: SpvDecoration_ = 39;
pub const SpvDecoration__SpvDecorationFPFastMathMode: SpvDecoration_ = 40;
pub const SpvDecoration__SpvDecorationLinkageAttributes: SpvDecoration_ = 41;
pub const SpvDecoration__SpvDecorationNoContraction: SpvDecoration_ = 42;
pub const SpvDecoration__SpvDecorationInputAttachmentIndex: SpvDecoration_ = 43;
pub const SpvDecoration__SpvDecorationAlignment: SpvDecoration_ = 44;
pub const SpvDecoration__SpvDecorationMaxByteOffset: SpvDecoration_ = 45;
pub const SpvDecoration__SpvDecorationAlignmentId: SpvDecoration_ = 46;
pub const SpvDecoration__SpvDecorationMaxByteOffsetId: SpvDecoration_ = 47;
pub const SpvDecoration__SpvDecorationExplicitInterpAMD: SpvDecoration_ = 4999;
pub const SpvDecoration__SpvDecorationOverrideCoverageNV: SpvDecoration_ = 5248;
pub const SpvDecoration__SpvDecorationPassthroughNV: SpvDecoration_ = 5250;
pub const SpvDecoration__SpvDecorationViewportRelativeNV: SpvDecoration_ = 5252;
pub const SpvDecoration__SpvDecorationSecondaryViewportRelativeNV: SpvDecoration_ = 5256;
pub const SpvDecoration__SpvDecorationHlslCounterBufferGOOGLE: SpvDecoration_ = 5634;
pub const SpvDecoration__SpvDecorationHlslSemanticGOOGLE: SpvDecoration_ = 5635;
pub const SpvDecoration__SpvDecorationMax: SpvDecoration_ = 2147483647;
pub type SpvDecoration_ = u32;
pub use self::SpvDecoration_ as SpvDecoration;
pub const SpvBuiltIn__SpvBuiltInPosition: SpvBuiltIn_ = 0;
pub const SpvBuiltIn__SpvBuiltInPointSize: SpvBuiltIn_ = 1;
pub const SpvBuiltIn__SpvBuiltInClipDistance: SpvBuiltIn_ = 3;
pub const SpvBuiltIn__SpvBuiltInCullDistance: SpvBuiltIn_ = 4;
pub const SpvBuiltIn__SpvBuiltInVertexId: SpvBuiltIn_ = 5;
pub const SpvBuiltIn__SpvBuiltInInstanceId: SpvBuiltIn_ = 6;
pub const SpvBuiltIn__SpvBuiltInPrimitiveId: SpvBuiltIn_ = 7;
pub const SpvBuiltIn__SpvBuiltInInvocationId: SpvBuiltIn_ = 8;
pub const SpvBuiltIn__SpvBuiltInLayer: SpvBuiltIn_ = 9;
pub const SpvBuiltIn__SpvBuiltInViewportIndex: SpvBuiltIn_ = 10;
pub const SpvBuiltIn__SpvBuiltInTessLevelOuter: SpvBuiltIn_ = 11;
pub const SpvBuiltIn__SpvBuiltInTessLevelInner: SpvBuiltIn_ = 12;
pub const SpvBuiltIn__SpvBuiltInTessCoord: SpvBuiltIn_ = 13;
pub const SpvBuiltIn__SpvBuiltInPatchVertices: SpvBuiltIn_ = 14;
pub const SpvBuiltIn__SpvBuiltInFragCoord: SpvBuiltIn_ = 15;
pub const SpvBuiltIn__SpvBuiltInPointCoord: SpvBuiltIn_ = 16;
pub const SpvBuiltIn__SpvBuiltInFrontFacing: SpvBuiltIn_ = 17;
pub const SpvBuiltIn__SpvBuiltInSampleId: SpvBuiltIn_ = 18;
pub const SpvBuiltIn__SpvBuiltInSamplePosition: SpvBuiltIn_ = 19;
pub const SpvBuiltIn__SpvBuiltInSampleMask: SpvBuiltIn_ = 20;
pub const SpvBuiltIn__SpvBuiltInFragDepth: SpvBuiltIn_ = 22;
pub const SpvBuiltIn__SpvBuiltInHelperInvocation: SpvBuiltIn_ = 23;
pub const SpvBuiltIn__SpvBuiltInNumWorkgroups: SpvBuiltIn_ = 24;
pub const SpvBuiltIn__SpvBuiltInWorkgroupSize: SpvBuiltIn_ = 25;
pub const SpvBuiltIn__SpvBuiltInWorkgroupId: SpvBuiltIn_ = 26;
pub const SpvBuiltIn__SpvBuiltInLocalInvocationId: SpvBuiltIn_ = 27;
pub const SpvBuiltIn__SpvBuiltInGlobalInvocationId: SpvBuiltIn_ = 28;
pub const SpvBuiltIn__SpvBuiltInLocalInvocationIndex: SpvBuiltIn_ = 29;
pub const SpvBuiltIn__SpvBuiltInWorkDim: SpvBuiltIn_ = 30;
pub const SpvBuiltIn__SpvBuiltInGlobalSize: SpvBuiltIn_ = 31;
pub const SpvBuiltIn__SpvBuiltInEnqueuedWorkgroupSize: SpvBuiltIn_ = 32;
pub const SpvBuiltIn__SpvBuiltInGlobalOffset: SpvBuiltIn_ = 33;
pub const SpvBuiltIn__SpvBuiltInGlobalLinearId: SpvBuiltIn_ = 34;
pub const SpvBuiltIn__SpvBuiltInSubgroupSize: SpvBuiltIn_ = 36;
pub const SpvBuiltIn__SpvBuiltInSubgroupMaxSize: SpvBuiltIn_ = 37;
pub const SpvBuiltIn__SpvBuiltInNumSubgroups: SpvBuiltIn_ = 38;
pub const SpvBuiltIn__SpvBuiltInNumEnqueuedSubgroups: SpvBuiltIn_ = 39;
pub const SpvBuiltIn__SpvBuiltInSubgroupId: SpvBuiltIn_ = 40;
pub const SpvBuiltIn__SpvBuiltInSubgroupLocalInvocationId: SpvBuiltIn_ = 41;
pub const SpvBuiltIn__SpvBuiltInVertexIndex: SpvBuiltIn_ = 42;
pub const SpvBuiltIn__SpvBuiltInInstanceIndex: SpvBuiltIn_ = 43;
pub const SpvBuiltIn__SpvBuiltInSubgroupEqMask: SpvBuiltIn_ = 4416;
pub const SpvBuiltIn__SpvBuiltInSubgroupEqMaskKHR: SpvBuiltIn_ = 4416;
pub const SpvBuiltIn__SpvBuiltInSubgroupGeMask: SpvBuiltIn_ = 4417;
pub const SpvBuiltIn__SpvBuiltInSubgroupGeMaskKHR: SpvBuiltIn_ = 4417;
pub const SpvBuiltIn__SpvBuiltInSubgroupGtMask: SpvBuiltIn_ = 4418;
pub const SpvBuiltIn__SpvBuiltInSubgroupGtMaskKHR: SpvBuiltIn_ = 4418;
pub const SpvBuiltIn__SpvBuiltInSubgroupLeMask: SpvBuiltIn_ = 4419;
pub const SpvBuiltIn__SpvBuiltInSubgroupLeMaskKHR: SpvBuiltIn_ = 4419;
pub const SpvBuiltIn__SpvBuiltInSubgroupLtMask: SpvBuiltIn_ = 4420;
pub const SpvBuiltIn__SpvBuiltInSubgroupLtMaskKHR: SpvBuiltIn_ = 4420;
pub const SpvBuiltIn__SpvBuiltInBaseVertex: SpvBuiltIn_ = 4424;
pub const SpvBuiltIn__SpvBuiltInBaseInstance: SpvBuiltIn_ = 4425;
pub const SpvBuiltIn__SpvBuiltInDrawIndex: SpvBuiltIn_ = 4426;
pub const SpvBuiltIn__SpvBuiltInDeviceIndex: SpvBuiltIn_ = 4438;
pub const SpvBuiltIn__SpvBuiltInViewIndex: SpvBuiltIn_ = 4440;
pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspAMD: SpvBuiltIn_ = 4992;
pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspCentroidAMD: SpvBuiltIn_ = 4993;
pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspSampleAMD: SpvBuiltIn_ = 4994;
pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothAMD: SpvBuiltIn_ = 4995;
pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothCentroidAMD: SpvBuiltIn_ = 4996;
pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothSampleAMD: SpvBuiltIn_ = 4997;
pub const SpvBuiltIn__SpvBuiltInBaryCoordPullModelAMD: SpvBuiltIn_ = 4998;
pub const SpvBuiltIn__SpvBuiltInFragStencilRefEXT: SpvBuiltIn_ = 5014;
pub const SpvBuiltIn__SpvBuiltInViewportMaskNV: SpvBuiltIn_ = 5253;
pub const SpvBuiltIn__SpvBuiltInSecondaryPositionNV: SpvBuiltIn_ = 5257;
pub const SpvBuiltIn__SpvBuiltInSecondaryViewportMaskNV: SpvBuiltIn_ = 5258;
pub const SpvBuiltIn__SpvBuiltInPositionPerViewNV: SpvBuiltIn_ = 5261;
pub const SpvBuiltIn__SpvBuiltInViewportMaskPerViewNV: SpvBuiltIn_ = 5262;
pub const SpvBuiltIn__SpvBuiltInFullyCoveredEXT: SpvBuiltIn_ = 5264;
pub const SpvBuiltIn__SpvBuiltInMax: SpvBuiltIn_ = 2147483647;
pub type SpvBuiltIn_ = u32;
pub use self::SpvBuiltIn_ as SpvBuiltIn;
pub const SpvSelectionControlShift__SpvSelectionControlFlattenShift: SpvSelectionControlShift_ = 0;
pub const SpvSelectionControlShift__SpvSelectionControlDontFlattenShift: SpvSelectionControlShift_ =
1;
pub const SpvSelectionControlShift__SpvSelectionControlMax: SpvSelectionControlShift_ = 2147483647;
pub type SpvSelectionControlShift_ = u32;
pub use self::SpvSelectionControlShift_ as SpvSelectionControlShift;
pub const SpvSelectionControlMask__SpvSelectionControlMaskNone: SpvSelectionControlMask_ = 0;
pub const SpvSelectionControlMask__SpvSelectionControlFlattenMask: SpvSelectionControlMask_ = 1;
pub const SpvSelectionControlMask__SpvSelectionControlDontFlattenMask: SpvSelectionControlMask_ = 2;
pub type SpvSelectionControlMask_ = u32;
pub use self::SpvSelectionControlMask_ as SpvSelectionControlMask;
pub const SpvLoopControlShift__SpvLoopControlUnrollShift: SpvLoopControlShift_ = 0;
pub const SpvLoopControlShift__SpvLoopControlDontUnrollShift: SpvLoopControlShift_ = 1;
pub const SpvLoopControlShift__SpvLoopControlDependencyInfiniteShift: SpvLoopControlShift_ = 2;
pub const SpvLoopControlShift__SpvLoopControlDependencyLengthShift: SpvLoopControlShift_ = 3;
pub const SpvLoopControlShift__SpvLoopControlMax: SpvLoopControlShift_ = 2147483647;
pub type SpvLoopControlShift_ = u32;
pub use self::SpvLoopControlShift_ as SpvLoopControlShift;
pub const SpvLoopControlMask__SpvLoopControlMaskNone: SpvLoopControlMask_ = 0;
pub const SpvLoopControlMask__SpvLoopControlUnrollMask: SpvLoopControlMask_ = 1;
pub const SpvLoopControlMask__SpvLoopControlDontUnrollMask: SpvLoopControlMask_ = 2;
pub const SpvLoopControlMask__SpvLoopControlDependencyInfiniteMask: SpvLoopControlMask_ = 4;
pub const SpvLoopControlMask__SpvLoopControlDependencyLengthMask: SpvLoopControlMask_ = 8;
pub type SpvLoopControlMask_ = u32;
pub use self::SpvLoopControlMask_ as SpvLoopControlMask;
pub const SpvFunctionControlShift__SpvFunctionControlInlineShift: SpvFunctionControlShift_ = 0;
pub const SpvFunctionControlShift__SpvFunctionControlDontInlineShift: SpvFunctionControlShift_ = 1;
pub const SpvFunctionControlShift__SpvFunctionControlPureShift: SpvFunctionControlShift_ = 2;
pub const SpvFunctionControlShift__SpvFunctionControlConstShift: SpvFunctionControlShift_ = 3;
pub const SpvFunctionControlShift__SpvFunctionControlMax: SpvFunctionControlShift_ = 2147483647;
pub type SpvFunctionControlShift_ = u32;
pub use self::SpvFunctionControlShift_ as SpvFunctionControlShift;
pub const SpvFunctionControlMask__SpvFunctionControlMaskNone: SpvFunctionControlMask_ = 0;
pub const SpvFunctionControlMask__SpvFunctionControlInlineMask: SpvFunctionControlMask_ = 1;
pub const SpvFunctionControlMask__SpvFunctionControlDontInlineMask: SpvFunctionControlMask_ = 2;
pub const SpvFunctionControlMask__SpvFunctionControlPureMask: SpvFunctionControlMask_ = 4;
pub const SpvFunctionControlMask__SpvFunctionControlConstMask: SpvFunctionControlMask_ = 8;
pub type SpvFunctionControlMask_ = u32;
pub use self::SpvFunctionControlMask_ as SpvFunctionControlMask;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsAcquireShift: SpvMemorySemanticsShift_ = 1;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsReleaseShift: SpvMemorySemanticsShift_ = 2;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsAcquireReleaseShift: SpvMemorySemanticsShift_ =
3;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsSequentiallyConsistentShift:
SpvMemorySemanticsShift_ = 4;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsUniformMemoryShift: SpvMemorySemanticsShift_ =
6;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsSubgroupMemoryShift: SpvMemorySemanticsShift_ =
7;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsWorkgroupMemoryShift:
SpvMemorySemanticsShift_ = 8;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsCrossWorkgroupMemoryShift:
SpvMemorySemanticsShift_ = 9;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsAtomicCounterMemoryShift:
SpvMemorySemanticsShift_ = 10;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsImageMemoryShift: SpvMemorySemanticsShift_ =
11;
pub const SpvMemorySemanticsShift__SpvMemorySemanticsMax: SpvMemorySemanticsShift_ = 2147483647;
pub type SpvMemorySemanticsShift_ = u32;
pub use self::SpvMemorySemanticsShift_ as SpvMemorySemanticsShift;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsMaskNone: SpvMemorySemanticsMask_ = 0;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsAcquireMask: SpvMemorySemanticsMask_ = 2;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsReleaseMask: SpvMemorySemanticsMask_ = 4;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsAcquireReleaseMask: SpvMemorySemanticsMask_ = 8;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsSequentiallyConsistentMask:
SpvMemorySemanticsMask_ = 16;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsUniformMemoryMask: SpvMemorySemanticsMask_ = 64;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsSubgroupMemoryMask: SpvMemorySemanticsMask_ =
128;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsWorkgroupMemoryMask: SpvMemorySemanticsMask_ =
256;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsCrossWorkgroupMemoryMask:
SpvMemorySemanticsMask_ = 512;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsAtomicCounterMemoryMask:
SpvMemorySemanticsMask_ = 1024;
pub const SpvMemorySemanticsMask__SpvMemorySemanticsImageMemoryMask: SpvMemorySemanticsMask_ = 2048;
pub type SpvMemorySemanticsMask_ = u32;
pub use self::SpvMemorySemanticsMask_ as SpvMemorySemanticsMask;
pub const SpvMemoryAccessShift__SpvMemoryAccessVolatileShift: SpvMemoryAccessShift_ = 0;
pub const SpvMemoryAccessShift__SpvMemoryAccessAlignedShift: SpvMemoryAccessShift_ = 1;
pub const SpvMemoryAccessShift__SpvMemoryAccessNontemporalShift: SpvMemoryAccessShift_ = 2;
pub const SpvMemoryAccessShift__SpvMemoryAccessMax: SpvMemoryAccessShift_ = 2147483647;
pub type SpvMemoryAccessShift_ = u32;
pub use self::SpvMemoryAccessShift_ as SpvMemoryAccessShift;
pub const SpvMemoryAccessMask__SpvMemoryAccessMaskNone: SpvMemoryAccessMask_ = 0;
pub const SpvMemoryAccessMask__SpvMemoryAccessVolatileMask: SpvMemoryAccessMask_ = 1;
pub const SpvMemoryAccessMask__SpvMemoryAccessAlignedMask: SpvMemoryAccessMask_ = 2;
pub const SpvMemoryAccessMask__SpvMemoryAccessNontemporalMask: SpvMemoryAccessMask_ = 4;
pub type SpvMemoryAccessMask_ = u32;
pub use self::SpvMemoryAccessMask_ as SpvMemoryAccessMask;
pub const SpvScope__SpvScopeCrossDevice: SpvScope_ = 0;
pub const SpvScope__SpvScopeDevice: SpvScope_ = 1;
pub const SpvScope__SpvScopeWorkgroup: SpvScope_ = 2;
pub const SpvScope__SpvScopeSubgroup: SpvScope_ = 3;
pub const SpvScope__SpvScopeInvocation: SpvScope_ = 4;
pub const SpvScope__SpvScopeMax: SpvScope_ = 2147483647;
pub type SpvScope_ = u32;
pub use self::SpvScope_ as SpvScope;
pub const SpvGroupOperation__SpvGroupOperationReduce: SpvGroupOperation_ = 0;
pub const SpvGroupOperation__SpvGroupOperationInclusiveScan: SpvGroupOperation_ = 1;
pub const SpvGroupOperation__SpvGroupOperationExclusiveScan: SpvGroupOperation_ = 2;
pub const SpvGroupOperation__SpvGroupOperationClusteredReduce: SpvGroupOperation_ = 3;
pub const SpvGroupOperation__SpvGroupOperationPartitionedReduceNV: SpvGroupOperation_ = 6;
pub const SpvGroupOperation__SpvGroupOperationPartitionedInclusiveScanNV: SpvGroupOperation_ = 7;
pub const SpvGroupOperation__SpvGroupOperationPartitionedExclusiveScanNV: SpvGroupOperation_ = 8;
pub const SpvGroupOperation__SpvGroupOperationMax: SpvGroupOperation_ = 2147483647;
pub type SpvGroupOperation_ = u32;
pub use self::SpvGroupOperation_ as SpvGroupOperation;
pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsNoWait: SpvKernelEnqueueFlags_ = 0;
pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsWaitKernel: SpvKernelEnqueueFlags_ = 1;
pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsWaitWorkGroup: SpvKernelEnqueueFlags_ = 2;
pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsMax: SpvKernelEnqueueFlags_ = 2147483647;
pub type SpvKernelEnqueueFlags_ = u32;
pub use self::SpvKernelEnqueueFlags_ as SpvKernelEnqueueFlags;
pub const SpvKernelProfilingInfoShift__SpvKernelProfilingInfoCmdExecTimeShift:
SpvKernelProfilingInfoShift_ = 0;
pub const SpvKernelProfilingInfoShift__SpvKernelProfilingInfoMax: SpvKernelProfilingInfoShift_ =
2147483647;
pub type SpvKernelProfilingInfoShift_ = u32;
pub use self::SpvKernelProfilingInfoShift_ as SpvKernelProfilingInfoShift;
pub const SpvKernelProfilingInfoMask__SpvKernelProfilingInfoMaskNone: SpvKernelProfilingInfoMask_ =
0;
pub const SpvKernelProfilingInfoMask__SpvKernelProfilingInfoCmdExecTimeMask:
SpvKernelProfilingInfoMask_ = 1;
pub type SpvKernelProfilingInfoMask_ = u32;
pub use self::SpvKernelProfilingInfoMask_ as SpvKernelProfilingInfoMask;
pub const SpvCapability__SpvCapabilityMatrix: SpvCapability_ = 0;
pub const SpvCapability__SpvCapabilityShader: SpvCapability_ = 1;
pub const SpvCapability__SpvCapabilityGeometry: SpvCapability_ = 2;
pub const SpvCapability__SpvCapabilityTessellation: SpvCapability_ = 3;
pub const SpvCapability__SpvCapabilityAddresses: SpvCapability_ = 4;
pub const SpvCapability__SpvCapabilityLinkage: SpvCapability_ = 5;
pub const SpvCapability__SpvCapabilityKernel: SpvCapability_ = 6;
pub const SpvCapability__SpvCapabilityVector16: SpvCapability_ = 7;
pub const SpvCapability__SpvCapabilityFloat16Buffer: SpvCapability_ = 8;
pub const SpvCapability__SpvCapabilityFloat16: SpvCapability_ = 9;
pub const SpvCapability__SpvCapabilityFloat64: SpvCapability_ = 10;
pub const SpvCapability__SpvCapabilityInt64: SpvCapability_ = 11;
pub const SpvCapability__SpvCapabilityInt64Atomics: SpvCapability_ = 12;
pub const SpvCapability__SpvCapabilityImageBasic: SpvCapability_ = 13;
pub const SpvCapability__SpvCapabilityImageReadWrite: SpvCapability_ = 14;
pub const SpvCapability__SpvCapabilityImageMipmap: SpvCapability_ = 15;
pub const SpvCapability__SpvCapabilityPipes: SpvCapability_ = 17;
pub const SpvCapability__SpvCapabilityGroups: SpvCapability_ = 18;
pub const SpvCapability__SpvCapabilityDeviceEnqueue: SpvCapability_ = 19;
pub const SpvCapability__SpvCapabilityLiteralSampler: SpvCapability_ = 20;
pub const SpvCapability__SpvCapabilityAtomicStorage: SpvCapability_ = 21;
pub const SpvCapability__SpvCapabilityInt16: SpvCapability_ = 22;
pub const SpvCapability__SpvCapabilityTessellationPointSize: SpvCapability_ = 23;
pub const SpvCapability__SpvCapabilityGeometryPointSize: SpvCapability_ = 24;
pub const SpvCapability__SpvCapabilityImageGatherExtended: SpvCapability_ = 25;
pub const SpvCapability__SpvCapabilityStorageImageMultisample: SpvCapability_ = 27;
pub const SpvCapability__SpvCapabilityUniformBufferArrayDynamicIndexing: SpvCapability_ = 28;
pub const SpvCapability__SpvCapabilitySampledImageArrayDynamicIndexing: SpvCapability_ = 29;
pub const SpvCapability__SpvCapabilityStorageBufferArrayDynamicIndexing: SpvCapability_ = 30;
pub const SpvCapability__SpvCapabilityStorageImageArrayDynamicIndexing: SpvCapability_ = 31;
pub const SpvCapability__SpvCapabilityClipDistance: SpvCapability_ = 32;
pub const SpvCapability__SpvCapabilityCullDistance: SpvCapability_ = 33;
pub const SpvCapability__SpvCapabilityImageCubeArray: SpvCapability_ = 34;
pub const SpvCapability__SpvCapabilitySampleRateShading: SpvCapability_ = 35;
pub const SpvCapability__SpvCapabilityImageRect: SpvCapability_ = 36;
pub const SpvCapability__SpvCapabilitySampledRect: SpvCapability_ = 37;
pub const SpvCapability__SpvCapabilityGenericPointer: SpvCapability_ = 38;
pub const SpvCapability__SpvCapabilityInt8: SpvCapability_ = 39;
pub const SpvCapability__SpvCapabilityInputAttachment: SpvCapability_ = 40;
pub const SpvCapability__SpvCapabilitySparseResidency: SpvCapability_ = 41;
pub const SpvCapability__SpvCapabilityMinLod: SpvCapability_ = 42;
pub const SpvCapability__SpvCapabilitySampled1D: SpvCapability_ = 43;
pub const SpvCapability__SpvCapabilityImage1D: SpvCapability_ = 44;
pub const SpvCapability__SpvCapabilitySampledCubeArray: SpvCapability_ = 45;
pub const SpvCapability__SpvCapabilitySampledBuffer: SpvCapability_ = 46;
pub const SpvCapability__SpvCapabilityImageBuffer: SpvCapability_ = 47;
pub const SpvCapability__SpvCapabilityImageMSArray: SpvCapability_ = 48;
pub const SpvCapability__SpvCapabilityStorageImageExtendedFormats: SpvCapability_ = 49;
pub const SpvCapability__SpvCapabilityImageQuery: SpvCapability_ = 50;
pub const SpvCapability__SpvCapabilityDerivativeControl: SpvCapability_ = 51;
pub const SpvCapability__SpvCapabilityInterpolationFunction: SpvCapability_ = 52;
pub const SpvCapability__SpvCapabilityTransformFeedback: SpvCapability_ = 53;
pub const SpvCapability__SpvCapabilityGeometryStreams: SpvCapability_ = 54;
pub const SpvCapability__SpvCapabilityStorageImageReadWithoutFormat: SpvCapability_ = 55;
pub const SpvCapability__SpvCapabilityStorageImageWriteWithoutFormat: SpvCapability_ = 56;
pub const SpvCapability__SpvCapabilityMultiViewport: SpvCapability_ = 57;
pub const SpvCapability__SpvCapabilitySubgroupDispatch: SpvCapability_ = 58;
pub const SpvCapability__SpvCapabilityNamedBarrier: SpvCapability_ = 59;
pub const SpvCapability__SpvCapabilityPipeStorage: SpvCapability_ = 60;
pub const SpvCapability__SpvCapabilityGroupNonUniform: SpvCapability_ = 61;
pub const SpvCapability__SpvCapabilityGroupNonUniformVote: SpvCapability_ = 62;
pub const SpvCapability__SpvCapabilityGroupNonUniformArithmetic: SpvCapability_ = 63;
pub const SpvCapability__SpvCapabilityGroupNonUniformBallot: SpvCapability_ = 64;
pub const SpvCapability__SpvCapabilityGroupNonUniformShuffle: SpvCapability_ = 65;
pub const SpvCapability__SpvCapabilityGroupNonUniformShuffleRelative: SpvCapability_ = 66;
pub const SpvCapability__SpvCapabilityGroupNonUniformClustered: SpvCapability_ = 67;
pub const SpvCapability__SpvCapabilityGroupNonUniformQuad: SpvCapability_ = 68;
pub const SpvCapability__SpvCapabilitySubgroupBallotKHR: SpvCapability_ = 4423;
pub const SpvCapability__SpvCapabilityDrawParameters: SpvCapability_ = 4427;
pub const SpvCapability__SpvCapabilitySubgroupVoteKHR: SpvCapability_ = 4431;
pub const SpvCapability__SpvCapabilityStorageBuffer16BitAccess: SpvCapability_ = 4433;
pub const SpvCapability__SpvCapabilityStorageUniformBufferBlock16: SpvCapability_ = 4433;
pub const SpvCapability__SpvCapabilityStorageUniform16: SpvCapability_ = 4434;
pub const SpvCapability__SpvCapabilityUniformAndStorageBuffer16BitAccess: SpvCapability_ = 4434;
pub const SpvCapability__SpvCapabilityStoragePushConstant16: SpvCapability_ = 4435;
pub const SpvCapability__SpvCapabilityStorageInputOutput16: SpvCapability_ = 4436;
pub const SpvCapability__SpvCapabilityDeviceGroup: SpvCapability_ = 4437;
pub const SpvCapability__SpvCapabilityMultiView: SpvCapability_ = 4439;
pub const SpvCapability__SpvCapabilityVariablePointersStorageBuffer: SpvCapability_ = 4441;
pub const SpvCapability__SpvCapabilityVariablePointers: SpvCapability_ = 4442;
pub const SpvCapability__SpvCapabilityAtomicStorageOps: SpvCapability_ = 4445;
pub const SpvCapability__SpvCapabilitySampleMaskPostDepthCoverage: SpvCapability_ = 4447;
pub const SpvCapability__SpvCapabilityFloat16ImageAMD: SpvCapability_ = 5008;
pub const SpvCapability__SpvCapabilityImageGatherBiasLodAMD: SpvCapability_ = 5009;
pub const SpvCapability__SpvCapabilityFragmentMaskAMD: SpvCapability_ = 5010;
pub const SpvCapability__SpvCapabilityStencilExportEXT: SpvCapability_ = 5013;
pub const SpvCapability__SpvCapabilityImageReadWriteLodAMD: SpvCapability_ = 5015;
pub const SpvCapability__SpvCapabilitySampleMaskOverrideCoverageNV: SpvCapability_ = 5249;
pub const SpvCapability__SpvCapabilityGeometryShaderPassthroughNV: SpvCapability_ = 5251;
pub const SpvCapability__SpvCapabilityShaderViewportIndexLayerEXT: SpvCapability_ = 5254;
pub const SpvCapability__SpvCapabilityShaderViewportIndexLayerNV: SpvCapability_ = 5254;
pub const SpvCapability__SpvCapabilityShaderViewportMaskNV: SpvCapability_ = 5255;
pub const SpvCapability__SpvCapabilityShaderStereoViewNV: SpvCapability_ = 5259;
pub const SpvCapability__SpvCapabilityPerViewAttributesNV: SpvCapability_ = 5260;
pub const SpvCapability__SpvCapabilityFragmentFullyCoveredEXT: SpvCapability_ = 5265;
pub const SpvCapability__SpvCapabilityGroupNonUniformPartitionedNV: SpvCapability_ = 5297;
pub const SpvCapability__SpvCapabilitySubgroupShuffleINTEL: SpvCapability_ = 5568;
pub const SpvCapability__SpvCapabilitySubgroupBufferBlockIOINTEL: SpvCapability_ = 5569;
pub const SpvCapability__SpvCapabilitySubgroupImageBlockIOINTEL: SpvCapability_ = 5570;
pub const SpvCapability__SpvCapabilityMax: SpvCapability_ = 2147483647;
pub type SpvCapability_ = u32;
pub use self::SpvCapability_ as SpvCapability;
pub const SpvOp__SpvOpNop: SpvOp_ = 0;
pub const SpvOp__SpvOpUndef: SpvOp_ = 1;
pub const SpvOp__SpvOpSourceContinued: SpvOp_ = 2;
pub const SpvOp__SpvOpSource: SpvOp_ = 3;
pub const SpvOp__SpvOpSourceExtension: SpvOp_ = 4;
pub const SpvOp__SpvOpName: SpvOp_ = 5;
pub const SpvOp__SpvOpMemberName: SpvOp_ = 6;
pub const SpvOp__SpvOpString: SpvOp_ = 7;
pub const SpvOp__SpvOpLine: SpvOp_ = 8;
pub const SpvOp__SpvOpExtension: SpvOp_ = 10;
pub const SpvOp__SpvOpExtInstImport: SpvOp_ = 11;
pub const SpvOp__SpvOpExtInst: SpvOp_ = 12;
pub const SpvOp__SpvOpMemoryModel: SpvOp_ = 14;
pub const SpvOp__SpvOpEntryPoint: SpvOp_ = 15;
pub const SpvOp__SpvOpExecutionMode: SpvOp_ = 16;
pub const SpvOp__SpvOpCapability: SpvOp_ = 17;
pub const SpvOp__SpvOpTypeVoid: SpvOp_ = 19;
pub const SpvOp__SpvOpTypeBool: SpvOp_ = 20;
pub const SpvOp__SpvOpTypeInt: SpvOp_ = 21;
pub const SpvOp__SpvOpTypeFloat: SpvOp_ = 22;
pub const SpvOp__SpvOpTypeVector: SpvOp_ = 23;
pub const SpvOp__SpvOpTypeMatrix: SpvOp_ = 24;
pub const SpvOp__SpvOpTypeImage: SpvOp_ = 25;
pub const SpvOp__SpvOpTypeSampler: SpvOp_ = 26;
pub const SpvOp__SpvOpTypeSampledImage: SpvOp_ = 27;
pub const SpvOp__SpvOpTypeArray: SpvOp_ = 28;
pub const SpvOp__SpvOpTypeRuntimeArray: SpvOp_ = 29;
pub const SpvOp__SpvOpTypeStruct: SpvOp_ = 30;
pub const SpvOp__SpvOpTypeOpaque: SpvOp_ = 31;
pub const SpvOp__SpvOpTypePointer: SpvOp_ = 32;
pub const SpvOp__SpvOpTypeFunction: SpvOp_ = 33;
pub const SpvOp__SpvOpTypeEvent: SpvOp_ = 34;
pub const SpvOp__SpvOpTypeDeviceEvent: SpvOp_ = 35;
pub const SpvOp__SpvOpTypeReserveId: SpvOp_ = 36;
pub const SpvOp__SpvOpTypeQueue: SpvOp_ = 37;
pub const SpvOp__SpvOpTypePipe: SpvOp_ = 38;
pub const SpvOp__SpvOpTypeForwardPointer: SpvOp_ = 39;
pub const SpvOp__SpvOpConstantTrue: SpvOp_ = 41;
pub const SpvOp__SpvOpConstantFalse: SpvOp_ = 42;
pub const SpvOp__SpvOpConstant: SpvOp_ = 43;
pub const SpvOp__SpvOpConstantComposite: SpvOp_ = 44;
pub const SpvOp__SpvOpConstantSampler: SpvOp_ = 45;
pub const SpvOp__SpvOpConstantNull: SpvOp_ = 46;
pub const SpvOp__SpvOpSpecConstantTrue: SpvOp_ = 48;
pub const SpvOp__SpvOpSpecConstantFalse: SpvOp_ = 49;
pub const SpvOp__SpvOpSpecConstant: SpvOp_ = 50;
pub const SpvOp__SpvOpSpecConstantComposite: SpvOp_ = 51;
pub const SpvOp__SpvOpSpecConstantOp: SpvOp_ = 52;
pub const SpvOp__SpvOpFunction: SpvOp_ = 54;
pub const SpvOp__SpvOpFunctionParameter: SpvOp_ = 55;
pub const SpvOp__SpvOpFunctionEnd: SpvOp_ = 56;
pub const SpvOp__SpvOpFunctionCall: SpvOp_ = 57;
pub const SpvOp__SpvOpVariable: SpvOp_ = 59;
pub const SpvOp__SpvOpImageTexelPointer: SpvOp_ = 60;
pub const SpvOp__SpvOpLoad: SpvOp_ = 61;
pub const SpvOp__SpvOpStore: SpvOp_ = 62;
pub const SpvOp__SpvOpCopyMemory: SpvOp_ = 63;
pub const SpvOp__SpvOpCopyMemorySized: SpvOp_ = 64;
pub const SpvOp__SpvOpAccessChain: SpvOp_ = 65;
pub const SpvOp__SpvOpInBoundsAccessChain: SpvOp_ = 66;
pub const SpvOp__SpvOpPtrAccessChain: SpvOp_ = 67;
pub const SpvOp__SpvOpArrayLength: SpvOp_ = 68;
pub const SpvOp__SpvOpGenericPtrMemSemantics: SpvOp_ = 69;
pub const SpvOp__SpvOpInBoundsPtrAccessChain: SpvOp_ = 70;
pub const SpvOp__SpvOpDecorate: SpvOp_ = 71;
pub const SpvOp__SpvOpMemberDecorate: SpvOp_ = 72;
pub const SpvOp__SpvOpDecorationGroup: SpvOp_ = 73;
pub const SpvOp__SpvOpGroupDecorate: SpvOp_ = 74;
pub const SpvOp__SpvOpGroupMemberDecorate: SpvOp_ = 75;
pub const SpvOp__SpvOpVectorExtractDynamic: SpvOp_ = 77;
pub const SpvOp__SpvOpVectorInsertDynamic: SpvOp_ = 78;
pub const SpvOp__SpvOpVectorShuffle: SpvOp_ = 79;
pub const SpvOp__SpvOpCompositeConstruct: SpvOp_ = 80;
pub const SpvOp__SpvOpCompositeExtract: SpvOp_ = 81;
pub const SpvOp__SpvOpCompositeInsert: SpvOp_ = 82;
pub const SpvOp__SpvOpCopyObject: SpvOp_ = 83;
pub const SpvOp__SpvOpTranspose: SpvOp_ = 84;
pub const SpvOp__SpvOpSampledImage: SpvOp_ = 86;
pub const SpvOp__SpvOpImageSampleImplicitLod: SpvOp_ = 87;
pub const SpvOp__SpvOpImageSampleExplicitLod: SpvOp_ = 88;
pub const SpvOp__SpvOpImageSampleDrefImplicitLod: SpvOp_ = 89;
pub const SpvOp__SpvOpImageSampleDrefExplicitLod: SpvOp_ = 90;
pub const SpvOp__SpvOpImageSampleProjImplicitLod: SpvOp_ = 91;
pub const SpvOp__SpvOpImageSampleProjExplicitLod: SpvOp_ = 92;
pub const SpvOp__SpvOpImageSampleProjDrefImplicitLod: SpvOp_ = 93;
pub const SpvOp__SpvOpImageSampleProjDrefExplicitLod: SpvOp_ = 94;
pub const SpvOp__SpvOpImageFetch: SpvOp_ = 95;
pub const SpvOp__SpvOpImageGather: SpvOp_ = 96;
pub const SpvOp__SpvOpImageDrefGather: SpvOp_ = 97;
pub const SpvOp__SpvOpImageRead: SpvOp_ = 98;
pub const SpvOp__SpvOpImageWrite: SpvOp_ = 99;
pub const SpvOp__SpvOpImage: SpvOp_ = 100;
pub const SpvOp__SpvOpImageQueryFormat: SpvOp_ = 101;
pub const SpvOp__SpvOpImageQueryOrder: SpvOp_ = 102;
pub const SpvOp__SpvOpImageQuerySizeLod: SpvOp_ = 103;
pub const SpvOp__SpvOpImageQuerySize: SpvOp_ = 104;
pub const SpvOp__SpvOpImageQueryLod: SpvOp_ = 105;
pub const SpvOp__SpvOpImageQueryLevels: SpvOp_ = 106;
pub const SpvOp__SpvOpImageQuerySamples: SpvOp_ = 107;
pub const SpvOp__SpvOpConvertFToU: SpvOp_ = 109;
pub const SpvOp__SpvOpConvertFToS: SpvOp_ = 110;
pub const SpvOp__SpvOpConvertSToF: SpvOp_ = 111;
pub const SpvOp__SpvOpConvertUToF: SpvOp_ = 112;
pub const SpvOp__SpvOpUConvert: SpvOp_ = 113;
pub const SpvOp__SpvOpSConvert: SpvOp_ = 114;
pub const SpvOp__SpvOpFConvert: SpvOp_ = 115;
pub const SpvOp__SpvOpQuantizeToF16: SpvOp_ = 116;
pub const SpvOp__SpvOpConvertPtrToU: SpvOp_ = 117;
pub const SpvOp__SpvOpSatConvertSToU: SpvOp_ = 118;
pub const SpvOp__SpvOpSatConvertUToS: SpvOp_ = 119;
pub const SpvOp__SpvOpConvertUToPtr: SpvOp_ = 120;
pub const SpvOp__SpvOpPtrCastToGeneric: SpvOp_ = 121;
pub const SpvOp__SpvOpGenericCastToPtr: SpvOp_ = 122;
pub const SpvOp__SpvOpGenericCastToPtrExplicit: SpvOp_ = 123;
pub const SpvOp__SpvOpBitcast: SpvOp_ = 124;
pub const SpvOp__SpvOpSNegate: SpvOp_ = 126;
pub const SpvOp__SpvOpFNegate: SpvOp_ = 127;
pub const SpvOp__SpvOpIAdd: SpvOp_ = 128;
pub const SpvOp__SpvOpFAdd: SpvOp_ = 129;
pub const SpvOp__SpvOpISub: SpvOp_ = 130;
pub const SpvOp__SpvOpFSub: SpvOp_ = 131;
pub const SpvOp__SpvOpIMul: SpvOp_ = 132;
pub const SpvOp__SpvOpFMul: SpvOp_ = 133;
pub const SpvOp__SpvOpUDiv: SpvOp_ = 134;
pub const SpvOp__SpvOpSDiv: SpvOp_ = 135;
pub const SpvOp__SpvOpFDiv: SpvOp_ = 136;
pub const SpvOp__SpvOpUMod: SpvOp_ = 137;
pub const SpvOp__SpvOpSRem: SpvOp_ = 138;
pub const SpvOp__SpvOpSMod: SpvOp_ = 139;
pub const SpvOp__SpvOpFRem: SpvOp_ = 140;
pub const SpvOp__SpvOpFMod: SpvOp_ = 141;
pub const SpvOp__SpvOpVectorTimesScalar: SpvOp_ = 142;
pub const SpvOp__SpvOpMatrixTimesScalar: SpvOp_ = 143;
pub const SpvOp__SpvOpVectorTimesMatrix: SpvOp_ = 144;
pub const SpvOp__SpvOpMatrixTimesVector: SpvOp_ = 145;
pub const SpvOp__SpvOpMatrixTimesMatrix: SpvOp_ = 146;
pub const SpvOp__SpvOpOuterProduct: SpvOp_ = 147;
pub const SpvOp__SpvOpDot: SpvOp_ = 148;
pub const SpvOp__SpvOpIAddCarry: SpvOp_ = 149;
pub const SpvOp__SpvOpISubBorrow: SpvOp_ = 150;
pub const SpvOp__SpvOpUMulExtended: SpvOp_ = 151;
pub const SpvOp__SpvOpSMulExtended: SpvOp_ = 152;
pub const SpvOp__SpvOpAny: SpvOp_ = 154;
pub const SpvOp__SpvOpAll: SpvOp_ = 155;
pub const SpvOp__SpvOpIsNan: SpvOp_ = 156;
pub const SpvOp__SpvOpIsInf: SpvOp_ = 157;
pub const SpvOp__SpvOpIsFinite: SpvOp_ = 158;
pub const SpvOp__SpvOpIsNormal: SpvOp_ = 159;
pub const SpvOp__SpvOpSignBitSet: SpvOp_ = 160;
pub const SpvOp__SpvOpLessOrGreater: SpvOp_ = 161;
pub const SpvOp__SpvOpOrdered: SpvOp_ = 162;
pub const SpvOp__SpvOpUnordered: SpvOp_ = 163;
pub const SpvOp__SpvOpLogicalEqual: SpvOp_ = 164;
pub const SpvOp__SpvOpLogicalNotEqual: SpvOp_ = 165;
pub const SpvOp__SpvOpLogicalOr: SpvOp_ = 166;
pub const SpvOp__SpvOpLogicalAnd: SpvOp_ = 167;
pub const SpvOp__SpvOpLogicalNot: SpvOp_ = 168;
pub const SpvOp__SpvOpSelect: SpvOp_ = 169;
pub const SpvOp__SpvOpIEqual: SpvOp_ = 170;
pub const SpvOp__SpvOpINotEqual: SpvOp_ = 171;
pub const SpvOp__SpvOpUGreaterThan: SpvOp_ = 172;
pub const SpvOp__SpvOpSGreaterThan: SpvOp_ = 173;
pub const SpvOp__SpvOpUGreaterThanEqual: SpvOp_ = 174;
pub const SpvOp__SpvOpSGreaterThanEqual: SpvOp_ = 175;
pub const SpvOp__SpvOpULessThan: SpvOp_ = 176;
pub const SpvOp__SpvOpSLessThan: SpvOp_ = 177;
pub const SpvOp__SpvOpULessThanEqual: SpvOp_ = 178;
pub const SpvOp__SpvOpSLessThanEqual: SpvOp_ = 179;
pub const SpvOp__SpvOpFOrdEqual: SpvOp_ = 180;
pub const SpvOp__SpvOpFUnordEqual: SpvOp_ = 181;
pub const SpvOp__SpvOpFOrdNotEqual: SpvOp_ = 182;
pub const SpvOp__SpvOpFUnordNotEqual: SpvOp_ = 183;
pub const SpvOp__SpvOpFOrdLessThan: SpvOp_ = 184;
pub const SpvOp__SpvOpFUnordLessThan: SpvOp_ = 185;
pub const SpvOp__SpvOpFOrdGreaterThan: SpvOp_ = 186;
pub const SpvOp__SpvOpFUnordGreaterThan: SpvOp_ = 187;
pub const SpvOp__SpvOpFOrdLessThanEqual: SpvOp_ = 188;
pub const SpvOp__SpvOpFUnordLessThanEqual: SpvOp_ = 189;
pub const SpvOp__SpvOpFOrdGreaterThanEqual: SpvOp_ = 190;
pub const SpvOp__SpvOpFUnordGreaterThanEqual: SpvOp_ = 191;
pub const SpvOp__SpvOpShiftRightLogical: SpvOp_ = 194;
pub const SpvOp__SpvOpShiftRightArithmetic: SpvOp_ = 195;
pub const SpvOp__SpvOpShiftLeftLogical: SpvOp_ = 196;
pub const SpvOp__SpvOpBitwiseOr: SpvOp_ = 197;
pub const SpvOp__SpvOpBitwiseXor: SpvOp_ = 198;
pub const SpvOp__SpvOpBitwiseAnd: SpvOp_ = 199;
pub const SpvOp__SpvOpNot: SpvOp_ = 200;
pub const SpvOp__SpvOpBitFieldInsert: SpvOp_ = 201;
pub const SpvOp__SpvOpBitFieldSExtract: SpvOp_ = 202;
pub const SpvOp__SpvOpBitFieldUExtract: SpvOp_ = 203;
pub const SpvOp__SpvOpBitReverse: SpvOp_ = 204;
pub const SpvOp__SpvOpBitCount: SpvOp_ = 205;
pub const SpvOp__SpvOpDPdx: SpvOp_ = 207;
pub const SpvOp__SpvOpDPdy: SpvOp_ = 208;
pub const SpvOp__SpvOpFwidth: SpvOp_ = 209;
pub const SpvOp__SpvOpDPdxFine: SpvOp_ = 210;
pub const SpvOp__SpvOpDPdyFine: SpvOp_ = 211;
pub const SpvOp__SpvOpFwidthFine: SpvOp_ = 212;
pub const SpvOp__SpvOpDPdxCoarse: SpvOp_ = 213;
pub const SpvOp__SpvOpDPdyCoarse: SpvOp_ = 214;
pub const SpvOp__SpvOpFwidthCoarse: SpvOp_ = 215;
pub const SpvOp__SpvOpEmitVertex: SpvOp_ = 218;
pub const SpvOp__SpvOpEndPrimitive: SpvOp_ = 219;
pub const SpvOp__SpvOpEmitStreamVertex: SpvOp_ = 220;
pub const SpvOp__SpvOpEndStreamPrimitive: SpvOp_ = 221;
pub const SpvOp__SpvOpControlBarrier: SpvOp_ = 224;
pub const SpvOp__SpvOpMemoryBarrier: SpvOp_ = 225;
pub const SpvOp__SpvOpAtomicLoad: SpvOp_ = 227;
pub const SpvOp__SpvOpAtomicStore: SpvOp_ = 228;
pub const SpvOp__SpvOpAtomicExchange: SpvOp_ = 229;
pub const SpvOp__SpvOpAtomicCompareExchange: SpvOp_ = 230;
pub const SpvOp__SpvOpAtomicCompareExchangeWeak: SpvOp_ = 231;
pub const SpvOp__SpvOpAtomicIIncrement: SpvOp_ = 232;
pub const SpvOp__SpvOpAtomicIDecrement: SpvOp_ = 233;
pub const SpvOp__SpvOpAtomicIAdd: SpvOp_ = 234;
pub const SpvOp__SpvOpAtomicISub: SpvOp_ = 235;
pub const SpvOp__SpvOpAtomicSMin: SpvOp_ = 236;
pub const SpvOp__SpvOpAtomicUMin: SpvOp_ = 237;
pub const SpvOp__SpvOpAtomicSMax: SpvOp_ = 238;
pub const SpvOp__SpvOpAtomicUMax: SpvOp_ = 239;
pub const SpvOp__SpvOpAtomicAnd: SpvOp_ = 240;
pub const SpvOp__SpvOpAtomicOr: SpvOp_ = 241;
pub const SpvOp__SpvOpAtomicXor: SpvOp_ = 242;
pub const SpvOp__SpvOpPhi: SpvOp_ = 245;
pub const SpvOp__SpvOpLoopMerge: SpvOp_ = 246;
pub const SpvOp__SpvOpSelectionMerge: SpvOp_ = 247;
pub const SpvOp__SpvOpLabel: SpvOp_ = 248;
pub const SpvOp__SpvOpBranch: SpvOp_ = 249;
pub const SpvOp__SpvOpBranchConditional: SpvOp_ = 250;
pub const SpvOp__SpvOpSwitch: SpvOp_ = 251;
pub const SpvOp__SpvOpKill: SpvOp_ = 252;
pub const SpvOp__SpvOpReturn: SpvOp_ = 253;
pub const SpvOp__SpvOpReturnValue: SpvOp_ = 254;
pub const SpvOp__SpvOpUnreachable: SpvOp_ = 255;
pub const SpvOp__SpvOpLifetimeStart: SpvOp_ = 256;
pub const SpvOp__SpvOpLifetimeStop: SpvOp_ = 257;
pub const SpvOp__SpvOpGroupAsyncCopy: SpvOp_ = 259;
pub const SpvOp__SpvOpGroupWaitEvents: SpvOp_ = 260;
pub const SpvOp__SpvOpGroupAll: SpvOp_ = 261;
pub const SpvOp__SpvOpGroupAny: SpvOp_ = 262;
pub const SpvOp__SpvOpGroupBroadcast: SpvOp_ = 263;
pub const SpvOp__SpvOpGroupIAdd: SpvOp_ = 264;
pub const SpvOp__SpvOpGroupFAdd: SpvOp_ = 265;
pub const SpvOp__SpvOpGroupFMin: SpvOp_ = 266;
pub const SpvOp__SpvOpGroupUMin: SpvOp_ = 267;
pub const SpvOp__SpvOpGroupSMin: SpvOp_ = 268;
pub const SpvOp__SpvOpGroupFMax: SpvOp_ = 269;
pub const SpvOp__SpvOpGroupUMax: SpvOp_ = 270;
pub const SpvOp__SpvOpGroupSMax: SpvOp_ = 271;
pub const SpvOp__SpvOpReadPipe: SpvOp_ = 274;
pub const SpvOp__SpvOpWritePipe: SpvOp_ = 275;
pub const SpvOp__SpvOpReservedReadPipe: SpvOp_ = 276;
pub const SpvOp__SpvOpReservedWritePipe: SpvOp_ = 277;
pub const SpvOp__SpvOpReserveReadPipePackets: SpvOp_ = 278;
pub const SpvOp__SpvOpReserveWritePipePackets: SpvOp_ = 279;
pub const SpvOp__SpvOpCommitReadPipe: SpvOp_ = 280;
pub const SpvOp__SpvOpCommitWritePipe: SpvOp_ = 281;
pub const SpvOp__SpvOpIsValidReserveId: SpvOp_ = 282;
pub const SpvOp__SpvOpGetNumPipePackets: SpvOp_ = 283;
pub const SpvOp__SpvOpGetMaxPipePackets: SpvOp_ = 284;
pub const SpvOp__SpvOpGroupReserveReadPipePackets: SpvOp_ = 285;
pub const SpvOp__SpvOpGroupReserveWritePipePackets: SpvOp_ = 286;
pub const SpvOp__SpvOpGroupCommitReadPipe: SpvOp_ = 287;
pub const SpvOp__SpvOpGroupCommitWritePipe: SpvOp_ = 288;
pub const SpvOp__SpvOpEnqueueMarker: SpvOp_ = 291;
pub const SpvOp__SpvOpEnqueueKernel: SpvOp_ = 292;
pub const SpvOp__SpvOpGetKernelNDrangeSubGroupCount: SpvOp_ = 293;
pub const SpvOp__SpvOpGetKernelNDrangeMaxSubGroupSize: SpvOp_ = 294;
pub const SpvOp__SpvOpGetKernelWorkGroupSize: SpvOp_ = 295;
pub const SpvOp__SpvOpGetKernelPreferredWorkGroupSizeMultiple: SpvOp_ = 296;
pub const SpvOp__SpvOpRetainEvent: SpvOp_ = 297;
pub const SpvOp__SpvOpReleaseEvent: SpvOp_ = 298;
pub const SpvOp__SpvOpCreateUserEvent: SpvOp_ = 299;
pub const SpvOp__SpvOpIsValidEvent: SpvOp_ = 300;
pub const SpvOp__SpvOpSetUserEventStatus: SpvOp_ = 301;
pub const SpvOp__SpvOpCaptureEventProfilingInfo: SpvOp_ = 302;
pub const SpvOp__SpvOpGetDefaultQueue: SpvOp_ = 303;
pub const SpvOp__SpvOpBuildNDRange: SpvOp_ = 304;
pub const SpvOp__SpvOpImageSparseSampleImplicitLod: SpvOp_ = 305;
pub const SpvOp__SpvOpImageSparseSampleExplicitLod: SpvOp_ = 306;
pub const SpvOp__SpvOpImageSparseSampleDrefImplicitLod: SpvOp_ = 307;
pub const SpvOp__SpvOpImageSparseSampleDrefExplicitLod: SpvOp_ = 308;
pub const SpvOp__SpvOpImageSparseSampleProjImplicitLod: SpvOp_ = 309;
pub const SpvOp__SpvOpImageSparseSampleProjExplicitLod: SpvOp_ = 310;
pub const SpvOp__SpvOpImageSparseSampleProjDrefImplicitLod: SpvOp_ = 311;
pub const SpvOp__SpvOpImageSparseSampleProjDrefExplicitLod: SpvOp_ = 312;
pub const SpvOp__SpvOpImageSparseFetch: SpvOp_ = 313;
pub const SpvOp__SpvOpImageSparseGather: SpvOp_ = 314;
pub const SpvOp__SpvOpImageSparseDrefGather: SpvOp_ = 315;
pub const SpvOp__SpvOpImageSparseTexelsResident: SpvOp_ = 316;
pub const SpvOp__SpvOpNoLine: SpvOp_ = 317;
pub const SpvOp__SpvOpAtomicFlagTestAndSet: SpvOp_ = 318;
pub const SpvOp__SpvOpAtomicFlagClear: SpvOp_ = 319;
pub const SpvOp__SpvOpImageSparseRead: SpvOp_ = 320;
pub const SpvOp__SpvOpSizeOf: SpvOp_ = 321;
pub const SpvOp__SpvOpTypePipeStorage: SpvOp_ = 322;
pub const SpvOp__SpvOpConstantPipeStorage: SpvOp_ = 323;
pub const SpvOp__SpvOpCreatePipeFromPipeStorage: SpvOp_ = 324;
pub const SpvOp__SpvOpGetKernelLocalSizeForSubgroupCount: SpvOp_ = 325;
pub const SpvOp__SpvOpGetKernelMaxNumSubgroups: SpvOp_ = 326;
pub const SpvOp__SpvOpTypeNamedBarrier: SpvOp_ = 327;
pub const SpvOp__SpvOpNamedBarrierInitialize: SpvOp_ = 328;
pub const SpvOp__SpvOpMemoryNamedBarrier: SpvOp_ = 329;
pub const SpvOp__SpvOpModuleProcessed: SpvOp_ = 330;
pub const SpvOp__SpvOpExecutionModeId: SpvOp_ = 331;
pub const SpvOp__SpvOpDecorateId: SpvOp_ = 332;
pub const SpvOp__SpvOpGroupNonUniformElect: SpvOp_ = 333;
pub const SpvOp__SpvOpGroupNonUniformAll: SpvOp_ = 334;
pub const SpvOp__SpvOpGroupNonUniformAny: SpvOp_ = 335;
pub const SpvOp__SpvOpGroupNonUniformAllEqual: SpvOp_ = 336;
pub const SpvOp__SpvOpGroupNonUniformBroadcast: SpvOp_ = 337;
pub const SpvOp__SpvOpGroupNonUniformBroadcastFirst: SpvOp_ = 338;
pub const SpvOp__SpvOpGroupNonUniformBallot: SpvOp_ = 339;
pub const SpvOp__SpvOpGroupNonUniformInverseBallot: SpvOp_ = 340;
pub const SpvOp__SpvOpGroupNonUniformBallotBitExtract: SpvOp_ = 341;
pub const SpvOp__SpvOpGroupNonUniformBallotBitCount: SpvOp_ = 342;
pub const SpvOp__SpvOpGroupNonUniformBallotFindLSB: SpvOp_ = 343;
pub const SpvOp__SpvOpGroupNonUniformBallotFindMSB: SpvOp_ = 344;
pub const SpvOp__SpvOpGroupNonUniformShuffle: SpvOp_ = 345;
pub const SpvOp__SpvOpGroupNonUniformShuffleXor: SpvOp_ = 346;
pub const SpvOp__SpvOpGroupNonUniformShuffleUp: SpvOp_ = 347;
pub const SpvOp__SpvOpGroupNonUniformShuffleDown: SpvOp_ = 348;
pub const SpvOp__SpvOpGroupNonUniformIAdd: SpvOp_ = 349;
pub const SpvOp__SpvOpGroupNonUniformFAdd: SpvOp_ = 350;
pub const SpvOp__SpvOpGroupNonUniformIMul: SpvOp_ = 351;
pub const SpvOp__SpvOpGroupNonUniformFMul: SpvOp_ = 352;
pub const SpvOp__SpvOpGroupNonUniformSMin: SpvOp_ = 353;
pub const SpvOp__SpvOpGroupNonUniformUMin: SpvOp_ = 354;
pub const SpvOp__SpvOpGroupNonUniformFMin: SpvOp_ = 355;
pub const SpvOp__SpvOpGroupNonUniformSMax: SpvOp_ = 356;
pub const SpvOp__SpvOpGroupNonUniformUMax: SpvOp_ = 357;
pub const SpvOp__SpvOpGroupNonUniformFMax: SpvOp_ = 358;
pub const SpvOp__SpvOpGroupNonUniformBitwiseAnd: SpvOp_ = 359;
pub const SpvOp__SpvOpGroupNonUniformBitwiseOr: SpvOp_ = 360;
pub const SpvOp__SpvOpGroupNonUniformBitwiseXor: SpvOp_ = 361;
pub const SpvOp__SpvOpGroupNonUniformLogicalAnd: SpvOp_ = 362;
pub const SpvOp__SpvOpGroupNonUniformLogicalOr: SpvOp_ = 363;
pub const SpvOp__SpvOpGroupNonUniformLogicalXor: SpvOp_ = 364;
pub const SpvOp__SpvOpGroupNonUniformQuadBroadcast: SpvOp_ = 365;
pub const SpvOp__SpvOpGroupNonUniformQuadSwap: SpvOp_ = 366;
pub const SpvOp__SpvOpSubgroupBallotKHR: SpvOp_ = 4421;
pub const SpvOp__SpvOpSubgroupFirstInvocationKHR: SpvOp_ = 4422;
pub const SpvOp__SpvOpSubgroupAllKHR: SpvOp_ = 4428;
pub const SpvOp__SpvOpSubgroupAnyKHR: SpvOp_ = 4429;
pub const SpvOp__SpvOpSubgroupAllEqualKHR: SpvOp_ = 4430;
pub const SpvOp__SpvOpSubgroupReadInvocationKHR: SpvOp_ = 4432;
pub const SpvOp__SpvOpGroupIAddNonUniformAMD: SpvOp_ = 5000;
pub const SpvOp__SpvOpGroupFAddNonUniformAMD: SpvOp_ = 5001;
pub const SpvOp__SpvOpGroupFMinNonUniformAMD: SpvOp_ = 5002;
pub const SpvOp__SpvOpGroupUMinNonUniformAMD: SpvOp_ = 5003;
pub const SpvOp__SpvOpGroupSMinNonUniformAMD: SpvOp_ = 5004;
pub const SpvOp__SpvOpGroupFMaxNonUniformAMD: SpvOp_ = 5005;
pub const SpvOp__SpvOpGroupUMaxNonUniformAMD: SpvOp_ = 5006;
pub const SpvOp__SpvOpGroupSMaxNonUniformAMD: SpvOp_ = 5007;
pub const SpvOp__SpvOpFragmentMaskFetchAMD: SpvOp_ = 5011;
pub const SpvOp__SpvOpFragmentFetchAMD: SpvOp_ = 5012;
pub const SpvOp__SpvOpGroupNonUniformPartitionNV: SpvOp_ = 5296;
pub const SpvOp__SpvOpSubgroupShuffleINTEL: SpvOp_ = 5571;
pub const SpvOp__SpvOpSubgroupShuffleDownINTEL: SpvOp_ = 5572;
pub const SpvOp__SpvOpSubgroupShuffleUpINTEL: SpvOp_ = 5573;
pub const SpvOp__SpvOpSubgroupShuffleXorINTEL: SpvOp_ = 5574;
pub const SpvOp__SpvOpSubgroupBlockReadINTEL: SpvOp_ = 5575;
pub const SpvOp__SpvOpSubgroupBlockWriteINTEL: SpvOp_ = 5576;
pub const SpvOp__SpvOpSubgroupImageBlockReadINTEL: SpvOp_ = 5577;
pub const SpvOp__SpvOpSubgroupImageBlockWriteINTEL: SpvOp_ = 5578;
pub const SpvOp__SpvOpDecorateStringGOOGLE: SpvOp_ = 5632;
pub const SpvOp__SpvOpMemberDecorateStringGOOGLE: SpvOp_ = 5633;
pub const SpvOp__SpvOpMax: SpvOp_ = 2147483647;
pub type SpvOp_ = u32;
pub use self::SpvOp_ as SpvOp;
pub type int_least8_t = i8;
pub type int_least16_t = i16;
pub type int_least32_t = i32;
pub type int_least64_t = i64;
pub type uint_least8_t = u8;
pub type uint_least16_t = u16;
pub type uint_least32_t = u32;
pub type uint_least64_t = u64;
pub type int_fast8_t = i8;
pub type int_fast16_t = i16;
pub type int_fast32_t = i32;
pub type int_fast64_t = i64;
pub type uint_fast8_t = u8;
pub type uint_fast16_t = u16;
pub type uint_fast32_t = u32;
pub type uint_fast64_t = u64;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_longlong;
pub type __uint64_t = ::std::os::raw::c_ulonglong;
pub type __darwin_intptr_t = ::std::os::raw::c_long;
pub type __darwin_natural_t = ::std::os::raw::c_uint;
pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Copy, Clone)]
pub union __mbstate_t {
pub __mbstate8: [::std::os::raw::c_char; 128usize],
pub _mbstateL: ::std::os::raw::c_longlong,
_bindgen_union_align: [u64; 16usize],
}
pub type __darwin_mbstate_t = __mbstate_t;
pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
pub type __darwin_size_t = ::std::os::raw::c_ulong;
pub type __darwin_va_list = __builtin_va_list;
pub type __darwin_wchar_t = ::std::os::raw::c_int;
pub type __darwin_rune_t = __darwin_wchar_t;
pub type __darwin_wint_t = ::std::os::raw::c_int;
pub type __darwin_clock_t = ::std::os::raw::c_ulong;
pub type __darwin_socklen_t = __uint32_t;
pub type __darwin_ssize_t = ::std::os::raw::c_long;
pub type __darwin_time_t = ::std::os::raw::c_long;
pub type __darwin_blkcnt_t = __int64_t;
pub type __darwin_blksize_t = __int32_t;
pub type __darwin_dev_t = __int32_t;
pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
pub type __darwin_gid_t = __uint32_t;
pub type __darwin_id_t = __uint32_t;
pub type __darwin_ino64_t = __uint64_t;
pub type __darwin_ino_t = __darwin_ino64_t;
pub type __darwin_mach_port_name_t = __darwin_natural_t;
pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
pub type __darwin_mode_t = __uint16_t;
pub type __darwin_off_t = __int64_t;
pub type __darwin_pid_t = __int32_t;
pub type __darwin_sigset_t = __uint32_t;
pub type __darwin_suseconds_t = __int32_t;
pub type __darwin_uid_t = __uint32_t;
pub type __darwin_useconds_t = __uint32_t;
pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __darwin_pthread_handler_rec {
pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
pub __arg: *mut ::std::os::raw::c_void,
pub __next: *mut __darwin_pthread_handler_rec,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _opaque_pthread_attr_t {
pub __sig: ::std::os::raw::c_long,
pub __opaque: [::std::os::raw::c_char; 56usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _opaque_pthread_cond_t {
pub __sig: ::std::os::raw::c_long,
pub __opaque: [::std::os::raw::c_char; 40usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _opaque_pthread_condattr_t {
pub __sig: ::std::os::raw::c_long,
pub __opaque: [::std::os::raw::c_char; 8usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _opaque_pthread_mutex_t {
pub __sig: ::std::os::raw::c_long,
pub __opaque: [::std::os::raw::c_char; 56usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _opaque_pthread_mutexattr_t {
pub __sig: ::std::os::raw::c_long,
pub __opaque: [::std::os::raw::c_char; 8usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _opaque_pthread_once_t {
pub __sig: ::std::os::raw::c_long,
pub __opaque: [::std::os::raw::c_char; 8usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _opaque_pthread_rwlock_t {
pub __sig: ::std::os::raw::c_long,
pub __opaque: [::std::os::raw::c_char; 192usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _opaque_pthread_rwlockattr_t {
pub __sig: ::std::os::raw::c_long,
pub __opaque: [::std::os::raw::c_char; 16usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _opaque_pthread_t {
pub __sig: ::std::os::raw::c_long,
pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
pub __opaque: [::std::os::raw::c_char; 8176usize],
}
pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
pub type __darwin_pthread_t = *mut _opaque_pthread_t;
pub type u_int8_t = ::std::os::raw::c_uchar;
pub type u_int16_t = ::std::os::raw::c_ushort;
pub type u_int32_t = ::std::os::raw::c_uint;
pub type u_int64_t = ::std::os::raw::c_ulonglong;
pub type register_t = i64;
pub type user_addr_t = u_int64_t;
pub type user_size_t = u_int64_t;
pub type user_ssize_t = i64;
pub type user_long_t = i64;
pub type user_ulong_t = u_int64_t;
pub type user_time_t = i64;
pub type user_off_t = i64;
pub type syscall_arg_t = u_int64_t;
pub type intmax_t = ::std::os::raw::c_long;
pub type uintmax_t = ::std::os::raw::c_ulong;
pub type __darwin_nl_item = ::std::os::raw::c_int;
pub type __darwin_wctrans_t = ::std::os::raw::c_int;
pub type __darwin_wctype_t = __uint32_t;
extern "C" {
#[link_name = "\u{1}_memchr"]
pub fn memchr(
__s: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
#[link_name = "\u{1}_memcmp"]
pub fn memcmp(
__s1: *const ::std::os::raw::c_void,
__s2: *const ::std::os::raw::c_void,
__n: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_memcpy"]
pub fn memcpy(
__dst: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__n: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
#[link_name = "\u{1}_memmove"]
pub fn memmove(
__dst: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__len: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
#[link_name = "\u{1}_memset"]
pub fn memset(
__b: *mut ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__len: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
#[link_name = "\u{1}_strcat"]
pub fn strcat(
__s1: *mut ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strchr"]
pub fn strchr(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strcmp"]
pub fn strcmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_strcoll"]
pub fn strcoll(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_strcpy"]
pub fn strcpy(
__dst: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strcspn"]
pub fn strcspn(
__s: *const ::std::os::raw::c_char,
__charset: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
#[link_name = "\u{1}_strerror"]
pub fn strerror(__errnum: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strlen"]
pub fn strlen(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulong;
}
extern "C" {
#[link_name = "\u{1}_strncat"]
pub fn strncat(
__s1: *mut ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strncmp"]
pub fn strncmp(
__s1: *const ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_strncpy"]
pub fn strncpy(
__dst: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strpbrk"]
pub fn strpbrk(
__s: *const ::std::os::raw::c_char,
__charset: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strrchr"]
pub fn strrchr(
__s: *const ::std::os::raw::c_char,
__c: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strspn"]
pub fn strspn(
__s: *const ::std::os::raw::c_char,
__charset: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
#[link_name = "\u{1}_strstr"]
pub fn strstr(
__big: *const ::std::os::raw::c_char,
__little: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strtok"]
pub fn strtok(
__str: *mut ::std::os::raw::c_char,
__sep: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strxfrm"]
pub fn strxfrm(
__s1: *mut ::std::os::raw::c_char,
__s2: *const ::std::os::raw::c_char,
__n: usize,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
#[link_name = "\u{1}_strtok_r"]
pub fn strtok_r(
__str: *mut ::std::os::raw::c_char,
__sep: *const ::std::os::raw::c_char,
__lasts: *mut *mut ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strerror_r"]
pub fn strerror_r(
__errnum: ::std::os::raw::c_int,
__strerrbuf: *mut ::std::os::raw::c_char,
__buflen: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_strdup"]
pub fn strdup(__s1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_memccpy"]
pub fn memccpy(
__dst: *mut ::std::os::raw::c_void,
__src: *const ::std::os::raw::c_void,
__c: ::std::os::raw::c_int,
__n: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
#[link_name = "\u{1}_stpcpy"]
pub fn stpcpy(
__dst: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_stpncpy"]
pub fn stpncpy(
__dst: *mut ::std::os::raw::c_char,
__src: *const ::std::os::raw::c_char,
__n: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strndup"]
pub fn strndup(__s1: *const ::std::os::raw::c_char, __n: usize) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strnlen"]
pub fn strnlen(__s1: *const ::std::os::raw::c_char, __n: usize) -> usize;
}
extern "C" {
#[link_name = "\u{1}_strsignal"]
pub fn strsignal(__sig: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
pub type rsize_t = __darwin_size_t;
pub type errno_t = ::std::os::raw::c_int;
extern "C" {
#[link_name = "\u{1}_memset_s"]
pub fn memset_s(
__s: *mut ::std::os::raw::c_void,
__smax: rsize_t,
__c: ::std::os::raw::c_int,
__n: rsize_t,
) -> errno_t;
}
extern "C" {
#[link_name = "\u{1}_memmem"]
pub fn memmem(
__big: *const ::std::os::raw::c_void,
__big_len: usize,
__little: *const ::std::os::raw::c_void,
__little_len: usize,
) -> *mut ::std::os::raw::c_void;
}
extern "C" {
#[link_name = "\u{1}_memset_pattern4"]
pub fn memset_pattern4(
__b: *mut ::std::os::raw::c_void,
__pattern4: *const ::std::os::raw::c_void,
__len: usize,
);
}
extern "C" {
#[link_name = "\u{1}_memset_pattern8"]
pub fn memset_pattern8(
__b: *mut ::std::os::raw::c_void,
__pattern8: *const ::std::os::raw::c_void,
__len: usize,
);
}
extern "C" {
#[link_name = "\u{1}_memset_pattern16"]
pub fn memset_pattern16(
__b: *mut ::std::os::raw::c_void,
__pattern16: *const ::std::os::raw::c_void,
__len: usize,
);
}
extern "C" {
#[link_name = "\u{1}_strcasestr"]
pub fn strcasestr(
__big: *const ::std::os::raw::c_char,
__little: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strnstr"]
pub fn strnstr(
__big: *const ::std::os::raw::c_char,
__little: *const ::std::os::raw::c_char,
__len: usize,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_strlcat"]
pub fn strlcat(
__dst: *mut ::std::os::raw::c_char,
__source: *const ::std::os::raw::c_char,
__size: usize,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
#[link_name = "\u{1}_strlcpy"]
pub fn strlcpy(
__dst: *mut ::std::os::raw::c_char,
__source: *const ::std::os::raw::c_char,
__size: usize,
) -> ::std::os::raw::c_ulong;
}
extern "C" {
#[link_name = "\u{1}_strmode"]
pub fn strmode(__mode: ::std::os::raw::c_int, __bp: *mut ::std::os::raw::c_char);
}
extern "C" {
#[link_name = "\u{1}_strsep"]
pub fn strsep(
__stringp: *mut *mut ::std::os::raw::c_char,
__delim: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_swab"]
pub fn swab(
arg1: *const ::std::os::raw::c_void,
arg2: *mut ::std::os::raw::c_void,
arg3: isize,
);
}
extern "C" {
#[link_name = "\u{1}_timingsafe_bcmp"]
pub fn timingsafe_bcmp(
__b1: *const ::std::os::raw::c_void,
__b2: *const ::std::os::raw::c_void,
__len: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_bcmp"]
pub fn bcmp(
arg1: *const ::std::os::raw::c_void,
arg2: *const ::std::os::raw::c_void,
arg3: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_bcopy"]
pub fn bcopy(
arg1: *const ::std::os::raw::c_void,
arg2: *mut ::std::os::raw::c_void,
arg3: usize,
);
}
extern "C" {
#[link_name = "\u{1}_bzero"]
pub fn bzero(arg1: *mut ::std::os::raw::c_void, arg2: usize);
}
extern "C" {
#[link_name = "\u{1}_index"]
pub fn index(
arg1: *const ::std::os::raw::c_char,
arg2: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_rindex"]
pub fn rindex(
arg1: *const ::std::os::raw::c_char,
arg2: ::std::os::raw::c_int,
) -> *mut ::std::os::raw::c_char;
}
extern "C" {
#[link_name = "\u{1}_ffs"]
pub fn ffs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_strcasecmp"]
pub fn strcasecmp(
arg1: *const ::std::os::raw::c_char,
arg2: *const ::std::os::raw::c_char,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_strncasecmp"]
pub fn strncasecmp(
arg1: *const ::std::os::raw::c_char,
arg2: *const ::std::os::raw::c_char,
arg3: usize,
) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_ffsl"]
pub fn ffsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_ffsll"]
pub fn ffsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_fls"]
pub fn fls(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_flsl"]
pub fn flsl(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_int;
}
extern "C" {
#[link_name = "\u{1}_flsll"]
pub fn flsll(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_int;
}
pub const SpvReflectResult_SPV_REFLECT_RESULT_SUCCESS: SpvReflectResult = 0;
pub const SpvReflectResult_SPV_REFLECT_RESULT_NOT_READY: SpvReflectResult = 1;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_PARSE_FAILED: SpvReflectResult = 2;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_ALLOC_FAILED: SpvReflectResult = 3;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_RANGE_EXCEEDED: SpvReflectResult = 4;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_NULL_POINTER: SpvReflectResult = 5;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_INTERNAL_ERROR: SpvReflectResult = 6;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_COUNT_MISMATCH: SpvReflectResult = 7;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_ELEMENT_NOT_FOUND: SpvReflectResult = 8;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_CODE_SIZE: SpvReflectResult = 9;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_MAGIC_NUMBER: SpvReflectResult =
10;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_UNEXPECTED_EOF: SpvReflectResult = 11;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_ID_REFERENCE: SpvReflectResult =
12;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_SET_NUMBER_OVERFLOW: SpvReflectResult =
13;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_STORAGE_CLASS: SpvReflectResult =
14;
pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_RECURSION: SpvReflectResult = 15;
/// @enum SpvReflectResult
pub type SpvReflectResult = u32;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_UNDEFINED: SpvReflectTypeFlagBits = 0;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_VOID: SpvReflectTypeFlagBits = 1;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_BOOL: SpvReflectTypeFlagBits = 2;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_INT: SpvReflectTypeFlagBits = 4;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_FLOAT: SpvReflectTypeFlagBits = 8;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_VECTOR: SpvReflectTypeFlagBits = 256;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_MATRIX: SpvReflectTypeFlagBits = 512;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_IMAGE: SpvReflectTypeFlagBits =
65536;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_SAMPLER: SpvReflectTypeFlagBits =
131072;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_SAMPLED_IMAGE:
SpvReflectTypeFlagBits = 262144;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_BLOCK: SpvReflectTypeFlagBits =
524288;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_MASK: SpvReflectTypeFlagBits =
983040;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_STRUCT: SpvReflectTypeFlagBits = 268435456;
pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_ARRAY: SpvReflectTypeFlagBits = 536870912;
/// @enum SpvReflectTypeFlagBits
pub type SpvReflectTypeFlagBits = u32;
pub type SpvReflectTypeFlags = u32;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NONE: SpvReflectDecorationFlagBits =
0;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BLOCK: SpvReflectDecorationFlagBits =
1;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BUFFER_BLOCK:
SpvReflectDecorationFlagBits = 2;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_ROW_MAJOR:
SpvReflectDecorationFlagBits = 4;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_COLUMN_MAJOR:
SpvReflectDecorationFlagBits = 8;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BUILT_IN:
SpvReflectDecorationFlagBits = 16;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NOPERSPECTIVE:
SpvReflectDecorationFlagBits = 32;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_FLAT: SpvReflectDecorationFlagBits =
64;
pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NON_WRITABLE:
SpvReflectDecorationFlagBits = 128;
/// @enum SpvReflectDecorationBits
pub type SpvReflectDecorationFlagBits = u32;
pub type SpvReflectDecorationFlags = u32;
pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_UNDEFINED: SpvReflectResourceType = 0;
pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_SAMPLER: SpvReflectResourceType = 1;
pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_CBV: SpvReflectResourceType = 2;
pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_SRV: SpvReflectResourceType = 4;
pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_UAV: SpvReflectResourceType = 8;
/// @enum SpvReflectResourceType
pub type SpvReflectResourceType = u32;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_UNDEFINED: SpvReflectFormat = 0;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_UINT: SpvReflectFormat = 98;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_SINT: SpvReflectFormat = 99;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_SFLOAT: SpvReflectFormat = 100;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_UINT: SpvReflectFormat = 101;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_SINT: SpvReflectFormat = 102;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_SFLOAT: SpvReflectFormat = 103;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_UINT: SpvReflectFormat = 104;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_SINT: SpvReflectFormat = 105;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_SFLOAT: SpvReflectFormat = 106;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_UINT: SpvReflectFormat = 107;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_SINT: SpvReflectFormat = 108;
pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_SFLOAT: SpvReflectFormat = 109;
/// @enum SpvReflectFormat
pub type SpvReflectFormat = u32;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_SAMPLER: SpvReflectDescriptorType =
0;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER:
SpvReflectDescriptorType = 1;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_SAMPLED_IMAGE:
SpvReflectDescriptorType = 2;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_IMAGE:
SpvReflectDescriptorType = 3;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER:
SpvReflectDescriptorType = 4;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER:
SpvReflectDescriptorType = 5;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_BUFFER:
SpvReflectDescriptorType = 6;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_BUFFER:
SpvReflectDescriptorType = 7;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
SpvReflectDescriptorType = 8;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
SpvReflectDescriptorType = 9;
pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_INPUT_ATTACHMENT:
SpvReflectDescriptorType = 10;
/// @enum SpvReflectDescriptorType
pub type SpvReflectDescriptorType = u32;
pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_VERTEX_BIT:
SpvReflectShaderStageFlagBits = 1;
pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_TESSELLATION_CONTROL_BIT:
SpvReflectShaderStageFlagBits = 2;
pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_TESSELLATION_EVALUATION_BIT:
SpvReflectShaderStageFlagBits = 4;
pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_GEOMETRY_BIT:
SpvReflectShaderStageFlagBits = 8;
pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_FRAGMENT_BIT:
SpvReflectShaderStageFlagBits = 16;
pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_COMPUTE_BIT:
SpvReflectShaderStageFlagBits = 32;
/// @enum SpvReflectShaderStageFlagBits
pub type SpvReflectShaderStageFlagBits = u32;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_LLVM_SPIRV_TRANSLATOR:
SpvReflectGenerator = 6;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_SPIRV_TOOLS_ASSEMBLER:
SpvReflectGenerator = 7;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_GLSLANG_REFERENCE_FRONT_END:
SpvReflectGenerator = 8;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_SHADERC_OVER_GLSLANG:
SpvReflectGenerator = 13;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_SPIREGG: SpvReflectGenerator = 14;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_RSPIRV: SpvReflectGenerator = 15;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_X_LEGEND_MESA_MESAIR_SPIRV_TRANSLATOR:
SpvReflectGenerator = 16;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_SPIRV_TOOLS_LINKER:
SpvReflectGenerator = 17;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_WINE_VKD3D_SHADER_COMPILER:
SpvReflectGenerator = 18;
pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_CLAY_CLAY_SHADER_COMPILER: SpvReflectGenerator =
19;
/// @enum SpvReflectGenerator
pub type SpvReflectGenerator = u32;
pub const SPV_REFLECT_MAX_ARRAY_DIMS: _bindgen_ty_1 = 32;
pub const SPV_REFLECT_MAX_DESCRIPTOR_SETS: _bindgen_ty_1 = 64;
pub type _bindgen_ty_1 = u32;
pub const SPV_REFLECT_BINDING_NUMBER_DONT_CHANGE: _bindgen_ty_2 = -1;
pub const SPV_REFLECT_SET_NUMBER_DONT_CHANGE: _bindgen_ty_2 = -1;
pub type _bindgen_ty_2 = i32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectNumericTraits {
pub scalar: SpvReflectNumericTraits_Scalar,
pub vector: SpvReflectNumericTraits_Vector,
pub matrix: SpvReflectNumericTraits_Matrix,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectNumericTraits_Scalar {
pub width: u32,
pub signedness: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectNumericTraits_Vector {
pub component_count: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectNumericTraits_Matrix {
pub column_count: u32,
pub row_count: u32,
pub stride: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectImageTraits {
pub dim: SpvDim,
pub depth: u32,
pub arrayed: u32,
pub ms: u32,
pub sampled: u32,
pub image_format: SpvImageFormat,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectArrayTraits {
pub dims_count: u32,
pub dims: [u32; 32usize],
pub stride: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectBindingArrayTraits {
pub dims_count: u32,
pub dims: [u32; 32usize],
}
/// @struct SpvReflectTypeDescription
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectTypeDescription {
pub id: u32,
pub op: SpvOp,
pub type_name: *const ::std::os::raw::c_char,
pub struct_member_name: *const ::std::os::raw::c_char,
pub storage_class: SpvStorageClass,
pub type_flags: SpvReflectTypeFlags,
pub decoration_flags: SpvReflectDecorationFlags,
pub traits: SpvReflectTypeDescription_Traits,
pub member_count: u32,
pub members: *mut SpvReflectTypeDescription,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectTypeDescription_Traits {
pub numeric: SpvReflectNumericTraits,
pub image: SpvReflectImageTraits,
pub array: SpvReflectArrayTraits,
}
/// @struct SpvReflectInterfaceVariable
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectInterfaceVariable {
pub spirv_id: u32,
pub name: *const ::std::os::raw::c_char,
pub location: u32,
pub storage_class: SpvStorageClass,
pub semantic: *const ::std::os::raw::c_char,
pub decoration_flags: SpvReflectDecorationFlags,
pub built_in: SpvBuiltIn,
pub numeric: SpvReflectNumericTraits,
pub array: SpvReflectArrayTraits,
pub member_count: u32,
pub members: *mut SpvReflectInterfaceVariable,
pub format: SpvReflectFormat,
pub type_description: *mut SpvReflectTypeDescription,
pub word_offset: SpvReflectInterfaceVariable__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectInterfaceVariable__bindgen_ty_1 {
pub location: u32,
}
/// @struct SpvReflectBlockVariable
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectBlockVariable {
pub spirv_id: u32,
pub name: *const ::std::os::raw::c_char,
pub offset: u32,
pub absolute_offset: u32,
pub size: u32,
pub padded_size: u32,
pub decoration_flags: SpvReflectDecorationFlags,
pub numeric: SpvReflectNumericTraits,
pub array: SpvReflectArrayTraits,
pub member_count: u32,
pub members: *mut SpvReflectBlockVariable,
pub type_description: *mut SpvReflectTypeDescription,
}
/// @struct SpvReflectDescriptorBinding
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectDescriptorBinding {
pub spirv_id: u32,
pub name: *const ::std::os::raw::c_char,
pub binding: u32,
pub input_attachment_index: u32,
pub set: u32,
pub descriptor_type: SpvReflectDescriptorType,
pub resource_type: SpvReflectResourceType,
pub image: SpvReflectImageTraits,
pub block: SpvReflectBlockVariable,
pub array: SpvReflectBindingArrayTraits,
pub count: u32,
pub uav_counter_id: u32,
pub uav_counter_binding: *mut SpvReflectDescriptorBinding,
pub type_description: *mut SpvReflectTypeDescription,
pub word_offset: SpvReflectDescriptorBinding__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectDescriptorBinding__bindgen_ty_1 {
pub binding: u32,
pub set: u32,
}
/// @struct SpvReflectDescriptorSet
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectDescriptorSet {
pub set: u32,
pub binding_count: u32,
pub bindings: *mut *mut SpvReflectDescriptorBinding,
}
/// @struct SpvReflectEntryPoint
///
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectEntryPoint {
pub name: *const ::std::os::raw::c_char,
pub id: u32,
pub spirv_execution_model: SpvExecutionModel,
pub shader_stage: SpvReflectShaderStageFlagBits,
pub input_variable_count: u32,
pub input_variables: *mut SpvReflectInterfaceVariable,
pub output_variable_count: u32,
pub output_variables: *mut SpvReflectInterfaceVariable,
pub descriptor_set_count: u32,
pub descriptor_sets: *mut SpvReflectDescriptorSet,
pub used_uniform_count: u32,
pub used_uniforms: *mut u32,
pub used_push_constant_count: u32,
pub used_push_constants: *mut u32,
}
/// @struct SpvReflectShaderModule
#[repr(C)]
#[derive(Copy, Clone)]
pub struct SpvReflectShaderModule {
pub generator: SpvReflectGenerator,
pub entry_point_name: *const ::std::os::raw::c_char,
pub entry_point_id: u32,
pub entry_point_count: u32,
pub entry_points: *mut SpvReflectEntryPoint,
pub source_language: SpvSourceLanguage,
pub source_language_version: u32,
pub source_file: *const ::std::os::raw::c_char,
pub source_source: *const ::std::os::raw::c_char,
pub spirv_execution_model: SpvExecutionModel,
pub shader_stage: SpvReflectShaderStageFlagBits,
pub descriptor_binding_count: u32,
pub descriptor_bindings: *mut SpvReflectDescriptorBinding,
pub descriptor_set_count: u32,
pub descriptor_sets: [SpvReflectDescriptorSet; 64usize],
pub input_variable_count: u32,
pub input_variables: *mut SpvReflectInterfaceVariable,
pub output_variable_count: u32,
pub output_variables: *mut SpvReflectInterfaceVariable,
pub push_constant_block_count: u32,
pub push_constant_blocks: *mut SpvReflectBlockVariable,
pub _internal: *mut SpvReflectShaderModule_Internal,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SpvReflectShaderModule_Internal {
pub spirv_size: usize,
pub spirv_code: *mut u32,
pub spirv_word_count: u32,
pub type_description_count: usize,
pub type_descriptions: *mut SpvReflectTypeDescription,
}
extern "C" {
/// @fn spvReflectCreateShaderModule
///
///@param size Size in bytes of SPIR-V code.
///@param p_code Pointer to SPIR-V code.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return SPV_REFLECT_RESULT_SUCCESS on success.
#[link_name = "\u{1}_spvReflectCreateShaderModule"]
pub fn spvReflectCreateShaderModule(
size: usize,
p_code: *const ::std::os::raw::c_void,
p_module: *mut SpvReflectShaderModule,
) -> SpvReflectResult;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetShaderModule"]
pub fn spvReflectGetShaderModule(
size: usize,
p_code: *const ::std::os::raw::c_void,
p_module: *mut SpvReflectShaderModule,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectDestroyShaderModule
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
#[link_name = "\u{1}_spvReflectDestroyShaderModule"]
pub fn spvReflectDestroyShaderModule(p_module: *mut SpvReflectShaderModule);
}
extern "C" {
/// @fn spvReflectGetCodeSize
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return Returns the size of the SPIR-V in bytes
#[link_name = "\u{1}_spvReflectGetCodeSize"]
pub fn spvReflectGetCodeSize(p_module: *const SpvReflectShaderModule) -> u32;
}
extern "C" {
/// @fn spvReflectGetCode
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return Returns a const pointer to the compiled SPIR-V bytecode.
#[link_name = "\u{1}_spvReflectGetCode"]
pub fn spvReflectGetCode(p_module: *const SpvReflectShaderModule) -> *const u32;
}
extern "C" {
/// @fn spvReflectGetEntryPoint
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point Name of the requested entry point.
///@return Returns a const pointer to the requested entry point,
///or NULL if it's not found.
#[link_name = "\u{1}_spvReflectGetEntryPoint"]
pub fn spvReflectGetEntryPoint(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
) -> *const SpvReflectEntryPoint;
}
extern "C" {
/// @fn spvReflectEnumerateDescriptorBindings
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_bindings is NULL, the module's descriptor binding
///count (across all descriptor sets) will be stored here.
///If pp_bindings is not NULL, *p_count must contain the
///module's descriptor binding count.
///@param pp_bindings If NULL, the module's total descriptor binding count
///will be written to *p_count.
///If non-NULL, pp_bindings must point to an array with
///p_count entries, where pointers to the module's
///descriptor bindings will be written. The caller must not
///free the binding pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateDescriptorBindings"]
pub fn spvReflectEnumerateDescriptorBindings(
p_module: *const SpvReflectShaderModule,
p_count: *mut u32,
pp_bindings: *mut *mut SpvReflectDescriptorBinding,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumerateEntryPointDescriptorBindings
///@brief Creates a listing of all descriptor bindings that are used in the
///static call tree of the given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the descriptor bindings for.
///@param p_count If pp_bindings is NULL, the entry point's descriptor binding
///count (across all descriptor sets) will be stored here.
///If pp_bindings is not NULL, *p_count must contain the
///entry points's descriptor binding count.
///@param pp_bindings If NULL, the entry point's total descriptor binding count
///will be written to *p_count.
///If non-NULL, pp_bindings must point to an array with
///p_count entries, where pointers to the entry point's
///descriptor bindings will be written. The caller must not
///free the binding pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateEntryPointDescriptorBindings"]
pub fn spvReflectEnumerateEntryPointDescriptorBindings(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
p_count: *mut u32,
pp_bindings: *mut *mut SpvReflectDescriptorBinding,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumerateDescriptorSets
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_sets is NULL, the module's descriptor set
///count will be stored here.
///If pp_sets is not NULL, *p_count must contain the
///module's descriptor set count.
///@param pp_sets If NULL, the module's total descriptor set count
///will be written to *p_count.
///If non-NULL, pp_sets must point to an array with
///p_count entries, where pointers to the module's
///descriptor sets will be written. The caller must not
///free the descriptor set pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateDescriptorSets"]
pub fn spvReflectEnumerateDescriptorSets(
p_module: *const SpvReflectShaderModule,
p_count: *mut u32,
pp_sets: *mut *mut SpvReflectDescriptorSet,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumerateEntryPointDescriptorSets
///@brief Creates a listing of all descriptor sets and their bindings that are
///used in the static call tree of a given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the descriptor bindings for.
///@param p_count If pp_sets is NULL, the module's descriptor set
///count will be stored here.
///If pp_sets is not NULL, *p_count must contain the
///module's descriptor set count.
///@param pp_sets If NULL, the module's total descriptor set count
///will be written to *p_count.
///If non-NULL, pp_sets must point to an array with
///p_count entries, where pointers to the module's
///descriptor sets will be written. The caller must not
///free the descriptor set pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateEntryPointDescriptorSets"]
pub fn spvReflectEnumerateEntryPointDescriptorSets(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
p_count: *mut u32,
pp_sets: *mut *mut SpvReflectDescriptorSet,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumerateInputVariables
///@brief If the module contains multiple entry points, this will only get
///the input variables for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the module's input variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the module's input variable count.
///@param pp_variables If NULL, the module's input variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the module's
///input variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateInputVariables"]
pub fn spvReflectEnumerateInputVariables(
p_module: *const SpvReflectShaderModule,
p_count: *mut u32,
pp_variables: *mut *mut SpvReflectInterfaceVariable,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumerateEntryPointInputVariables
///@brief Enumerate the input variables for a given entry point.
///@param entry_point The name of the entry point to get the input variables for.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the entry point's input variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the entry point's input variable count.
///@param pp_variables If NULL, the entry point's input variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the entry point's
///input variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateEntryPointInputVariables"]
pub fn spvReflectEnumerateEntryPointInputVariables(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
p_count: *mut u32,
pp_variables: *mut *mut SpvReflectInterfaceVariable,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumerateOutputVariables
///@brief Note: If the module contains multiple entry points, this will only get
///the output variables for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the module's output variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the module's output variable count.
///@param pp_variables If NULL, the module's output variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the module's
///output variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateOutputVariables"]
pub fn spvReflectEnumerateOutputVariables(
p_module: *const SpvReflectShaderModule,
p_count: *mut u32,
pp_variables: *mut *mut SpvReflectInterfaceVariable,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumerateEntryPointOutputVariables
///@brief Enumerate the output variables for a given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the output variables for.
///@param p_count If pp_variables is NULL, the entry point's output variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the entry point's output variable count.
///@param pp_variables If NULL, the entry point's output variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the entry point's
///output variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateEntryPointOutputVariables"]
pub fn spvReflectEnumerateEntryPointOutputVariables(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
p_count: *mut u32,
pp_variables: *mut *mut SpvReflectInterfaceVariable,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumeratePushConstantBlocks
///@brief Note: If the module contains multiple entry points, this will only get
///the push constant blocks for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_blocks is NULL, the module's push constant
///block count will be stored here.
///If pp_blocks is not NULL, *p_count must
///contain the module's push constant block count.
///@param pp_blocks If NULL, the module's push constant block count
///will be written to *p_count.
///If non-NULL, pp_blocks must point to an
///array with *p_count entries, where pointers to
///the module's push constant blocks will be written.
///The caller must not free the block variables written
///to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumeratePushConstantBlocks"]
pub fn spvReflectEnumeratePushConstantBlocks(
p_module: *const SpvReflectShaderModule,
p_count: *mut u32,
pp_blocks: *mut *mut SpvReflectBlockVariable,
) -> SpvReflectResult;
}
extern "C" {
#[link_name = "\u{1}_spvReflectEnumeratePushConstants"]
pub fn spvReflectEnumeratePushConstants(
p_module: *const SpvReflectShaderModule,
p_count: *mut u32,
pp_blocks: *mut *mut SpvReflectBlockVariable,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectEnumerateEntryPointPushConstantBlocks
///@brief Enumerate the push constant blocks used in the static call tree of a
///given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_blocks is NULL, the entry point's push constant
///block count will be stored here.
///If pp_blocks is not NULL, *p_count must
///contain the entry point's push constant block count.
///@param pp_blocks If NULL, the entry point's push constant block count
///will be written to *p_count.
///If non-NULL, pp_blocks must point to an
///array with *p_count entries, where pointers to
///the entry point's push constant blocks will be written.
///The caller must not free the block variables written
///to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
#[link_name = "\u{1}_spvReflectEnumerateEntryPointPushConstantBlocks"]
pub fn spvReflectEnumerateEntryPointPushConstantBlocks(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
p_count: *mut u32,
pp_blocks: *mut *mut SpvReflectBlockVariable,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectGetDescriptorBinding
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param binding_number The "binding" value of the requested descriptor
///binding.
///@param set_number The "set" value of the requested descriptor binding.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the module contains a descriptor binding that
///matches the provided [binding_number, set_number]
///values, a pointer to that binding is returned. The
///caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
///@note If the module contains multiple desriptor bindings
///with the same set and binding numbers, there are
///no guarantees about which binding will be returned.
#[link_name = "\u{1}_spvReflectGetDescriptorBinding"]
pub fn spvReflectGetDescriptorBinding(
p_module: *const SpvReflectShaderModule,
binding_number: u32,
set_number: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectDescriptorBinding;
}
extern "C" {
/// @fn spvReflectGetEntryPointDescriptorBinding
///@brief Get the descriptor binding with the given binding number and set
///number that is used in the static call tree of a certain entry
///point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the binding from.
///@param binding_number The "binding" value of the requested descriptor
///binding.
///@param set_number The "set" value of the requested descriptor binding.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the entry point contains a descriptor binding that
///matches the provided [binding_number, set_number]
///values, a pointer to that binding is returned. The
///caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
///@note If the entry point contains multiple desriptor bindings
///with the same set and binding numbers, there are
///no guarantees about which binding will be returned.
#[link_name = "\u{1}_spvReflectGetEntryPointDescriptorBinding"]
pub fn spvReflectGetEntryPointDescriptorBinding(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
binding_number: u32,
set_number: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectDescriptorBinding;
}
extern "C" {
/// @fn spvReflectGetDescriptorSet
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param set_number The "set" value of the requested descriptor set.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the module contains a descriptor set with the
///provided set_number, a pointer to that set is
///returned. The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
#[link_name = "\u{1}_spvReflectGetDescriptorSet"]
pub fn spvReflectGetDescriptorSet(
p_module: *const SpvReflectShaderModule,
set_number: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectDescriptorSet;
}
extern "C" {
/// @fn spvReflectGetEntryPointDescriptorSet
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the descriptor set from.
///@param set_number The "set" value of the requested descriptor set.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the entry point contains a descriptor set with the
///provided set_number, a pointer to that set is
///returned. The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
#[link_name = "\u{1}_spvReflectGetEntryPointDescriptorSet"]
pub fn spvReflectGetEntryPointDescriptorSet(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
set_number: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectDescriptorSet;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetInputVariableByLocation"]
pub fn spvReflectGetInputVariableByLocation(
p_module: *const SpvReflectShaderModule,
location: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetInputVariable"]
pub fn spvReflectGetInputVariable(
p_module: *const SpvReflectShaderModule,
location: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetEntryPointInputVariableByLocation"]
pub fn spvReflectGetEntryPointInputVariableByLocation(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
location: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetInputVariableBySemantic"]
pub fn spvReflectGetInputVariableBySemantic(
p_module: *const SpvReflectShaderModule,
semantic: *const ::std::os::raw::c_char,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetEntryPointInputVariableBySemantic"]
pub fn spvReflectGetEntryPointInputVariableBySemantic(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
semantic: *const ::std::os::raw::c_char,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetOutputVariableByLocation"]
pub fn spvReflectGetOutputVariableByLocation(
p_module: *const SpvReflectShaderModule,
location: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetOutputVariable"]
pub fn spvReflectGetOutputVariable(
p_module: *const SpvReflectShaderModule,
location: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetEntryPointOutputVariableByLocation"]
pub fn spvReflectGetEntryPointOutputVariableByLocation(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
location: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetOutputVariableBySemantic"]
pub fn spvReflectGetOutputVariableBySemantic(
p_module: *const SpvReflectShaderModule,
semantic: *const ::std::os::raw::c_char,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetEntryPointOutputVariableBySemantic"]
pub fn spvReflectGetEntryPointOutputVariableBySemantic(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
semantic: *const ::std::os::raw::c_char,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectInterfaceVariable;
}
extern "C" {
/// @fn spvReflectGetPushConstantBlock
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param index The index of the desired block within the module's
///array of push constant blocks.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the provided index is within range, a pointer to
///the corresponding push constant block is returned.
///The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
#[link_name = "\u{1}_spvReflectGetPushConstantBlock"]
pub fn spvReflectGetPushConstantBlock(
p_module: *const SpvReflectShaderModule,
index: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectBlockVariable;
}
extern "C" {
#[link_name = "\u{1}_spvReflectGetPushConstant"]
pub fn spvReflectGetPushConstant(
p_module: *const SpvReflectShaderModule,
index: u32,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectBlockVariable;
}
extern "C" {
/// @fn spvReflectGetEntryPointPushConstantBlock
///@brief Get the push constant block corresponding to the given entry point.
///As by the Vulkan specification there can be no more than one push
///constant block used by a given entry point, so if there is one it will
///be returned, otherwise NULL will be returned.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the push constant block from.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the provided index is within range, a pointer to
///the corresponding push constant block is returned.
///The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
#[link_name = "\u{1}_spvReflectGetEntryPointPushConstantBlock"]
pub fn spvReflectGetEntryPointPushConstantBlock(
p_module: *const SpvReflectShaderModule,
entry_point: *const ::std::os::raw::c_char,
p_result: *mut SpvReflectResult,
) -> *const SpvReflectBlockVariable;
}
extern "C" {
/// @fn spvReflectChangeDescriptorBindingNumbers
///@brief Assign new set and/or binding numbers to a descriptor binding.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode(). If the binding is used in multiple
///entry points within the module, it will be changed in all of them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_binding Pointer to the descriptor binding to modify.
///@param new_binding_number The new binding number to assign to the
///provided descriptor binding.
///To leave the binding number unchanged, pass
///SPV_REFLECT_BINDING_NUMBER_DONT_CHANGE.
///@param new_set_number The new set number to assign to the
///provided descriptor binding. Successfully changing
///a descriptor binding's set number invalidates all
///existing SpvReflectDescriptorBinding and
///SpvReflectDescriptorSet pointers from this module.
///To leave the set number unchanged, pass
///SPV_REFLECT_SET_NUMBER_DONT_CHANGE.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
#[link_name = "\u{1}_spvReflectChangeDescriptorBindingNumbers"]
pub fn spvReflectChangeDescriptorBindingNumbers(
p_module: *mut SpvReflectShaderModule,
p_binding: *const SpvReflectDescriptorBinding,
new_binding_number: u32,
new_set_number: u32,
) -> SpvReflectResult;
}
extern "C" {
#[link_name = "\u{1}_spvReflectChangeDescriptorBindingNumber"]
pub fn spvReflectChangeDescriptorBindingNumber(
p_module: *mut SpvReflectShaderModule,
p_descriptor_binding: *const SpvReflectDescriptorBinding,
new_binding_number: u32,
optional_new_set_number: u32,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectChangeDescriptorSetNumber
///@brief Assign a new set number to an entire descriptor set (including
///all descriptor bindings in that set).
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode(). If the descriptor set is used in
///multiple entry points within the module, it will be modified in all
///of them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_set Pointer to the descriptor binding to modify.
///@param new_set_number The new set number to assign to the
///provided descriptor set, and all its descriptor
///bindings. Successfully changing a descriptor
///binding's set number invalidates all existing
///SpvReflectDescriptorBinding and
///SpvReflectDescriptorSet pointers from this module.
///To leave the set number unchanged, pass
///SPV_REFLECT_SET_NUMBER_DONT_CHANGE.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
#[link_name = "\u{1}_spvReflectChangeDescriptorSetNumber"]
pub fn spvReflectChangeDescriptorSetNumber(
p_module: *mut SpvReflectShaderModule,
p_set: *const SpvReflectDescriptorSet,
new_set_number: u32,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectChangeInputVariableLocation
///@brief Assign a new location to an input interface variable.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode().
///It is the caller's responsibility to avoid assigning the same
///location to multiple input variables. If the input variable is used
///by multiple entry points in the module, it will be changed in all of
///them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_input_variable Pointer to the input variable to update.
///@param new_location The new location to assign to p_input_variable.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
#[link_name = "\u{1}_spvReflectChangeInputVariableLocation"]
pub fn spvReflectChangeInputVariableLocation(
p_module: *mut SpvReflectShaderModule,
p_input_variable: *const SpvReflectInterfaceVariable,
new_location: u32,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectChangeOutputVariableLocation
///@brief Assign a new location to an output interface variable.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode().
///It is the caller's responsibility to avoid assigning the same
///location to multiple output variables. If the output variable is used
///by multiple entry points in the module, it will be changed in all of
///them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_output_variable Pointer to the output variable to update.
///@param new_location The new location to assign to p_output_variable.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
#[link_name = "\u{1}_spvReflectChangeOutputVariableLocation"]
pub fn spvReflectChangeOutputVariableLocation(
p_module: *mut SpvReflectShaderModule,
p_output_variable: *const SpvReflectInterfaceVariable,
new_location: u32,
) -> SpvReflectResult;
}
extern "C" {
/// @fn spvReflectSourceLanguage
///
///@param source_lang The source language code.
///@return Returns string of source language specified in \a source_lang.
///The caller must not free the memory associated with this string.
#[link_name = "\u{1}_spvReflectSourceLanguage"]
pub fn spvReflectSourceLanguage(
source_lang: SpvSourceLanguage,
) -> *const ::std::os::raw::c_char;
}
pub type __builtin_va_list = [__va_list_tag; 1usize];
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __va_list_tag {
pub gp_offset: ::std::os::raw::c_uint,
pub fp_offset: ::std::os::raw::c_uint,
pub overflow_arg_area: *mut ::std::os::raw::c_void,
pub reg_save_area: *mut ::std::os::raw::c_void,
}
Can you post the unformatted file (the one generated with rustfmt_bindings(false))?
With rustfmt_bindings(false):
/* automatically generated by rust-bindgen */
pub const SPV_VERSION : u32 = 66304 ; pub const SPV_REVISION : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __DARWIN_ONLY_64_BIT_INO_T : u32 = 0 ; pub const __DARWIN_ONLY_VERS_1050 : u32 = 0 ; pub const __DARWIN_ONLY_UNIX_CONFORMANCE : u32 = 1 ; pub const __DARWIN_UNIX03 : u32 = 1 ; pub const __DARWIN_64_BIT_INO_T : u32 = 1 ; pub const __DARWIN_VERS_1050 : u32 = 1 ; pub const __DARWIN_NON_CANCELABLE : u32 = 0 ; pub const __DARWIN_SUF_64_BIT_INO_T : & 'static [ u8 ; 9usize ] = b"$INODE64\0" ; pub const __DARWIN_SUF_1050 : & 'static [ u8 ; 6usize ] = b"$1050\0" ; pub const __DARWIN_SUF_EXTSN : & 'static [ u8 ; 14usize ] = b"$DARWIN_EXTSN\0" ; pub const __DARWIN_C_ANSI : u32 = 4096 ; pub const __DARWIN_C_FULL : u32 = 900000 ; pub const __DARWIN_C_LEVEL : u32 = 900000 ; pub const __STDC_WANT_LIB_EXT1__ : u32 = 1 ; pub const __DARWIN_NO_LONG_LONG : u32 = 0 ; pub const _DARWIN_FEATURE_64_BIT_INODE : u32 = 1 ; pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE : u32 = 1 ; pub const _DARWIN_FEATURE_UNIX_CONFORMANCE : u32 = 3 ; pub const __PTHREAD_SIZE__ : u32 = 8176 ; pub const __PTHREAD_ATTR_SIZE__ : u32 = 56 ; pub const __PTHREAD_MUTEXATTR_SIZE__ : u32 = 8 ; pub const __PTHREAD_MUTEX_SIZE__ : u32 = 56 ; pub const __PTHREAD_CONDATTR_SIZE__ : u32 = 8 ; pub const __PTHREAD_COND_SIZE__ : u32 = 40 ; pub const __PTHREAD_ONCE_SIZE__ : u32 = 8 ; pub const __PTHREAD_RWLOCK_SIZE__ : u32 = 192 ; pub const __PTHREAD_RWLOCKATTR_SIZE__ : u32 = 16 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const INT64_MAX : u64 = 9223372036854775807 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT64_MIN : i64 = -9223372036854775808 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const UINT64_MAX : i32 = -1 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST64_MIN : i64 = -9223372036854775808 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const INT_LEAST64_MAX : u64 = 9223372036854775807 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const UINT_LEAST64_MAX : i32 = -1 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i32 = -32768 ; pub const INT_FAST32_MIN : i32 = -2147483648 ; pub const INT_FAST64_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u32 = 32767 ; pub const INT_FAST32_MAX : u32 = 2147483647 ; pub const INT_FAST64_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : u32 = 65535 ; pub const UINT_FAST32_MAX : u32 = 4294967295 ; pub const UINT_FAST64_MAX : i32 = -1 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const UINTPTR_MAX : i32 = -1 ; pub const INTMAX_MIN : i64 = -9223372036854775808 ; pub const INTMAX_MAX : u64 = 9223372036854775807 ; pub const UINTMAX_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIZE_MAX : i32 = -1 ; pub const RSIZE_MAX : i32 = -1 ; pub const WINT_MIN : i32 = -2147483648 ; pub const WINT_MAX : u32 = 2147483647 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const __DARWIN_WCHAR_MIN : i32 = -2147483648 ; pub const _FORTIFY_SOURCE : u32 = 2 ; pub const __MAC_10_0 : u32 = 1000 ; pub const __MAC_10_1 : u32 = 1010 ; pub const __MAC_10_2 : u32 = 1020 ; pub const __MAC_10_3 : u32 = 1030 ; pub const __MAC_10_4 : u32 = 1040 ; pub const __MAC_10_5 : u32 = 1050 ; pub const __MAC_10_6 : u32 = 1060 ; pub const __MAC_10_7 : u32 = 1070 ; pub const __MAC_10_8 : u32 = 1080 ; pub const __MAC_10_9 : u32 = 1090 ; pub const __MAC_10_10 : u32 = 101000 ; pub const __MAC_10_10_2 : u32 = 101002 ; pub const __MAC_10_10_3 : u32 = 101003 ; pub const __MAC_10_11 : u32 = 101100 ; pub const __MAC_10_11_2 : u32 = 101102 ; pub const __MAC_10_11_3 : u32 = 101103 ; pub const __MAC_10_11_4 : u32 = 101104 ; pub const __MAC_10_12 : u32 = 101200 ; pub const __MAC_10_12_1 : u32 = 101201 ; pub const __MAC_10_12_2 : u32 = 101202 ; pub const __MAC_10_12_4 : u32 = 101204 ; pub const __MAC_10_13 : u32 = 101300 ; pub const __MAC_10_13_1 : u32 = 101301 ; pub const __MAC_10_13_2 : u32 = 101302 ; pub const __MAC_10_13_4 : u32 = 101304 ; pub const __IPHONE_2_0 : u32 = 20000 ; pub const __IPHONE_2_1 : u32 = 20100 ; pub const __IPHONE_2_2 : u32 = 20200 ; pub const __IPHONE_3_0 : u32 = 30000 ; pub const __IPHONE_3_1 : u32 = 30100 ; pub const __IPHONE_3_2 : u32 = 30200 ; pub const __IPHONE_4_0 : u32 = 40000 ; pub const __IPHONE_4_1 : u32 = 40100 ; pub const __IPHONE_4_2 : u32 = 40200 ; pub const __IPHONE_4_3 : u32 = 40300 ; pub const __IPHONE_5_0 : u32 = 50000 ; pub const __IPHONE_5_1 : u32 = 50100 ; pub const __IPHONE_6_0 : u32 = 60000 ; pub const __IPHONE_6_1 : u32 = 60100 ; pub const __IPHONE_7_0 : u32 = 70000 ; pub const __IPHONE_7_1 : u32 = 70100 ; pub const __IPHONE_8_0 : u32 = 80000 ; pub const __IPHONE_8_1 : u32 = 80100 ; pub const __IPHONE_8_2 : u32 = 80200 ; pub const __IPHONE_8_3 : u32 = 80300 ; pub const __IPHONE_8_4 : u32 = 80400 ; pub const __IPHONE_9_0 : u32 = 90000 ; pub const __IPHONE_9_1 : u32 = 90100 ; pub const __IPHONE_9_2 : u32 = 90200 ; pub const __IPHONE_9_3 : u32 = 90300 ; pub const __IPHONE_10_0 : u32 = 100000 ; pub const __IPHONE_10_1 : u32 = 100100 ; pub const __IPHONE_10_2 : u32 = 100200 ; pub const __IPHONE_10_3 : u32 = 100300 ; pub const __IPHONE_11_0 : u32 = 110000 ; pub const __IPHONE_11_1 : u32 = 110100 ; pub const __IPHONE_11_2 : u32 = 110200 ; pub const __IPHONE_11_3 : u32 = 110300 ; pub const __TVOS_9_0 : u32 = 90000 ; pub const __TVOS_9_1 : u32 = 90100 ; pub const __TVOS_9_2 : u32 = 90200 ; pub const __TVOS_10_0 : u32 = 100000 ; pub const __TVOS_10_0_1 : u32 = 100001 ; pub const __TVOS_10_1 : u32 = 100100 ; pub const __TVOS_10_2 : u32 = 100200 ; pub const __TVOS_11_0 : u32 = 110000 ; pub const __TVOS_11_1 : u32 = 110100 ; pub const __TVOS_11_2 : u32 = 110200 ; pub const __TVOS_11_3 : u32 = 110300 ; pub const __WATCHOS_1_0 : u32 = 10000 ; pub const __WATCHOS_2_0 : u32 = 20000 ; pub const __WATCHOS_2_1 : u32 = 20100 ; pub const __WATCHOS_2_2 : u32 = 20200 ; pub const __WATCHOS_3_0 : u32 = 30000 ; pub const __WATCHOS_3_1 : u32 = 30100 ; pub const __WATCHOS_3_1_1 : u32 = 30101 ; pub const __WATCHOS_3_2 : u32 = 30200 ; pub const __WATCHOS_4_0 : u32 = 40000 ; pub const __WATCHOS_4_1 : u32 = 40100 ; pub const __WATCHOS_4_2 : u32 = 40200 ; pub const __WATCHOS_4_3 : u32 = 40300 ; pub const __MAC_OS_X_VERSION_MAX_ALLOWED : u32 = 101304 ; pub const _USE_FORTIFY_LEVEL : u32 = 2 ; pub const __HAS_FIXED_CHK_PROTOTYPES : u32 = 1 ; pub type SpvId = :: std :: os :: raw :: c_uint ; pub const SpvMagicNumber : :: std :: os :: raw :: c_uint = 119734787 ; pub const SpvVersion : :: std :: os :: raw :: c_uint = 66304 ; pub const SpvRevision : :: std :: os :: raw :: c_uint = 1 ; pub const SpvOpCodeMask : :: std :: os :: raw :: c_uint = 65535 ; pub const SpvWordCountShift : :: std :: os :: raw :: c_uint = 16 ; pub const SpvSourceLanguage__SpvSourceLanguageUnknown : SpvSourceLanguage_ = 0 ; pub const SpvSourceLanguage__SpvSourceLanguageESSL : SpvSourceLanguage_ = 1 ; pub const SpvSourceLanguage__SpvSourceLanguageGLSL : SpvSourceLanguage_ = 2 ; pub const SpvSourceLanguage__SpvSourceLanguageOpenCL_C : SpvSourceLanguage_ = 3 ; pub const SpvSourceLanguage__SpvSourceLanguageOpenCL_CPP : SpvSourceLanguage_ = 4 ; pub const SpvSourceLanguage__SpvSourceLanguageHLSL : SpvSourceLanguage_ = 5 ; pub const SpvSourceLanguage__SpvSourceLanguageMax : SpvSourceLanguage_ = 2147483647 ; pub type SpvSourceLanguage_ = u32 ; pub use self :: SpvSourceLanguage_ as SpvSourceLanguage ; pub const SpvExecutionModel__SpvExecutionModelVertex : SpvExecutionModel_ = 0 ; pub const SpvExecutionModel__SpvExecutionModelTessellationControl : SpvExecutionModel_ = 1 ; pub const SpvExecutionModel__SpvExecutionModelTessellationEvaluation : SpvExecutionModel_ = 2 ; pub const SpvExecutionModel__SpvExecutionModelGeometry : SpvExecutionModel_ = 3 ; pub const SpvExecutionModel__SpvExecutionModelFragment : SpvExecutionModel_ = 4 ; pub const SpvExecutionModel__SpvExecutionModelGLCompute : SpvExecutionModel_ = 5 ; pub const SpvExecutionModel__SpvExecutionModelKernel : SpvExecutionModel_ = 6 ; pub const SpvExecutionModel__SpvExecutionModelMax : SpvExecutionModel_ = 2147483647 ; pub type SpvExecutionModel_ = u32 ; pub use self :: SpvExecutionModel_ as SpvExecutionModel ; pub const SpvAddressingModel__SpvAddressingModelLogical : SpvAddressingModel_ = 0 ; pub const SpvAddressingModel__SpvAddressingModelPhysical32 : SpvAddressingModel_ = 1 ; pub const SpvAddressingModel__SpvAddressingModelPhysical64 : SpvAddressingModel_ = 2 ; pub const SpvAddressingModel__SpvAddressingModelMax : SpvAddressingModel_ = 2147483647 ; pub type SpvAddressingModel_ = u32 ; pub use self :: SpvAddressingModel_ as SpvAddressingModel ; pub const SpvMemoryModel__SpvMemoryModelSimple : SpvMemoryModel_ = 0 ; pub const SpvMemoryModel__SpvMemoryModelGLSL450 : SpvMemoryModel_ = 1 ; pub const SpvMemoryModel__SpvMemoryModelOpenCL : SpvMemoryModel_ = 2 ; pub const SpvMemoryModel__SpvMemoryModelMax : SpvMemoryModel_ = 2147483647 ; pub type SpvMemoryModel_ = u32 ; pub use self :: SpvMemoryModel_ as SpvMemoryModel ; pub const SpvExecutionMode__SpvExecutionModeInvocations : SpvExecutionMode_ = 0 ; pub const SpvExecutionMode__SpvExecutionModeSpacingEqual : SpvExecutionMode_ = 1 ; pub const SpvExecutionMode__SpvExecutionModeSpacingFractionalEven : SpvExecutionMode_ = 2 ; pub const SpvExecutionMode__SpvExecutionModeSpacingFractionalOdd : SpvExecutionMode_ = 3 ; pub const SpvExecutionMode__SpvExecutionModeVertexOrderCw : SpvExecutionMode_ = 4 ; pub const SpvExecutionMode__SpvExecutionModeVertexOrderCcw : SpvExecutionMode_ = 5 ; pub const SpvExecutionMode__SpvExecutionModePixelCenterInteger : SpvExecutionMode_ = 6 ; pub const SpvExecutionMode__SpvExecutionModeOriginUpperLeft : SpvExecutionMode_ = 7 ; pub const SpvExecutionMode__SpvExecutionModeOriginLowerLeft : SpvExecutionMode_ = 8 ; pub const SpvExecutionMode__SpvExecutionModeEarlyFragmentTests : SpvExecutionMode_ = 9 ; pub const SpvExecutionMode__SpvExecutionModePointMode : SpvExecutionMode_ = 10 ; pub const SpvExecutionMode__SpvExecutionModeXfb : SpvExecutionMode_ = 11 ; pub const SpvExecutionMode__SpvExecutionModeDepthReplacing : SpvExecutionMode_ = 12 ; pub const SpvExecutionMode__SpvExecutionModeDepthGreater : SpvExecutionMode_ = 14 ; pub const SpvExecutionMode__SpvExecutionModeDepthLess : SpvExecutionMode_ = 15 ; pub const SpvExecutionMode__SpvExecutionModeDepthUnchanged : SpvExecutionMode_ = 16 ; pub const SpvExecutionMode__SpvExecutionModeLocalSize : SpvExecutionMode_ = 17 ; pub const SpvExecutionMode__SpvExecutionModeLocalSizeHint : SpvExecutionMode_ = 18 ; pub const SpvExecutionMode__SpvExecutionModeInputPoints : SpvExecutionMode_ = 19 ; pub const SpvExecutionMode__SpvExecutionModeInputLines : SpvExecutionMode_ = 20 ; pub const SpvExecutionMode__SpvExecutionModeInputLinesAdjacency : SpvExecutionMode_ = 21 ; pub const SpvExecutionMode__SpvExecutionModeTriangles : SpvExecutionMode_ = 22 ; pub const SpvExecutionMode__SpvExecutionModeInputTrianglesAdjacency : SpvExecutionMode_ = 23 ; pub const SpvExecutionMode__SpvExecutionModeQuads : SpvExecutionMode_ = 24 ; pub const SpvExecutionMode__SpvExecutionModeIsolines : SpvExecutionMode_ = 25 ; pub const SpvExecutionMode__SpvExecutionModeOutputVertices : SpvExecutionMode_ = 26 ; pub const SpvExecutionMode__SpvExecutionModeOutputPoints : SpvExecutionMode_ = 27 ; pub const SpvExecutionMode__SpvExecutionModeOutputLineStrip : SpvExecutionMode_ = 28 ; pub const SpvExecutionMode__SpvExecutionModeOutputTriangleStrip : SpvExecutionMode_ = 29 ; pub const SpvExecutionMode__SpvExecutionModeVecTypeHint : SpvExecutionMode_ = 30 ; pub const SpvExecutionMode__SpvExecutionModeContractionOff : SpvExecutionMode_ = 31 ; pub const SpvExecutionMode__SpvExecutionModeInitializer : SpvExecutionMode_ = 33 ; pub const SpvExecutionMode__SpvExecutionModeFinalizer : SpvExecutionMode_ = 34 ; pub const SpvExecutionMode__SpvExecutionModeSubgroupSize : SpvExecutionMode_ = 35 ; pub const SpvExecutionMode__SpvExecutionModeSubgroupsPerWorkgroup : SpvExecutionMode_ = 36 ; pub const SpvExecutionMode__SpvExecutionModeSubgroupsPerWorkgroupId : SpvExecutionMode_ = 37 ; pub const SpvExecutionMode__SpvExecutionModeLocalSizeId : SpvExecutionMode_ = 38 ; pub const SpvExecutionMode__SpvExecutionModeLocalSizeHintId : SpvExecutionMode_ = 39 ; pub const SpvExecutionMode__SpvExecutionModePostDepthCoverage : SpvExecutionMode_ = 4446 ; pub const SpvExecutionMode__SpvExecutionModeStencilRefReplacingEXT : SpvExecutionMode_ = 5027 ; pub const SpvExecutionMode__SpvExecutionModeMax : SpvExecutionMode_ = 2147483647 ; pub type SpvExecutionMode_ = u32 ; pub use self :: SpvExecutionMode_ as SpvExecutionMode ; pub const SpvStorageClass__SpvStorageClassUniformConstant : SpvStorageClass_ = 0 ; pub const SpvStorageClass__SpvStorageClassInput : SpvStorageClass_ = 1 ; pub const SpvStorageClass__SpvStorageClassUniform : SpvStorageClass_ = 2 ; pub const SpvStorageClass__SpvStorageClassOutput : SpvStorageClass_ = 3 ; pub const SpvStorageClass__SpvStorageClassWorkgroup : SpvStorageClass_ = 4 ; pub const SpvStorageClass__SpvStorageClassCrossWorkgroup : SpvStorageClass_ = 5 ; pub const SpvStorageClass__SpvStorageClassPrivate : SpvStorageClass_ = 6 ; pub const SpvStorageClass__SpvStorageClassFunction : SpvStorageClass_ = 7 ; pub const SpvStorageClass__SpvStorageClassGeneric : SpvStorageClass_ = 8 ; pub const SpvStorageClass__SpvStorageClassPushConstant : SpvStorageClass_ = 9 ; pub const SpvStorageClass__SpvStorageClassAtomicCounter : SpvStorageClass_ = 10 ; pub const SpvStorageClass__SpvStorageClassImage : SpvStorageClass_ = 11 ; pub const SpvStorageClass__SpvStorageClassStorageBuffer : SpvStorageClass_ = 12 ; pub const SpvStorageClass__SpvStorageClassMax : SpvStorageClass_ = 2147483647 ; pub type SpvStorageClass_ = u32 ; pub use self :: SpvStorageClass_ as SpvStorageClass ; pub const SpvDim__SpvDim1D : SpvDim_ = 0 ; pub const SpvDim__SpvDim2D : SpvDim_ = 1 ; pub const SpvDim__SpvDim3D : SpvDim_ = 2 ; pub const SpvDim__SpvDimCube : SpvDim_ = 3 ; pub const SpvDim__SpvDimRect : SpvDim_ = 4 ; pub const SpvDim__SpvDimBuffer : SpvDim_ = 5 ; pub const SpvDim__SpvDimSubpassData : SpvDim_ = 6 ; pub const SpvDim__SpvDimMax : SpvDim_ = 2147483647 ; pub type SpvDim_ = u32 ; pub use self :: SpvDim_ as SpvDim ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeNone : SpvSamplerAddressingMode_ = 0 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeClampToEdge : SpvSamplerAddressingMode_ = 1 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeClamp : SpvSamplerAddressingMode_ = 2 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeRepeat : SpvSamplerAddressingMode_ = 3 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeRepeatMirrored : SpvSamplerAddressingMode_ = 4 ; pub const SpvSamplerAddressingMode__SpvSamplerAddressingModeMax : SpvSamplerAddressingMode_ = 2147483647 ; pub type SpvSamplerAddressingMode_ = u32 ; pub use self :: SpvSamplerAddressingMode_ as SpvSamplerAddressingMode ; pub const SpvSamplerFilterMode__SpvSamplerFilterModeNearest : SpvSamplerFilterMode_ = 0 ; pub const SpvSamplerFilterMode__SpvSamplerFilterModeLinear : SpvSamplerFilterMode_ = 1 ; pub const SpvSamplerFilterMode__SpvSamplerFilterModeMax : SpvSamplerFilterMode_ = 2147483647 ; pub type SpvSamplerFilterMode_ = u32 ; pub use self :: SpvSamplerFilterMode_ as SpvSamplerFilterMode ; pub const SpvImageFormat__SpvImageFormatUnknown : SpvImageFormat_ = 0 ; pub const SpvImageFormat__SpvImageFormatRgba32f : SpvImageFormat_ = 1 ; pub const SpvImageFormat__SpvImageFormatRgba16f : SpvImageFormat_ = 2 ; pub const SpvImageFormat__SpvImageFormatR32f : SpvImageFormat_ = 3 ; pub const SpvImageFormat__SpvImageFormatRgba8 : SpvImageFormat_ = 4 ; pub const SpvImageFormat__SpvImageFormatRgba8Snorm : SpvImageFormat_ = 5 ; pub const SpvImageFormat__SpvImageFormatRg32f : SpvImageFormat_ = 6 ; pub const SpvImageFormat__SpvImageFormatRg16f : SpvImageFormat_ = 7 ; pub const SpvImageFormat__SpvImageFormatR11fG11fB10f : SpvImageFormat_ = 8 ; pub const SpvImageFormat__SpvImageFormatR16f : SpvImageFormat_ = 9 ; pub const SpvImageFormat__SpvImageFormatRgba16 : SpvImageFormat_ = 10 ; pub const SpvImageFormat__SpvImageFormatRgb10A2 : SpvImageFormat_ = 11 ; pub const SpvImageFormat__SpvImageFormatRg16 : SpvImageFormat_ = 12 ; pub const SpvImageFormat__SpvImageFormatRg8 : SpvImageFormat_ = 13 ; pub const SpvImageFormat__SpvImageFormatR16 : SpvImageFormat_ = 14 ; pub const SpvImageFormat__SpvImageFormatR8 : SpvImageFormat_ = 15 ; pub const SpvImageFormat__SpvImageFormatRgba16Snorm : SpvImageFormat_ = 16 ; pub const SpvImageFormat__SpvImageFormatRg16Snorm : SpvImageFormat_ = 17 ; pub const SpvImageFormat__SpvImageFormatRg8Snorm : SpvImageFormat_ = 18 ; pub const SpvImageFormat__SpvImageFormatR16Snorm : SpvImageFormat_ = 19 ; pub const SpvImageFormat__SpvImageFormatR8Snorm : SpvImageFormat_ = 20 ; pub const SpvImageFormat__SpvImageFormatRgba32i : SpvImageFormat_ = 21 ; pub const SpvImageFormat__SpvImageFormatRgba16i : SpvImageFormat_ = 22 ; pub const SpvImageFormat__SpvImageFormatRgba8i : SpvImageFormat_ = 23 ; pub const SpvImageFormat__SpvImageFormatR32i : SpvImageFormat_ = 24 ; pub const SpvImageFormat__SpvImageFormatRg32i : SpvImageFormat_ = 25 ; pub const SpvImageFormat__SpvImageFormatRg16i : SpvImageFormat_ = 26 ; pub const SpvImageFormat__SpvImageFormatRg8i : SpvImageFormat_ = 27 ; pub const SpvImageFormat__SpvImageFormatR16i : SpvImageFormat_ = 28 ; pub const SpvImageFormat__SpvImageFormatR8i : SpvImageFormat_ = 29 ; pub const SpvImageFormat__SpvImageFormatRgba32ui : SpvImageFormat_ = 30 ; pub const SpvImageFormat__SpvImageFormatRgba16ui : SpvImageFormat_ = 31 ; pub const SpvImageFormat__SpvImageFormatRgba8ui : SpvImageFormat_ = 32 ; pub const SpvImageFormat__SpvImageFormatR32ui : SpvImageFormat_ = 33 ; pub const SpvImageFormat__SpvImageFormatRgb10a2ui : SpvImageFormat_ = 34 ; pub const SpvImageFormat__SpvImageFormatRg32ui : SpvImageFormat_ = 35 ; pub const SpvImageFormat__SpvImageFormatRg16ui : SpvImageFormat_ = 36 ; pub const SpvImageFormat__SpvImageFormatRg8ui : SpvImageFormat_ = 37 ; pub const SpvImageFormat__SpvImageFormatR16ui : SpvImageFormat_ = 38 ; pub const SpvImageFormat__SpvImageFormatR8ui : SpvImageFormat_ = 39 ; pub const SpvImageFormat__SpvImageFormatMax : SpvImageFormat_ = 2147483647 ; pub type SpvImageFormat_ = u32 ; pub use self :: SpvImageFormat_ as SpvImageFormat ; pub const SpvImageChannelOrder__SpvImageChannelOrderR : SpvImageChannelOrder_ = 0 ; pub const SpvImageChannelOrder__SpvImageChannelOrderA : SpvImageChannelOrder_ = 1 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRG : SpvImageChannelOrder_ = 2 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRA : SpvImageChannelOrder_ = 3 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRGB : SpvImageChannelOrder_ = 4 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRGBA : SpvImageChannelOrder_ = 5 ; pub const SpvImageChannelOrder__SpvImageChannelOrderBGRA : SpvImageChannelOrder_ = 6 ; pub const SpvImageChannelOrder__SpvImageChannelOrderARGB : SpvImageChannelOrder_ = 7 ; pub const SpvImageChannelOrder__SpvImageChannelOrderIntensity : SpvImageChannelOrder_ = 8 ; pub const SpvImageChannelOrder__SpvImageChannelOrderLuminance : SpvImageChannelOrder_ = 9 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRx : SpvImageChannelOrder_ = 10 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRGx : SpvImageChannelOrder_ = 11 ; pub const SpvImageChannelOrder__SpvImageChannelOrderRGBx : SpvImageChannelOrder_ = 12 ; pub const SpvImageChannelOrder__SpvImageChannelOrderDepth : SpvImageChannelOrder_ = 13 ; pub const SpvImageChannelOrder__SpvImageChannelOrderDepthStencil : SpvImageChannelOrder_ = 14 ; pub const SpvImageChannelOrder__SpvImageChannelOrdersRGB : SpvImageChannelOrder_ = 15 ; pub const SpvImageChannelOrder__SpvImageChannelOrdersRGBx : SpvImageChannelOrder_ = 16 ; pub const SpvImageChannelOrder__SpvImageChannelOrdersRGBA : SpvImageChannelOrder_ = 17 ; pub const SpvImageChannelOrder__SpvImageChannelOrdersBGRA : SpvImageChannelOrder_ = 18 ; pub const SpvImageChannelOrder__SpvImageChannelOrderABGR : SpvImageChannelOrder_ = 19 ; pub const SpvImageChannelOrder__SpvImageChannelOrderMax : SpvImageChannelOrder_ = 2147483647 ; pub type SpvImageChannelOrder_ = u32 ; pub use self :: SpvImageChannelOrder_ as SpvImageChannelOrder ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSnormInt8 : SpvImageChannelDataType_ = 0 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSnormInt16 : SpvImageChannelDataType_ = 1 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt8 : SpvImageChannelDataType_ = 2 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt16 : SpvImageChannelDataType_ = 3 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormShort565 : SpvImageChannelDataType_ = 4 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormShort555 : SpvImageChannelDataType_ = 5 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt101010 : SpvImageChannelDataType_ = 6 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt8 : SpvImageChannelDataType_ = 7 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt16 : SpvImageChannelDataType_ = 8 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeSignedInt32 : SpvImageChannelDataType_ = 9 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt8 : SpvImageChannelDataType_ = 10 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt16 : SpvImageChannelDataType_ = 11 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnsignedInt32 : SpvImageChannelDataType_ = 12 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeHalfFloat : SpvImageChannelDataType_ = 13 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeFloat : SpvImageChannelDataType_ = 14 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt24 : SpvImageChannelDataType_ = 15 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeUnormInt101010_2 : SpvImageChannelDataType_ = 16 ; pub const SpvImageChannelDataType__SpvImageChannelDataTypeMax : SpvImageChannelDataType_ = 2147483647 ; pub type SpvImageChannelDataType_ = u32 ; pub use self :: SpvImageChannelDataType_ as SpvImageChannelDataType ; pub const SpvImageOperandsShift__SpvImageOperandsBiasShift : SpvImageOperandsShift_ = 0 ; pub const SpvImageOperandsShift__SpvImageOperandsLodShift : SpvImageOperandsShift_ = 1 ; pub const SpvImageOperandsShift__SpvImageOperandsGradShift : SpvImageOperandsShift_ = 2 ; pub const SpvImageOperandsShift__SpvImageOperandsConstOffsetShift : SpvImageOperandsShift_ = 3 ; pub const SpvImageOperandsShift__SpvImageOperandsOffsetShift : SpvImageOperandsShift_ = 4 ; pub const SpvImageOperandsShift__SpvImageOperandsConstOffsetsShift : SpvImageOperandsShift_ = 5 ; pub const SpvImageOperandsShift__SpvImageOperandsSampleShift : SpvImageOperandsShift_ = 6 ; pub const SpvImageOperandsShift__SpvImageOperandsMinLodShift : SpvImageOperandsShift_ = 7 ; pub const SpvImageOperandsShift__SpvImageOperandsMax : SpvImageOperandsShift_ = 2147483647 ; pub type SpvImageOperandsShift_ = u32 ; pub use self :: SpvImageOperandsShift_ as SpvImageOperandsShift ; pub const SpvImageOperandsMask__SpvImageOperandsMaskNone : SpvImageOperandsMask_ = 0 ; pub const SpvImageOperandsMask__SpvImageOperandsBiasMask : SpvImageOperandsMask_ = 1 ; pub const SpvImageOperandsMask__SpvImageOperandsLodMask : SpvImageOperandsMask_ = 2 ; pub const SpvImageOperandsMask__SpvImageOperandsGradMask : SpvImageOperandsMask_ = 4 ; pub const SpvImageOperandsMask__SpvImageOperandsConstOffsetMask : SpvImageOperandsMask_ = 8 ; pub const SpvImageOperandsMask__SpvImageOperandsOffsetMask : SpvImageOperandsMask_ = 16 ; pub const SpvImageOperandsMask__SpvImageOperandsConstOffsetsMask : SpvImageOperandsMask_ = 32 ; pub const SpvImageOperandsMask__SpvImageOperandsSampleMask : SpvImageOperandsMask_ = 64 ; pub const SpvImageOperandsMask__SpvImageOperandsMinLodMask : SpvImageOperandsMask_ = 128 ; pub type SpvImageOperandsMask_ = u32 ; pub use self :: SpvImageOperandsMask_ as SpvImageOperandsMask ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeNotNaNShift : SpvFPFastMathModeShift_ = 0 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeNotInfShift : SpvFPFastMathModeShift_ = 1 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeNSZShift : SpvFPFastMathModeShift_ = 2 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeAllowRecipShift : SpvFPFastMathModeShift_ = 3 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeFastShift : SpvFPFastMathModeShift_ = 4 ; pub const SpvFPFastMathModeShift__SpvFPFastMathModeMax : SpvFPFastMathModeShift_ = 2147483647 ; pub type SpvFPFastMathModeShift_ = u32 ; pub use self :: SpvFPFastMathModeShift_ as SpvFPFastMathModeShift ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeMaskNone : SpvFPFastMathModeMask_ = 0 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeNotNaNMask : SpvFPFastMathModeMask_ = 1 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeNotInfMask : SpvFPFastMathModeMask_ = 2 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeNSZMask : SpvFPFastMathModeMask_ = 4 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeAllowRecipMask : SpvFPFastMathModeMask_ = 8 ; pub const SpvFPFastMathModeMask__SpvFPFastMathModeFastMask : SpvFPFastMathModeMask_ = 16 ; pub type SpvFPFastMathModeMask_ = u32 ; pub use self :: SpvFPFastMathModeMask_ as SpvFPFastMathModeMask ; pub const SpvFPRoundingMode__SpvFPRoundingModeRTE : SpvFPRoundingMode_ = 0 ; pub const SpvFPRoundingMode__SpvFPRoundingModeRTZ : SpvFPRoundingMode_ = 1 ; pub const SpvFPRoundingMode__SpvFPRoundingModeRTP : SpvFPRoundingMode_ = 2 ; pub const SpvFPRoundingMode__SpvFPRoundingModeRTN : SpvFPRoundingMode_ = 3 ; pub const SpvFPRoundingMode__SpvFPRoundingModeMax : SpvFPRoundingMode_ = 2147483647 ; pub type SpvFPRoundingMode_ = u32 ; pub use self :: SpvFPRoundingMode_ as SpvFPRoundingMode ; pub const SpvLinkageType__SpvLinkageTypeExport : SpvLinkageType_ = 0 ; pub const SpvLinkageType__SpvLinkageTypeImport : SpvLinkageType_ = 1 ; pub const SpvLinkageType__SpvLinkageTypeMax : SpvLinkageType_ = 2147483647 ; pub type SpvLinkageType_ = u32 ; pub use self :: SpvLinkageType_ as SpvLinkageType ; pub const SpvAccessQualifier__SpvAccessQualifierReadOnly : SpvAccessQualifier_ = 0 ; pub const SpvAccessQualifier__SpvAccessQualifierWriteOnly : SpvAccessQualifier_ = 1 ; pub const SpvAccessQualifier__SpvAccessQualifierReadWrite : SpvAccessQualifier_ = 2 ; pub const SpvAccessQualifier__SpvAccessQualifierMax : SpvAccessQualifier_ = 2147483647 ; pub type SpvAccessQualifier_ = u32 ; pub use self :: SpvAccessQualifier_ as SpvAccessQualifier ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeZext : SpvFunctionParameterAttribute_ = 0 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeSext : SpvFunctionParameterAttribute_ = 1 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeByVal : SpvFunctionParameterAttribute_ = 2 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeSret : SpvFunctionParameterAttribute_ = 3 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoAlias : SpvFunctionParameterAttribute_ = 4 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoCapture : SpvFunctionParameterAttribute_ = 5 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoWrite : SpvFunctionParameterAttribute_ = 6 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeNoReadWrite : SpvFunctionParameterAttribute_ = 7 ; pub const SpvFunctionParameterAttribute__SpvFunctionParameterAttributeMax : SpvFunctionParameterAttribute_ = 2147483647 ; pub type SpvFunctionParameterAttribute_ = u32 ; pub use self :: SpvFunctionParameterAttribute_ as SpvFunctionParameterAttribute ; pub const SpvDecoration__SpvDecorationRelaxedPrecision : SpvDecoration_ = 0 ; pub const SpvDecoration__SpvDecorationSpecId : SpvDecoration_ = 1 ; pub const SpvDecoration__SpvDecorationBlock : SpvDecoration_ = 2 ; pub const SpvDecoration__SpvDecorationBufferBlock : SpvDecoration_ = 3 ; pub const SpvDecoration__SpvDecorationRowMajor : SpvDecoration_ = 4 ; pub const SpvDecoration__SpvDecorationColMajor : SpvDecoration_ = 5 ; pub const SpvDecoration__SpvDecorationArrayStride : SpvDecoration_ = 6 ; pub const SpvDecoration__SpvDecorationMatrixStride : SpvDecoration_ = 7 ; pub const SpvDecoration__SpvDecorationGLSLShared : SpvDecoration_ = 8 ; pub const SpvDecoration__SpvDecorationGLSLPacked : SpvDecoration_ = 9 ; pub const SpvDecoration__SpvDecorationCPacked : SpvDecoration_ = 10 ; pub const SpvDecoration__SpvDecorationBuiltIn : SpvDecoration_ = 11 ; pub const SpvDecoration__SpvDecorationNoPerspective : SpvDecoration_ = 13 ; pub const SpvDecoration__SpvDecorationFlat : SpvDecoration_ = 14 ; pub const SpvDecoration__SpvDecorationPatch : SpvDecoration_ = 15 ; pub const SpvDecoration__SpvDecorationCentroid : SpvDecoration_ = 16 ; pub const SpvDecoration__SpvDecorationSample : SpvDecoration_ = 17 ; pub const SpvDecoration__SpvDecorationInvariant : SpvDecoration_ = 18 ; pub const SpvDecoration__SpvDecorationRestrict : SpvDecoration_ = 19 ; pub const SpvDecoration__SpvDecorationAliased : SpvDecoration_ = 20 ; pub const SpvDecoration__SpvDecorationVolatile : SpvDecoration_ = 21 ; pub const SpvDecoration__SpvDecorationConstant : SpvDecoration_ = 22 ; pub const SpvDecoration__SpvDecorationCoherent : SpvDecoration_ = 23 ; pub const SpvDecoration__SpvDecorationNonWritable : SpvDecoration_ = 24 ; pub const SpvDecoration__SpvDecorationNonReadable : SpvDecoration_ = 25 ; pub const SpvDecoration__SpvDecorationUniform : SpvDecoration_ = 26 ; pub const SpvDecoration__SpvDecorationSaturatedConversion : SpvDecoration_ = 28 ; pub const SpvDecoration__SpvDecorationStream : SpvDecoration_ = 29 ; pub const SpvDecoration__SpvDecorationLocation : SpvDecoration_ = 30 ; pub const SpvDecoration__SpvDecorationComponent : SpvDecoration_ = 31 ; pub const SpvDecoration__SpvDecorationIndex : SpvDecoration_ = 32 ; pub const SpvDecoration__SpvDecorationBinding : SpvDecoration_ = 33 ; pub const SpvDecoration__SpvDecorationDescriptorSet : SpvDecoration_ = 34 ; pub const SpvDecoration__SpvDecorationOffset : SpvDecoration_ = 35 ; pub const SpvDecoration__SpvDecorationXfbBuffer : SpvDecoration_ = 36 ; pub const SpvDecoration__SpvDecorationXfbStride : SpvDecoration_ = 37 ; pub const SpvDecoration__SpvDecorationFuncParamAttr : SpvDecoration_ = 38 ; pub const SpvDecoration__SpvDecorationFPRoundingMode : SpvDecoration_ = 39 ; pub const SpvDecoration__SpvDecorationFPFastMathMode : SpvDecoration_ = 40 ; pub const SpvDecoration__SpvDecorationLinkageAttributes : SpvDecoration_ = 41 ; pub const SpvDecoration__SpvDecorationNoContraction : SpvDecoration_ = 42 ; pub const SpvDecoration__SpvDecorationInputAttachmentIndex : SpvDecoration_ = 43 ; pub const SpvDecoration__SpvDecorationAlignment : SpvDecoration_ = 44 ; pub const SpvDecoration__SpvDecorationMaxByteOffset : SpvDecoration_ = 45 ; pub const SpvDecoration__SpvDecorationAlignmentId : SpvDecoration_ = 46 ; pub const SpvDecoration__SpvDecorationMaxByteOffsetId : SpvDecoration_ = 47 ; pub const SpvDecoration__SpvDecorationExplicitInterpAMD : SpvDecoration_ = 4999 ; pub const SpvDecoration__SpvDecorationOverrideCoverageNV : SpvDecoration_ = 5248 ; pub const SpvDecoration__SpvDecorationPassthroughNV : SpvDecoration_ = 5250 ; pub const SpvDecoration__SpvDecorationViewportRelativeNV : SpvDecoration_ = 5252 ; pub const SpvDecoration__SpvDecorationSecondaryViewportRelativeNV : SpvDecoration_ = 5256 ; pub const SpvDecoration__SpvDecorationHlslCounterBufferGOOGLE : SpvDecoration_ = 5634 ; pub const SpvDecoration__SpvDecorationHlslSemanticGOOGLE : SpvDecoration_ = 5635 ; pub const SpvDecoration__SpvDecorationMax : SpvDecoration_ = 2147483647 ; pub type SpvDecoration_ = u32 ; pub use self :: SpvDecoration_ as SpvDecoration ; pub const SpvBuiltIn__SpvBuiltInPosition : SpvBuiltIn_ = 0 ; pub const SpvBuiltIn__SpvBuiltInPointSize : SpvBuiltIn_ = 1 ; pub const SpvBuiltIn__SpvBuiltInClipDistance : SpvBuiltIn_ = 3 ; pub const SpvBuiltIn__SpvBuiltInCullDistance : SpvBuiltIn_ = 4 ; pub const SpvBuiltIn__SpvBuiltInVertexId : SpvBuiltIn_ = 5 ; pub const SpvBuiltIn__SpvBuiltInInstanceId : SpvBuiltIn_ = 6 ; pub const SpvBuiltIn__SpvBuiltInPrimitiveId : SpvBuiltIn_ = 7 ; pub const SpvBuiltIn__SpvBuiltInInvocationId : SpvBuiltIn_ = 8 ; pub const SpvBuiltIn__SpvBuiltInLayer : SpvBuiltIn_ = 9 ; pub const SpvBuiltIn__SpvBuiltInViewportIndex : SpvBuiltIn_ = 10 ; pub const SpvBuiltIn__SpvBuiltInTessLevelOuter : SpvBuiltIn_ = 11 ; pub const SpvBuiltIn__SpvBuiltInTessLevelInner : SpvBuiltIn_ = 12 ; pub const SpvBuiltIn__SpvBuiltInTessCoord : SpvBuiltIn_ = 13 ; pub const SpvBuiltIn__SpvBuiltInPatchVertices : SpvBuiltIn_ = 14 ; pub const SpvBuiltIn__SpvBuiltInFragCoord : SpvBuiltIn_ = 15 ; pub const SpvBuiltIn__SpvBuiltInPointCoord : SpvBuiltIn_ = 16 ; pub const SpvBuiltIn__SpvBuiltInFrontFacing : SpvBuiltIn_ = 17 ; pub const SpvBuiltIn__SpvBuiltInSampleId : SpvBuiltIn_ = 18 ; pub const SpvBuiltIn__SpvBuiltInSamplePosition : SpvBuiltIn_ = 19 ; pub const SpvBuiltIn__SpvBuiltInSampleMask : SpvBuiltIn_ = 20 ; pub const SpvBuiltIn__SpvBuiltInFragDepth : SpvBuiltIn_ = 22 ; pub const SpvBuiltIn__SpvBuiltInHelperInvocation : SpvBuiltIn_ = 23 ; pub const SpvBuiltIn__SpvBuiltInNumWorkgroups : SpvBuiltIn_ = 24 ; pub const SpvBuiltIn__SpvBuiltInWorkgroupSize : SpvBuiltIn_ = 25 ; pub const SpvBuiltIn__SpvBuiltInWorkgroupId : SpvBuiltIn_ = 26 ; pub const SpvBuiltIn__SpvBuiltInLocalInvocationId : SpvBuiltIn_ = 27 ; pub const SpvBuiltIn__SpvBuiltInGlobalInvocationId : SpvBuiltIn_ = 28 ; pub const SpvBuiltIn__SpvBuiltInLocalInvocationIndex : SpvBuiltIn_ = 29 ; pub const SpvBuiltIn__SpvBuiltInWorkDim : SpvBuiltIn_ = 30 ; pub const SpvBuiltIn__SpvBuiltInGlobalSize : SpvBuiltIn_ = 31 ; pub const SpvBuiltIn__SpvBuiltInEnqueuedWorkgroupSize : SpvBuiltIn_ = 32 ; pub const SpvBuiltIn__SpvBuiltInGlobalOffset : SpvBuiltIn_ = 33 ; pub const SpvBuiltIn__SpvBuiltInGlobalLinearId : SpvBuiltIn_ = 34 ; pub const SpvBuiltIn__SpvBuiltInSubgroupSize : SpvBuiltIn_ = 36 ; pub const SpvBuiltIn__SpvBuiltInSubgroupMaxSize : SpvBuiltIn_ = 37 ; pub const SpvBuiltIn__SpvBuiltInNumSubgroups : SpvBuiltIn_ = 38 ; pub const SpvBuiltIn__SpvBuiltInNumEnqueuedSubgroups : SpvBuiltIn_ = 39 ; pub const SpvBuiltIn__SpvBuiltInSubgroupId : SpvBuiltIn_ = 40 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLocalInvocationId : SpvBuiltIn_ = 41 ; pub const SpvBuiltIn__SpvBuiltInVertexIndex : SpvBuiltIn_ = 42 ; pub const SpvBuiltIn__SpvBuiltInInstanceIndex : SpvBuiltIn_ = 43 ; pub const SpvBuiltIn__SpvBuiltInSubgroupEqMask : SpvBuiltIn_ = 4416 ; pub const SpvBuiltIn__SpvBuiltInSubgroupEqMaskKHR : SpvBuiltIn_ = 4416 ; pub const SpvBuiltIn__SpvBuiltInSubgroupGeMask : SpvBuiltIn_ = 4417 ; pub const SpvBuiltIn__SpvBuiltInSubgroupGeMaskKHR : SpvBuiltIn_ = 4417 ; pub const SpvBuiltIn__SpvBuiltInSubgroupGtMask : SpvBuiltIn_ = 4418 ; pub const SpvBuiltIn__SpvBuiltInSubgroupGtMaskKHR : SpvBuiltIn_ = 4418 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLeMask : SpvBuiltIn_ = 4419 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLeMaskKHR : SpvBuiltIn_ = 4419 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLtMask : SpvBuiltIn_ = 4420 ; pub const SpvBuiltIn__SpvBuiltInSubgroupLtMaskKHR : SpvBuiltIn_ = 4420 ; pub const SpvBuiltIn__SpvBuiltInBaseVertex : SpvBuiltIn_ = 4424 ; pub const SpvBuiltIn__SpvBuiltInBaseInstance : SpvBuiltIn_ = 4425 ; pub const SpvBuiltIn__SpvBuiltInDrawIndex : SpvBuiltIn_ = 4426 ; pub const SpvBuiltIn__SpvBuiltInDeviceIndex : SpvBuiltIn_ = 4438 ; pub const SpvBuiltIn__SpvBuiltInViewIndex : SpvBuiltIn_ = 4440 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspAMD : SpvBuiltIn_ = 4992 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspCentroidAMD : SpvBuiltIn_ = 4993 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordNoPerspSampleAMD : SpvBuiltIn_ = 4994 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothAMD : SpvBuiltIn_ = 4995 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothCentroidAMD : SpvBuiltIn_ = 4996 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordSmoothSampleAMD : SpvBuiltIn_ = 4997 ; pub const SpvBuiltIn__SpvBuiltInBaryCoordPullModelAMD : SpvBuiltIn_ = 4998 ; pub const SpvBuiltIn__SpvBuiltInFragStencilRefEXT : SpvBuiltIn_ = 5014 ; pub const SpvBuiltIn__SpvBuiltInViewportMaskNV : SpvBuiltIn_ = 5253 ; pub const SpvBuiltIn__SpvBuiltInSecondaryPositionNV : SpvBuiltIn_ = 5257 ; pub const SpvBuiltIn__SpvBuiltInSecondaryViewportMaskNV : SpvBuiltIn_ = 5258 ; pub const SpvBuiltIn__SpvBuiltInPositionPerViewNV : SpvBuiltIn_ = 5261 ; pub const SpvBuiltIn__SpvBuiltInViewportMaskPerViewNV : SpvBuiltIn_ = 5262 ; pub const SpvBuiltIn__SpvBuiltInFullyCoveredEXT : SpvBuiltIn_ = 5264 ; pub const SpvBuiltIn__SpvBuiltInMax : SpvBuiltIn_ = 2147483647 ; pub type SpvBuiltIn_ = u32 ; pub use self :: SpvBuiltIn_ as SpvBuiltIn ; pub const SpvSelectionControlShift__SpvSelectionControlFlattenShift : SpvSelectionControlShift_ = 0 ; pub const SpvSelectionControlShift__SpvSelectionControlDontFlattenShift : SpvSelectionControlShift_ = 1 ; pub const SpvSelectionControlShift__SpvSelectionControlMax : SpvSelectionControlShift_ = 2147483647 ; pub type SpvSelectionControlShift_ = u32 ; pub use self :: SpvSelectionControlShift_ as SpvSelectionControlShift ; pub const SpvSelectionControlMask__SpvSelectionControlMaskNone : SpvSelectionControlMask_ = 0 ; pub const SpvSelectionControlMask__SpvSelectionControlFlattenMask : SpvSelectionControlMask_ = 1 ; pub const SpvSelectionControlMask__SpvSelectionControlDontFlattenMask : SpvSelectionControlMask_ = 2 ; pub type SpvSelectionControlMask_ = u32 ; pub use self :: SpvSelectionControlMask_ as SpvSelectionControlMask ; pub const SpvLoopControlShift__SpvLoopControlUnrollShift : SpvLoopControlShift_ = 0 ; pub const SpvLoopControlShift__SpvLoopControlDontUnrollShift : SpvLoopControlShift_ = 1 ; pub const SpvLoopControlShift__SpvLoopControlDependencyInfiniteShift : SpvLoopControlShift_ = 2 ; pub const SpvLoopControlShift__SpvLoopControlDependencyLengthShift : SpvLoopControlShift_ = 3 ; pub const SpvLoopControlShift__SpvLoopControlMax : SpvLoopControlShift_ = 2147483647 ; pub type SpvLoopControlShift_ = u32 ; pub use self :: SpvLoopControlShift_ as SpvLoopControlShift ; pub const SpvLoopControlMask__SpvLoopControlMaskNone : SpvLoopControlMask_ = 0 ; pub const SpvLoopControlMask__SpvLoopControlUnrollMask : SpvLoopControlMask_ = 1 ; pub const SpvLoopControlMask__SpvLoopControlDontUnrollMask : SpvLoopControlMask_ = 2 ; pub const SpvLoopControlMask__SpvLoopControlDependencyInfiniteMask : SpvLoopControlMask_ = 4 ; pub const SpvLoopControlMask__SpvLoopControlDependencyLengthMask : SpvLoopControlMask_ = 8 ; pub type SpvLoopControlMask_ = u32 ; pub use self :: SpvLoopControlMask_ as SpvLoopControlMask ; pub const SpvFunctionControlShift__SpvFunctionControlInlineShift : SpvFunctionControlShift_ = 0 ; pub const SpvFunctionControlShift__SpvFunctionControlDontInlineShift : SpvFunctionControlShift_ = 1 ; pub const SpvFunctionControlShift__SpvFunctionControlPureShift : SpvFunctionControlShift_ = 2 ; pub const SpvFunctionControlShift__SpvFunctionControlConstShift : SpvFunctionControlShift_ = 3 ; pub const SpvFunctionControlShift__SpvFunctionControlMax : SpvFunctionControlShift_ = 2147483647 ; pub type SpvFunctionControlShift_ = u32 ; pub use self :: SpvFunctionControlShift_ as SpvFunctionControlShift ; pub const SpvFunctionControlMask__SpvFunctionControlMaskNone : SpvFunctionControlMask_ = 0 ; pub const SpvFunctionControlMask__SpvFunctionControlInlineMask : SpvFunctionControlMask_ = 1 ; pub const SpvFunctionControlMask__SpvFunctionControlDontInlineMask : SpvFunctionControlMask_ = 2 ; pub const SpvFunctionControlMask__SpvFunctionControlPureMask : SpvFunctionControlMask_ = 4 ; pub const SpvFunctionControlMask__SpvFunctionControlConstMask : SpvFunctionControlMask_ = 8 ; pub type SpvFunctionControlMask_ = u32 ; pub use self :: SpvFunctionControlMask_ as SpvFunctionControlMask ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsAcquireShift : SpvMemorySemanticsShift_ = 1 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsReleaseShift : SpvMemorySemanticsShift_ = 2 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsAcquireReleaseShift : SpvMemorySemanticsShift_ = 3 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsSequentiallyConsistentShift : SpvMemorySemanticsShift_ = 4 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsUniformMemoryShift : SpvMemorySemanticsShift_ = 6 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsSubgroupMemoryShift : SpvMemorySemanticsShift_ = 7 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsWorkgroupMemoryShift : SpvMemorySemanticsShift_ = 8 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsCrossWorkgroupMemoryShift : SpvMemorySemanticsShift_ = 9 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsAtomicCounterMemoryShift : SpvMemorySemanticsShift_ = 10 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsImageMemoryShift : SpvMemorySemanticsShift_ = 11 ; pub const SpvMemorySemanticsShift__SpvMemorySemanticsMax : SpvMemorySemanticsShift_ = 2147483647 ; pub type SpvMemorySemanticsShift_ = u32 ; pub use self :: SpvMemorySemanticsShift_ as SpvMemorySemanticsShift ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsMaskNone : SpvMemorySemanticsMask_ = 0 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsAcquireMask : SpvMemorySemanticsMask_ = 2 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsReleaseMask : SpvMemorySemanticsMask_ = 4 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsAcquireReleaseMask : SpvMemorySemanticsMask_ = 8 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsSequentiallyConsistentMask : SpvMemorySemanticsMask_ = 16 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsUniformMemoryMask : SpvMemorySemanticsMask_ = 64 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsSubgroupMemoryMask : SpvMemorySemanticsMask_ = 128 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsWorkgroupMemoryMask : SpvMemorySemanticsMask_ = 256 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsCrossWorkgroupMemoryMask : SpvMemorySemanticsMask_ = 512 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsAtomicCounterMemoryMask : SpvMemorySemanticsMask_ = 1024 ; pub const SpvMemorySemanticsMask__SpvMemorySemanticsImageMemoryMask : SpvMemorySemanticsMask_ = 2048 ; pub type SpvMemorySemanticsMask_ = u32 ; pub use self :: SpvMemorySemanticsMask_ as SpvMemorySemanticsMask ; pub const SpvMemoryAccessShift__SpvMemoryAccessVolatileShift : SpvMemoryAccessShift_ = 0 ; pub const SpvMemoryAccessShift__SpvMemoryAccessAlignedShift : SpvMemoryAccessShift_ = 1 ; pub const SpvMemoryAccessShift__SpvMemoryAccessNontemporalShift : SpvMemoryAccessShift_ = 2 ; pub const SpvMemoryAccessShift__SpvMemoryAccessMax : SpvMemoryAccessShift_ = 2147483647 ; pub type SpvMemoryAccessShift_ = u32 ; pub use self :: SpvMemoryAccessShift_ as SpvMemoryAccessShift ; pub const SpvMemoryAccessMask__SpvMemoryAccessMaskNone : SpvMemoryAccessMask_ = 0 ; pub const SpvMemoryAccessMask__SpvMemoryAccessVolatileMask : SpvMemoryAccessMask_ = 1 ; pub const SpvMemoryAccessMask__SpvMemoryAccessAlignedMask : SpvMemoryAccessMask_ = 2 ; pub const SpvMemoryAccessMask__SpvMemoryAccessNontemporalMask : SpvMemoryAccessMask_ = 4 ; pub type SpvMemoryAccessMask_ = u32 ; pub use self :: SpvMemoryAccessMask_ as SpvMemoryAccessMask ; pub const SpvScope__SpvScopeCrossDevice : SpvScope_ = 0 ; pub const SpvScope__SpvScopeDevice : SpvScope_ = 1 ; pub const SpvScope__SpvScopeWorkgroup : SpvScope_ = 2 ; pub const SpvScope__SpvScopeSubgroup : SpvScope_ = 3 ; pub const SpvScope__SpvScopeInvocation : SpvScope_ = 4 ; pub const SpvScope__SpvScopeMax : SpvScope_ = 2147483647 ; pub type SpvScope_ = u32 ; pub use self :: SpvScope_ as SpvScope ; pub const SpvGroupOperation__SpvGroupOperationReduce : SpvGroupOperation_ = 0 ; pub const SpvGroupOperation__SpvGroupOperationInclusiveScan : SpvGroupOperation_ = 1 ; pub const SpvGroupOperation__SpvGroupOperationExclusiveScan : SpvGroupOperation_ = 2 ; pub const SpvGroupOperation__SpvGroupOperationClusteredReduce : SpvGroupOperation_ = 3 ; pub const SpvGroupOperation__SpvGroupOperationPartitionedReduceNV : SpvGroupOperation_ = 6 ; pub const SpvGroupOperation__SpvGroupOperationPartitionedInclusiveScanNV : SpvGroupOperation_ = 7 ; pub const SpvGroupOperation__SpvGroupOperationPartitionedExclusiveScanNV : SpvGroupOperation_ = 8 ; pub const SpvGroupOperation__SpvGroupOperationMax : SpvGroupOperation_ = 2147483647 ; pub type SpvGroupOperation_ = u32 ; pub use self :: SpvGroupOperation_ as SpvGroupOperation ; pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsNoWait : SpvKernelEnqueueFlags_ = 0 ; pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsWaitKernel : SpvKernelEnqueueFlags_ = 1 ; pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsWaitWorkGroup : SpvKernelEnqueueFlags_ = 2 ; pub const SpvKernelEnqueueFlags__SpvKernelEnqueueFlagsMax : SpvKernelEnqueueFlags_ = 2147483647 ; pub type SpvKernelEnqueueFlags_ = u32 ; pub use self :: SpvKernelEnqueueFlags_ as SpvKernelEnqueueFlags ; pub const SpvKernelProfilingInfoShift__SpvKernelProfilingInfoCmdExecTimeShift : SpvKernelProfilingInfoShift_ = 0 ; pub const SpvKernelProfilingInfoShift__SpvKernelProfilingInfoMax : SpvKernelProfilingInfoShift_ = 2147483647 ; pub type SpvKernelProfilingInfoShift_ = u32 ; pub use self :: SpvKernelProfilingInfoShift_ as SpvKernelProfilingInfoShift ; pub const SpvKernelProfilingInfoMask__SpvKernelProfilingInfoMaskNone : SpvKernelProfilingInfoMask_ = 0 ; pub const SpvKernelProfilingInfoMask__SpvKernelProfilingInfoCmdExecTimeMask : SpvKernelProfilingInfoMask_ = 1 ; pub type SpvKernelProfilingInfoMask_ = u32 ; pub use self :: SpvKernelProfilingInfoMask_ as SpvKernelProfilingInfoMask ; pub const SpvCapability__SpvCapabilityMatrix : SpvCapability_ = 0 ; pub const SpvCapability__SpvCapabilityShader : SpvCapability_ = 1 ; pub const SpvCapability__SpvCapabilityGeometry : SpvCapability_ = 2 ; pub const SpvCapability__SpvCapabilityTessellation : SpvCapability_ = 3 ; pub const SpvCapability__SpvCapabilityAddresses : SpvCapability_ = 4 ; pub const SpvCapability__SpvCapabilityLinkage : SpvCapability_ = 5 ; pub const SpvCapability__SpvCapabilityKernel : SpvCapability_ = 6 ; pub const SpvCapability__SpvCapabilityVector16 : SpvCapability_ = 7 ; pub const SpvCapability__SpvCapabilityFloat16Buffer : SpvCapability_ = 8 ; pub const SpvCapability__SpvCapabilityFloat16 : SpvCapability_ = 9 ; pub const SpvCapability__SpvCapabilityFloat64 : SpvCapability_ = 10 ; pub const SpvCapability__SpvCapabilityInt64 : SpvCapability_ = 11 ; pub const SpvCapability__SpvCapabilityInt64Atomics : SpvCapability_ = 12 ; pub const SpvCapability__SpvCapabilityImageBasic : SpvCapability_ = 13 ; pub const SpvCapability__SpvCapabilityImageReadWrite : SpvCapability_ = 14 ; pub const SpvCapability__SpvCapabilityImageMipmap : SpvCapability_ = 15 ; pub const SpvCapability__SpvCapabilityPipes : SpvCapability_ = 17 ; pub const SpvCapability__SpvCapabilityGroups : SpvCapability_ = 18 ; pub const SpvCapability__SpvCapabilityDeviceEnqueue : SpvCapability_ = 19 ; pub const SpvCapability__SpvCapabilityLiteralSampler : SpvCapability_ = 20 ; pub const SpvCapability__SpvCapabilityAtomicStorage : SpvCapability_ = 21 ; pub const SpvCapability__SpvCapabilityInt16 : SpvCapability_ = 22 ; pub const SpvCapability__SpvCapabilityTessellationPointSize : SpvCapability_ = 23 ; pub const SpvCapability__SpvCapabilityGeometryPointSize : SpvCapability_ = 24 ; pub const SpvCapability__SpvCapabilityImageGatherExtended : SpvCapability_ = 25 ; pub const SpvCapability__SpvCapabilityStorageImageMultisample : SpvCapability_ = 27 ; pub const SpvCapability__SpvCapabilityUniformBufferArrayDynamicIndexing : SpvCapability_ = 28 ; pub const SpvCapability__SpvCapabilitySampledImageArrayDynamicIndexing : SpvCapability_ = 29 ; pub const SpvCapability__SpvCapabilityStorageBufferArrayDynamicIndexing : SpvCapability_ = 30 ; pub const SpvCapability__SpvCapabilityStorageImageArrayDynamicIndexing : SpvCapability_ = 31 ; pub const SpvCapability__SpvCapabilityClipDistance : SpvCapability_ = 32 ; pub const SpvCapability__SpvCapabilityCullDistance : SpvCapability_ = 33 ; pub const SpvCapability__SpvCapabilityImageCubeArray : SpvCapability_ = 34 ; pub const SpvCapability__SpvCapabilitySampleRateShading : SpvCapability_ = 35 ; pub const SpvCapability__SpvCapabilityImageRect : SpvCapability_ = 36 ; pub const SpvCapability__SpvCapabilitySampledRect : SpvCapability_ = 37 ; pub const SpvCapability__SpvCapabilityGenericPointer : SpvCapability_ = 38 ; pub const SpvCapability__SpvCapabilityInt8 : SpvCapability_ = 39 ; pub const SpvCapability__SpvCapabilityInputAttachment : SpvCapability_ = 40 ; pub const SpvCapability__SpvCapabilitySparseResidency : SpvCapability_ = 41 ; pub const SpvCapability__SpvCapabilityMinLod : SpvCapability_ = 42 ; pub const SpvCapability__SpvCapabilitySampled1D : SpvCapability_ = 43 ; pub const SpvCapability__SpvCapabilityImage1D : SpvCapability_ = 44 ; pub const SpvCapability__SpvCapabilitySampledCubeArray : SpvCapability_ = 45 ; pub const SpvCapability__SpvCapabilitySampledBuffer : SpvCapability_ = 46 ; pub const SpvCapability__SpvCapabilityImageBuffer : SpvCapability_ = 47 ; pub const SpvCapability__SpvCapabilityImageMSArray : SpvCapability_ = 48 ; pub const SpvCapability__SpvCapabilityStorageImageExtendedFormats : SpvCapability_ = 49 ; pub const SpvCapability__SpvCapabilityImageQuery : SpvCapability_ = 50 ; pub const SpvCapability__SpvCapabilityDerivativeControl : SpvCapability_ = 51 ; pub const SpvCapability__SpvCapabilityInterpolationFunction : SpvCapability_ = 52 ; pub const SpvCapability__SpvCapabilityTransformFeedback : SpvCapability_ = 53 ; pub const SpvCapability__SpvCapabilityGeometryStreams : SpvCapability_ = 54 ; pub const SpvCapability__SpvCapabilityStorageImageReadWithoutFormat : SpvCapability_ = 55 ; pub const SpvCapability__SpvCapabilityStorageImageWriteWithoutFormat : SpvCapability_ = 56 ; pub const SpvCapability__SpvCapabilityMultiViewport : SpvCapability_ = 57 ; pub const SpvCapability__SpvCapabilitySubgroupDispatch : SpvCapability_ = 58 ; pub const SpvCapability__SpvCapabilityNamedBarrier : SpvCapability_ = 59 ; pub const SpvCapability__SpvCapabilityPipeStorage : SpvCapability_ = 60 ; pub const SpvCapability__SpvCapabilityGroupNonUniform : SpvCapability_ = 61 ; pub const SpvCapability__SpvCapabilityGroupNonUniformVote : SpvCapability_ = 62 ; pub const SpvCapability__SpvCapabilityGroupNonUniformArithmetic : SpvCapability_ = 63 ; pub const SpvCapability__SpvCapabilityGroupNonUniformBallot : SpvCapability_ = 64 ; pub const SpvCapability__SpvCapabilityGroupNonUniformShuffle : SpvCapability_ = 65 ; pub const SpvCapability__SpvCapabilityGroupNonUniformShuffleRelative : SpvCapability_ = 66 ; pub const SpvCapability__SpvCapabilityGroupNonUniformClustered : SpvCapability_ = 67 ; pub const SpvCapability__SpvCapabilityGroupNonUniformQuad : SpvCapability_ = 68 ; pub const SpvCapability__SpvCapabilitySubgroupBallotKHR : SpvCapability_ = 4423 ; pub const SpvCapability__SpvCapabilityDrawParameters : SpvCapability_ = 4427 ; pub const SpvCapability__SpvCapabilitySubgroupVoteKHR : SpvCapability_ = 4431 ; pub const SpvCapability__SpvCapabilityStorageBuffer16BitAccess : SpvCapability_ = 4433 ; pub const SpvCapability__SpvCapabilityStorageUniformBufferBlock16 : SpvCapability_ = 4433 ; pub const SpvCapability__SpvCapabilityStorageUniform16 : SpvCapability_ = 4434 ; pub const SpvCapability__SpvCapabilityUniformAndStorageBuffer16BitAccess : SpvCapability_ = 4434 ; pub const SpvCapability__SpvCapabilityStoragePushConstant16 : SpvCapability_ = 4435 ; pub const SpvCapability__SpvCapabilityStorageInputOutput16 : SpvCapability_ = 4436 ; pub const SpvCapability__SpvCapabilityDeviceGroup : SpvCapability_ = 4437 ; pub const SpvCapability__SpvCapabilityMultiView : SpvCapability_ = 4439 ; pub const SpvCapability__SpvCapabilityVariablePointersStorageBuffer : SpvCapability_ = 4441 ; pub const SpvCapability__SpvCapabilityVariablePointers : SpvCapability_ = 4442 ; pub const SpvCapability__SpvCapabilityAtomicStorageOps : SpvCapability_ = 4445 ; pub const SpvCapability__SpvCapabilitySampleMaskPostDepthCoverage : SpvCapability_ = 4447 ; pub const SpvCapability__SpvCapabilityFloat16ImageAMD : SpvCapability_ = 5008 ; pub const SpvCapability__SpvCapabilityImageGatherBiasLodAMD : SpvCapability_ = 5009 ; pub const SpvCapability__SpvCapabilityFragmentMaskAMD : SpvCapability_ = 5010 ; pub const SpvCapability__SpvCapabilityStencilExportEXT : SpvCapability_ = 5013 ; pub const SpvCapability__SpvCapabilityImageReadWriteLodAMD : SpvCapability_ = 5015 ; pub const SpvCapability__SpvCapabilitySampleMaskOverrideCoverageNV : SpvCapability_ = 5249 ; pub const SpvCapability__SpvCapabilityGeometryShaderPassthroughNV : SpvCapability_ = 5251 ; pub const SpvCapability__SpvCapabilityShaderViewportIndexLayerEXT : SpvCapability_ = 5254 ; pub const SpvCapability__SpvCapabilityShaderViewportIndexLayerNV : SpvCapability_ = 5254 ; pub const SpvCapability__SpvCapabilityShaderViewportMaskNV : SpvCapability_ = 5255 ; pub const SpvCapability__SpvCapabilityShaderStereoViewNV : SpvCapability_ = 5259 ; pub const SpvCapability__SpvCapabilityPerViewAttributesNV : SpvCapability_ = 5260 ; pub const SpvCapability__SpvCapabilityFragmentFullyCoveredEXT : SpvCapability_ = 5265 ; pub const SpvCapability__SpvCapabilityGroupNonUniformPartitionedNV : SpvCapability_ = 5297 ; pub const SpvCapability__SpvCapabilitySubgroupShuffleINTEL : SpvCapability_ = 5568 ; pub const SpvCapability__SpvCapabilitySubgroupBufferBlockIOINTEL : SpvCapability_ = 5569 ; pub const SpvCapability__SpvCapabilitySubgroupImageBlockIOINTEL : SpvCapability_ = 5570 ; pub const SpvCapability__SpvCapabilityMax : SpvCapability_ = 2147483647 ; pub type SpvCapability_ = u32 ; pub use self :: SpvCapability_ as SpvCapability ; pub const SpvOp__SpvOpNop : SpvOp_ = 0 ; pub const SpvOp__SpvOpUndef : SpvOp_ = 1 ; pub const SpvOp__SpvOpSourceContinued : SpvOp_ = 2 ; pub const SpvOp__SpvOpSource : SpvOp_ = 3 ; pub const SpvOp__SpvOpSourceExtension : SpvOp_ = 4 ; pub const SpvOp__SpvOpName : SpvOp_ = 5 ; pub const SpvOp__SpvOpMemberName : SpvOp_ = 6 ; pub const SpvOp__SpvOpString : SpvOp_ = 7 ; pub const SpvOp__SpvOpLine : SpvOp_ = 8 ; pub const SpvOp__SpvOpExtension : SpvOp_ = 10 ; pub const SpvOp__SpvOpExtInstImport : SpvOp_ = 11 ; pub const SpvOp__SpvOpExtInst : SpvOp_ = 12 ; pub const SpvOp__SpvOpMemoryModel : SpvOp_ = 14 ; pub const SpvOp__SpvOpEntryPoint : SpvOp_ = 15 ; pub const SpvOp__SpvOpExecutionMode : SpvOp_ = 16 ; pub const SpvOp__SpvOpCapability : SpvOp_ = 17 ; pub const SpvOp__SpvOpTypeVoid : SpvOp_ = 19 ; pub const SpvOp__SpvOpTypeBool : SpvOp_ = 20 ; pub const SpvOp__SpvOpTypeInt : SpvOp_ = 21 ; pub const SpvOp__SpvOpTypeFloat : SpvOp_ = 22 ; pub const SpvOp__SpvOpTypeVector : SpvOp_ = 23 ; pub const SpvOp__SpvOpTypeMatrix : SpvOp_ = 24 ; pub const SpvOp__SpvOpTypeImage : SpvOp_ = 25 ; pub const SpvOp__SpvOpTypeSampler : SpvOp_ = 26 ; pub const SpvOp__SpvOpTypeSampledImage : SpvOp_ = 27 ; pub const SpvOp__SpvOpTypeArray : SpvOp_ = 28 ; pub const SpvOp__SpvOpTypeRuntimeArray : SpvOp_ = 29 ; pub const SpvOp__SpvOpTypeStruct : SpvOp_ = 30 ; pub const SpvOp__SpvOpTypeOpaque : SpvOp_ = 31 ; pub const SpvOp__SpvOpTypePointer : SpvOp_ = 32 ; pub const SpvOp__SpvOpTypeFunction : SpvOp_ = 33 ; pub const SpvOp__SpvOpTypeEvent : SpvOp_ = 34 ; pub const SpvOp__SpvOpTypeDeviceEvent : SpvOp_ = 35 ; pub const SpvOp__SpvOpTypeReserveId : SpvOp_ = 36 ; pub const SpvOp__SpvOpTypeQueue : SpvOp_ = 37 ; pub const SpvOp__SpvOpTypePipe : SpvOp_ = 38 ; pub const SpvOp__SpvOpTypeForwardPointer : SpvOp_ = 39 ; pub const SpvOp__SpvOpConstantTrue : SpvOp_ = 41 ; pub const SpvOp__SpvOpConstantFalse : SpvOp_ = 42 ; pub const SpvOp__SpvOpConstant : SpvOp_ = 43 ; pub const SpvOp__SpvOpConstantComposite : SpvOp_ = 44 ; pub const SpvOp__SpvOpConstantSampler : SpvOp_ = 45 ; pub const SpvOp__SpvOpConstantNull : SpvOp_ = 46 ; pub const SpvOp__SpvOpSpecConstantTrue : SpvOp_ = 48 ; pub const SpvOp__SpvOpSpecConstantFalse : SpvOp_ = 49 ; pub const SpvOp__SpvOpSpecConstant : SpvOp_ = 50 ; pub const SpvOp__SpvOpSpecConstantComposite : SpvOp_ = 51 ; pub const SpvOp__SpvOpSpecConstantOp : SpvOp_ = 52 ; pub const SpvOp__SpvOpFunction : SpvOp_ = 54 ; pub const SpvOp__SpvOpFunctionParameter : SpvOp_ = 55 ; pub const SpvOp__SpvOpFunctionEnd : SpvOp_ = 56 ; pub const SpvOp__SpvOpFunctionCall : SpvOp_ = 57 ; pub const SpvOp__SpvOpVariable : SpvOp_ = 59 ; pub const SpvOp__SpvOpImageTexelPointer : SpvOp_ = 60 ; pub const SpvOp__SpvOpLoad : SpvOp_ = 61 ; pub const SpvOp__SpvOpStore : SpvOp_ = 62 ; pub const SpvOp__SpvOpCopyMemory : SpvOp_ = 63 ; pub const SpvOp__SpvOpCopyMemorySized : SpvOp_ = 64 ; pub const SpvOp__SpvOpAccessChain : SpvOp_ = 65 ; pub const SpvOp__SpvOpInBoundsAccessChain : SpvOp_ = 66 ; pub const SpvOp__SpvOpPtrAccessChain : SpvOp_ = 67 ; pub const SpvOp__SpvOpArrayLength : SpvOp_ = 68 ; pub const SpvOp__SpvOpGenericPtrMemSemantics : SpvOp_ = 69 ; pub const SpvOp__SpvOpInBoundsPtrAccessChain : SpvOp_ = 70 ; pub const SpvOp__SpvOpDecorate : SpvOp_ = 71 ; pub const SpvOp__SpvOpMemberDecorate : SpvOp_ = 72 ; pub const SpvOp__SpvOpDecorationGroup : SpvOp_ = 73 ; pub const SpvOp__SpvOpGroupDecorate : SpvOp_ = 74 ; pub const SpvOp__SpvOpGroupMemberDecorate : SpvOp_ = 75 ; pub const SpvOp__SpvOpVectorExtractDynamic : SpvOp_ = 77 ; pub const SpvOp__SpvOpVectorInsertDynamic : SpvOp_ = 78 ; pub const SpvOp__SpvOpVectorShuffle : SpvOp_ = 79 ; pub const SpvOp__SpvOpCompositeConstruct : SpvOp_ = 80 ; pub const SpvOp__SpvOpCompositeExtract : SpvOp_ = 81 ; pub const SpvOp__SpvOpCompositeInsert : SpvOp_ = 82 ; pub const SpvOp__SpvOpCopyObject : SpvOp_ = 83 ; pub const SpvOp__SpvOpTranspose : SpvOp_ = 84 ; pub const SpvOp__SpvOpSampledImage : SpvOp_ = 86 ; pub const SpvOp__SpvOpImageSampleImplicitLod : SpvOp_ = 87 ; pub const SpvOp__SpvOpImageSampleExplicitLod : SpvOp_ = 88 ; pub const SpvOp__SpvOpImageSampleDrefImplicitLod : SpvOp_ = 89 ; pub const SpvOp__SpvOpImageSampleDrefExplicitLod : SpvOp_ = 90 ; pub const SpvOp__SpvOpImageSampleProjImplicitLod : SpvOp_ = 91 ; pub const SpvOp__SpvOpImageSampleProjExplicitLod : SpvOp_ = 92 ; pub const SpvOp__SpvOpImageSampleProjDrefImplicitLod : SpvOp_ = 93 ; pub const SpvOp__SpvOpImageSampleProjDrefExplicitLod : SpvOp_ = 94 ; pub const SpvOp__SpvOpImageFetch : SpvOp_ = 95 ; pub const SpvOp__SpvOpImageGather : SpvOp_ = 96 ; pub const SpvOp__SpvOpImageDrefGather : SpvOp_ = 97 ; pub const SpvOp__SpvOpImageRead : SpvOp_ = 98 ; pub const SpvOp__SpvOpImageWrite : SpvOp_ = 99 ; pub const SpvOp__SpvOpImage : SpvOp_ = 100 ; pub const SpvOp__SpvOpImageQueryFormat : SpvOp_ = 101 ; pub const SpvOp__SpvOpImageQueryOrder : SpvOp_ = 102 ; pub const SpvOp__SpvOpImageQuerySizeLod : SpvOp_ = 103 ; pub const SpvOp__SpvOpImageQuerySize : SpvOp_ = 104 ; pub const SpvOp__SpvOpImageQueryLod : SpvOp_ = 105 ; pub const SpvOp__SpvOpImageQueryLevels : SpvOp_ = 106 ; pub const SpvOp__SpvOpImageQuerySamples : SpvOp_ = 107 ; pub const SpvOp__SpvOpConvertFToU : SpvOp_ = 109 ; pub const SpvOp__SpvOpConvertFToS : SpvOp_ = 110 ; pub const SpvOp__SpvOpConvertSToF : SpvOp_ = 111 ; pub const SpvOp__SpvOpConvertUToF : SpvOp_ = 112 ; pub const SpvOp__SpvOpUConvert : SpvOp_ = 113 ; pub const SpvOp__SpvOpSConvert : SpvOp_ = 114 ; pub const SpvOp__SpvOpFConvert : SpvOp_ = 115 ; pub const SpvOp__SpvOpQuantizeToF16 : SpvOp_ = 116 ; pub const SpvOp__SpvOpConvertPtrToU : SpvOp_ = 117 ; pub const SpvOp__SpvOpSatConvertSToU : SpvOp_ = 118 ; pub const SpvOp__SpvOpSatConvertUToS : SpvOp_ = 119 ; pub const SpvOp__SpvOpConvertUToPtr : SpvOp_ = 120 ; pub const SpvOp__SpvOpPtrCastToGeneric : SpvOp_ = 121 ; pub const SpvOp__SpvOpGenericCastToPtr : SpvOp_ = 122 ; pub const SpvOp__SpvOpGenericCastToPtrExplicit : SpvOp_ = 123 ; pub const SpvOp__SpvOpBitcast : SpvOp_ = 124 ; pub const SpvOp__SpvOpSNegate : SpvOp_ = 126 ; pub const SpvOp__SpvOpFNegate : SpvOp_ = 127 ; pub const SpvOp__SpvOpIAdd : SpvOp_ = 128 ; pub const SpvOp__SpvOpFAdd : SpvOp_ = 129 ; pub const SpvOp__SpvOpISub : SpvOp_ = 130 ; pub const SpvOp__SpvOpFSub : SpvOp_ = 131 ; pub const SpvOp__SpvOpIMul : SpvOp_ = 132 ; pub const SpvOp__SpvOpFMul : SpvOp_ = 133 ; pub const SpvOp__SpvOpUDiv : SpvOp_ = 134 ; pub const SpvOp__SpvOpSDiv : SpvOp_ = 135 ; pub const SpvOp__SpvOpFDiv : SpvOp_ = 136 ; pub const SpvOp__SpvOpUMod : SpvOp_ = 137 ; pub const SpvOp__SpvOpSRem : SpvOp_ = 138 ; pub const SpvOp__SpvOpSMod : SpvOp_ = 139 ; pub const SpvOp__SpvOpFRem : SpvOp_ = 140 ; pub const SpvOp__SpvOpFMod : SpvOp_ = 141 ; pub const SpvOp__SpvOpVectorTimesScalar : SpvOp_ = 142 ; pub const SpvOp__SpvOpMatrixTimesScalar : SpvOp_ = 143 ; pub const SpvOp__SpvOpVectorTimesMatrix : SpvOp_ = 144 ; pub const SpvOp__SpvOpMatrixTimesVector : SpvOp_ = 145 ; pub const SpvOp__SpvOpMatrixTimesMatrix : SpvOp_ = 146 ; pub const SpvOp__SpvOpOuterProduct : SpvOp_ = 147 ; pub const SpvOp__SpvOpDot : SpvOp_ = 148 ; pub const SpvOp__SpvOpIAddCarry : SpvOp_ = 149 ; pub const SpvOp__SpvOpISubBorrow : SpvOp_ = 150 ; pub const SpvOp__SpvOpUMulExtended : SpvOp_ = 151 ; pub const SpvOp__SpvOpSMulExtended : SpvOp_ = 152 ; pub const SpvOp__SpvOpAny : SpvOp_ = 154 ; pub const SpvOp__SpvOpAll : SpvOp_ = 155 ; pub const SpvOp__SpvOpIsNan : SpvOp_ = 156 ; pub const SpvOp__SpvOpIsInf : SpvOp_ = 157 ; pub const SpvOp__SpvOpIsFinite : SpvOp_ = 158 ; pub const SpvOp__SpvOpIsNormal : SpvOp_ = 159 ; pub const SpvOp__SpvOpSignBitSet : SpvOp_ = 160 ; pub const SpvOp__SpvOpLessOrGreater : SpvOp_ = 161 ; pub const SpvOp__SpvOpOrdered : SpvOp_ = 162 ; pub const SpvOp__SpvOpUnordered : SpvOp_ = 163 ; pub const SpvOp__SpvOpLogicalEqual : SpvOp_ = 164 ; pub const SpvOp__SpvOpLogicalNotEqual : SpvOp_ = 165 ; pub const SpvOp__SpvOpLogicalOr : SpvOp_ = 166 ; pub const SpvOp__SpvOpLogicalAnd : SpvOp_ = 167 ; pub const SpvOp__SpvOpLogicalNot : SpvOp_ = 168 ; pub const SpvOp__SpvOpSelect : SpvOp_ = 169 ; pub const SpvOp__SpvOpIEqual : SpvOp_ = 170 ; pub const SpvOp__SpvOpINotEqual : SpvOp_ = 171 ; pub const SpvOp__SpvOpUGreaterThan : SpvOp_ = 172 ; pub const SpvOp__SpvOpSGreaterThan : SpvOp_ = 173 ; pub const SpvOp__SpvOpUGreaterThanEqual : SpvOp_ = 174 ; pub const SpvOp__SpvOpSGreaterThanEqual : SpvOp_ = 175 ; pub const SpvOp__SpvOpULessThan : SpvOp_ = 176 ; pub const SpvOp__SpvOpSLessThan : SpvOp_ = 177 ; pub const SpvOp__SpvOpULessThanEqual : SpvOp_ = 178 ; pub const SpvOp__SpvOpSLessThanEqual : SpvOp_ = 179 ; pub const SpvOp__SpvOpFOrdEqual : SpvOp_ = 180 ; pub const SpvOp__SpvOpFUnordEqual : SpvOp_ = 181 ; pub const SpvOp__SpvOpFOrdNotEqual : SpvOp_ = 182 ; pub const SpvOp__SpvOpFUnordNotEqual : SpvOp_ = 183 ; pub const SpvOp__SpvOpFOrdLessThan : SpvOp_ = 184 ; pub const SpvOp__SpvOpFUnordLessThan : SpvOp_ = 185 ; pub const SpvOp__SpvOpFOrdGreaterThan : SpvOp_ = 186 ; pub const SpvOp__SpvOpFUnordGreaterThan : SpvOp_ = 187 ; pub const SpvOp__SpvOpFOrdLessThanEqual : SpvOp_ = 188 ; pub const SpvOp__SpvOpFUnordLessThanEqual : SpvOp_ = 189 ; pub const SpvOp__SpvOpFOrdGreaterThanEqual : SpvOp_ = 190 ; pub const SpvOp__SpvOpFUnordGreaterThanEqual : SpvOp_ = 191 ; pub const SpvOp__SpvOpShiftRightLogical : SpvOp_ = 194 ; pub const SpvOp__SpvOpShiftRightArithmetic : SpvOp_ = 195 ; pub const SpvOp__SpvOpShiftLeftLogical : SpvOp_ = 196 ; pub const SpvOp__SpvOpBitwiseOr : SpvOp_ = 197 ; pub const SpvOp__SpvOpBitwiseXor : SpvOp_ = 198 ; pub const SpvOp__SpvOpBitwiseAnd : SpvOp_ = 199 ; pub const SpvOp__SpvOpNot : SpvOp_ = 200 ; pub const SpvOp__SpvOpBitFieldInsert : SpvOp_ = 201 ; pub const SpvOp__SpvOpBitFieldSExtract : SpvOp_ = 202 ; pub const SpvOp__SpvOpBitFieldUExtract : SpvOp_ = 203 ; pub const SpvOp__SpvOpBitReverse : SpvOp_ = 204 ; pub const SpvOp__SpvOpBitCount : SpvOp_ = 205 ; pub const SpvOp__SpvOpDPdx : SpvOp_ = 207 ; pub const SpvOp__SpvOpDPdy : SpvOp_ = 208 ; pub const SpvOp__SpvOpFwidth : SpvOp_ = 209 ; pub const SpvOp__SpvOpDPdxFine : SpvOp_ = 210 ; pub const SpvOp__SpvOpDPdyFine : SpvOp_ = 211 ; pub const SpvOp__SpvOpFwidthFine : SpvOp_ = 212 ; pub const SpvOp__SpvOpDPdxCoarse : SpvOp_ = 213 ; pub const SpvOp__SpvOpDPdyCoarse : SpvOp_ = 214 ; pub const SpvOp__SpvOpFwidthCoarse : SpvOp_ = 215 ; pub const SpvOp__SpvOpEmitVertex : SpvOp_ = 218 ; pub const SpvOp__SpvOpEndPrimitive : SpvOp_ = 219 ; pub const SpvOp__SpvOpEmitStreamVertex : SpvOp_ = 220 ; pub const SpvOp__SpvOpEndStreamPrimitive : SpvOp_ = 221 ; pub const SpvOp__SpvOpControlBarrier : SpvOp_ = 224 ; pub const SpvOp__SpvOpMemoryBarrier : SpvOp_ = 225 ; pub const SpvOp__SpvOpAtomicLoad : SpvOp_ = 227 ; pub const SpvOp__SpvOpAtomicStore : SpvOp_ = 228 ; pub const SpvOp__SpvOpAtomicExchange : SpvOp_ = 229 ; pub const SpvOp__SpvOpAtomicCompareExchange : SpvOp_ = 230 ; pub const SpvOp__SpvOpAtomicCompareExchangeWeak : SpvOp_ = 231 ; pub const SpvOp__SpvOpAtomicIIncrement : SpvOp_ = 232 ; pub const SpvOp__SpvOpAtomicIDecrement : SpvOp_ = 233 ; pub const SpvOp__SpvOpAtomicIAdd : SpvOp_ = 234 ; pub const SpvOp__SpvOpAtomicISub : SpvOp_ = 235 ; pub const SpvOp__SpvOpAtomicSMin : SpvOp_ = 236 ; pub const SpvOp__SpvOpAtomicUMin : SpvOp_ = 237 ; pub const SpvOp__SpvOpAtomicSMax : SpvOp_ = 238 ; pub const SpvOp__SpvOpAtomicUMax : SpvOp_ = 239 ; pub const SpvOp__SpvOpAtomicAnd : SpvOp_ = 240 ; pub const SpvOp__SpvOpAtomicOr : SpvOp_ = 241 ; pub const SpvOp__SpvOpAtomicXor : SpvOp_ = 242 ; pub const SpvOp__SpvOpPhi : SpvOp_ = 245 ; pub const SpvOp__SpvOpLoopMerge : SpvOp_ = 246 ; pub const SpvOp__SpvOpSelectionMerge : SpvOp_ = 247 ; pub const SpvOp__SpvOpLabel : SpvOp_ = 248 ; pub const SpvOp__SpvOpBranch : SpvOp_ = 249 ; pub const SpvOp__SpvOpBranchConditional : SpvOp_ = 250 ; pub const SpvOp__SpvOpSwitch : SpvOp_ = 251 ; pub const SpvOp__SpvOpKill : SpvOp_ = 252 ; pub const SpvOp__SpvOpReturn : SpvOp_ = 253 ; pub const SpvOp__SpvOpReturnValue : SpvOp_ = 254 ; pub const SpvOp__SpvOpUnreachable : SpvOp_ = 255 ; pub const SpvOp__SpvOpLifetimeStart : SpvOp_ = 256 ; pub const SpvOp__SpvOpLifetimeStop : SpvOp_ = 257 ; pub const SpvOp__SpvOpGroupAsyncCopy : SpvOp_ = 259 ; pub const SpvOp__SpvOpGroupWaitEvents : SpvOp_ = 260 ; pub const SpvOp__SpvOpGroupAll : SpvOp_ = 261 ; pub const SpvOp__SpvOpGroupAny : SpvOp_ = 262 ; pub const SpvOp__SpvOpGroupBroadcast : SpvOp_ = 263 ; pub const SpvOp__SpvOpGroupIAdd : SpvOp_ = 264 ; pub const SpvOp__SpvOpGroupFAdd : SpvOp_ = 265 ; pub const SpvOp__SpvOpGroupFMin : SpvOp_ = 266 ; pub const SpvOp__SpvOpGroupUMin : SpvOp_ = 267 ; pub const SpvOp__SpvOpGroupSMin : SpvOp_ = 268 ; pub const SpvOp__SpvOpGroupFMax : SpvOp_ = 269 ; pub const SpvOp__SpvOpGroupUMax : SpvOp_ = 270 ; pub const SpvOp__SpvOpGroupSMax : SpvOp_ = 271 ; pub const SpvOp__SpvOpReadPipe : SpvOp_ = 274 ; pub const SpvOp__SpvOpWritePipe : SpvOp_ = 275 ; pub const SpvOp__SpvOpReservedReadPipe : SpvOp_ = 276 ; pub const SpvOp__SpvOpReservedWritePipe : SpvOp_ = 277 ; pub const SpvOp__SpvOpReserveReadPipePackets : SpvOp_ = 278 ; pub const SpvOp__SpvOpReserveWritePipePackets : SpvOp_ = 279 ; pub const SpvOp__SpvOpCommitReadPipe : SpvOp_ = 280 ; pub const SpvOp__SpvOpCommitWritePipe : SpvOp_ = 281 ; pub const SpvOp__SpvOpIsValidReserveId : SpvOp_ = 282 ; pub const SpvOp__SpvOpGetNumPipePackets : SpvOp_ = 283 ; pub const SpvOp__SpvOpGetMaxPipePackets : SpvOp_ = 284 ; pub const SpvOp__SpvOpGroupReserveReadPipePackets : SpvOp_ = 285 ; pub const SpvOp__SpvOpGroupReserveWritePipePackets : SpvOp_ = 286 ; pub const SpvOp__SpvOpGroupCommitReadPipe : SpvOp_ = 287 ; pub const SpvOp__SpvOpGroupCommitWritePipe : SpvOp_ = 288 ; pub const SpvOp__SpvOpEnqueueMarker : SpvOp_ = 291 ; pub const SpvOp__SpvOpEnqueueKernel : SpvOp_ = 292 ; pub const SpvOp__SpvOpGetKernelNDrangeSubGroupCount : SpvOp_ = 293 ; pub const SpvOp__SpvOpGetKernelNDrangeMaxSubGroupSize : SpvOp_ = 294 ; pub const SpvOp__SpvOpGetKernelWorkGroupSize : SpvOp_ = 295 ; pub const SpvOp__SpvOpGetKernelPreferredWorkGroupSizeMultiple : SpvOp_ = 296 ; pub const SpvOp__SpvOpRetainEvent : SpvOp_ = 297 ; pub const SpvOp__SpvOpReleaseEvent : SpvOp_ = 298 ; pub const SpvOp__SpvOpCreateUserEvent : SpvOp_ = 299 ; pub const SpvOp__SpvOpIsValidEvent : SpvOp_ = 300 ; pub const SpvOp__SpvOpSetUserEventStatus : SpvOp_ = 301 ; pub const SpvOp__SpvOpCaptureEventProfilingInfo : SpvOp_ = 302 ; pub const SpvOp__SpvOpGetDefaultQueue : SpvOp_ = 303 ; pub const SpvOp__SpvOpBuildNDRange : SpvOp_ = 304 ; pub const SpvOp__SpvOpImageSparseSampleImplicitLod : SpvOp_ = 305 ; pub const SpvOp__SpvOpImageSparseSampleExplicitLod : SpvOp_ = 306 ; pub const SpvOp__SpvOpImageSparseSampleDrefImplicitLod : SpvOp_ = 307 ; pub const SpvOp__SpvOpImageSparseSampleDrefExplicitLod : SpvOp_ = 308 ; pub const SpvOp__SpvOpImageSparseSampleProjImplicitLod : SpvOp_ = 309 ; pub const SpvOp__SpvOpImageSparseSampleProjExplicitLod : SpvOp_ = 310 ; pub const SpvOp__SpvOpImageSparseSampleProjDrefImplicitLod : SpvOp_ = 311 ; pub const SpvOp__SpvOpImageSparseSampleProjDrefExplicitLod : SpvOp_ = 312 ; pub const SpvOp__SpvOpImageSparseFetch : SpvOp_ = 313 ; pub const SpvOp__SpvOpImageSparseGather : SpvOp_ = 314 ; pub const SpvOp__SpvOpImageSparseDrefGather : SpvOp_ = 315 ; pub const SpvOp__SpvOpImageSparseTexelsResident : SpvOp_ = 316 ; pub const SpvOp__SpvOpNoLine : SpvOp_ = 317 ; pub const SpvOp__SpvOpAtomicFlagTestAndSet : SpvOp_ = 318 ; pub const SpvOp__SpvOpAtomicFlagClear : SpvOp_ = 319 ; pub const SpvOp__SpvOpImageSparseRead : SpvOp_ = 320 ; pub const SpvOp__SpvOpSizeOf : SpvOp_ = 321 ; pub const SpvOp__SpvOpTypePipeStorage : SpvOp_ = 322 ; pub const SpvOp__SpvOpConstantPipeStorage : SpvOp_ = 323 ; pub const SpvOp__SpvOpCreatePipeFromPipeStorage : SpvOp_ = 324 ; pub const SpvOp__SpvOpGetKernelLocalSizeForSubgroupCount : SpvOp_ = 325 ; pub const SpvOp__SpvOpGetKernelMaxNumSubgroups : SpvOp_ = 326 ; pub const SpvOp__SpvOpTypeNamedBarrier : SpvOp_ = 327 ; pub const SpvOp__SpvOpNamedBarrierInitialize : SpvOp_ = 328 ; pub const SpvOp__SpvOpMemoryNamedBarrier : SpvOp_ = 329 ; pub const SpvOp__SpvOpModuleProcessed : SpvOp_ = 330 ; pub const SpvOp__SpvOpExecutionModeId : SpvOp_ = 331 ; pub const SpvOp__SpvOpDecorateId : SpvOp_ = 332 ; pub const SpvOp__SpvOpGroupNonUniformElect : SpvOp_ = 333 ; pub const SpvOp__SpvOpGroupNonUniformAll : SpvOp_ = 334 ; pub const SpvOp__SpvOpGroupNonUniformAny : SpvOp_ = 335 ; pub const SpvOp__SpvOpGroupNonUniformAllEqual : SpvOp_ = 336 ; pub const SpvOp__SpvOpGroupNonUniformBroadcast : SpvOp_ = 337 ; pub const SpvOp__SpvOpGroupNonUniformBroadcastFirst : SpvOp_ = 338 ; pub const SpvOp__SpvOpGroupNonUniformBallot : SpvOp_ = 339 ; pub const SpvOp__SpvOpGroupNonUniformInverseBallot : SpvOp_ = 340 ; pub const SpvOp__SpvOpGroupNonUniformBallotBitExtract : SpvOp_ = 341 ; pub const SpvOp__SpvOpGroupNonUniformBallotBitCount : SpvOp_ = 342 ; pub const SpvOp__SpvOpGroupNonUniformBallotFindLSB : SpvOp_ = 343 ; pub const SpvOp__SpvOpGroupNonUniformBallotFindMSB : SpvOp_ = 344 ; pub const SpvOp__SpvOpGroupNonUniformShuffle : SpvOp_ = 345 ; pub const SpvOp__SpvOpGroupNonUniformShuffleXor : SpvOp_ = 346 ; pub const SpvOp__SpvOpGroupNonUniformShuffleUp : SpvOp_ = 347 ; pub const SpvOp__SpvOpGroupNonUniformShuffleDown : SpvOp_ = 348 ; pub const SpvOp__SpvOpGroupNonUniformIAdd : SpvOp_ = 349 ; pub const SpvOp__SpvOpGroupNonUniformFAdd : SpvOp_ = 350 ; pub const SpvOp__SpvOpGroupNonUniformIMul : SpvOp_ = 351 ; pub const SpvOp__SpvOpGroupNonUniformFMul : SpvOp_ = 352 ; pub const SpvOp__SpvOpGroupNonUniformSMin : SpvOp_ = 353 ; pub const SpvOp__SpvOpGroupNonUniformUMin : SpvOp_ = 354 ; pub const SpvOp__SpvOpGroupNonUniformFMin : SpvOp_ = 355 ; pub const SpvOp__SpvOpGroupNonUniformSMax : SpvOp_ = 356 ; pub const SpvOp__SpvOpGroupNonUniformUMax : SpvOp_ = 357 ; pub const SpvOp__SpvOpGroupNonUniformFMax : SpvOp_ = 358 ; pub const SpvOp__SpvOpGroupNonUniformBitwiseAnd : SpvOp_ = 359 ; pub const SpvOp__SpvOpGroupNonUniformBitwiseOr : SpvOp_ = 360 ; pub const SpvOp__SpvOpGroupNonUniformBitwiseXor : SpvOp_ = 361 ; pub const SpvOp__SpvOpGroupNonUniformLogicalAnd : SpvOp_ = 362 ; pub const SpvOp__SpvOpGroupNonUniformLogicalOr : SpvOp_ = 363 ; pub const SpvOp__SpvOpGroupNonUniformLogicalXor : SpvOp_ = 364 ; pub const SpvOp__SpvOpGroupNonUniformQuadBroadcast : SpvOp_ = 365 ; pub const SpvOp__SpvOpGroupNonUniformQuadSwap : SpvOp_ = 366 ; pub const SpvOp__SpvOpSubgroupBallotKHR : SpvOp_ = 4421 ; pub const SpvOp__SpvOpSubgroupFirstInvocationKHR : SpvOp_ = 4422 ; pub const SpvOp__SpvOpSubgroupAllKHR : SpvOp_ = 4428 ; pub const SpvOp__SpvOpSubgroupAnyKHR : SpvOp_ = 4429 ; pub const SpvOp__SpvOpSubgroupAllEqualKHR : SpvOp_ = 4430 ; pub const SpvOp__SpvOpSubgroupReadInvocationKHR : SpvOp_ = 4432 ; pub const SpvOp__SpvOpGroupIAddNonUniformAMD : SpvOp_ = 5000 ; pub const SpvOp__SpvOpGroupFAddNonUniformAMD : SpvOp_ = 5001 ; pub const SpvOp__SpvOpGroupFMinNonUniformAMD : SpvOp_ = 5002 ; pub const SpvOp__SpvOpGroupUMinNonUniformAMD : SpvOp_ = 5003 ; pub const SpvOp__SpvOpGroupSMinNonUniformAMD : SpvOp_ = 5004 ; pub const SpvOp__SpvOpGroupFMaxNonUniformAMD : SpvOp_ = 5005 ; pub const SpvOp__SpvOpGroupUMaxNonUniformAMD : SpvOp_ = 5006 ; pub const SpvOp__SpvOpGroupSMaxNonUniformAMD : SpvOp_ = 5007 ; pub const SpvOp__SpvOpFragmentMaskFetchAMD : SpvOp_ = 5011 ; pub const SpvOp__SpvOpFragmentFetchAMD : SpvOp_ = 5012 ; pub const SpvOp__SpvOpGroupNonUniformPartitionNV : SpvOp_ = 5296 ; pub const SpvOp__SpvOpSubgroupShuffleINTEL : SpvOp_ = 5571 ; pub const SpvOp__SpvOpSubgroupShuffleDownINTEL : SpvOp_ = 5572 ; pub const SpvOp__SpvOpSubgroupShuffleUpINTEL : SpvOp_ = 5573 ; pub const SpvOp__SpvOpSubgroupShuffleXorINTEL : SpvOp_ = 5574 ; pub const SpvOp__SpvOpSubgroupBlockReadINTEL : SpvOp_ = 5575 ; pub const SpvOp__SpvOpSubgroupBlockWriteINTEL : SpvOp_ = 5576 ; pub const SpvOp__SpvOpSubgroupImageBlockReadINTEL : SpvOp_ = 5577 ; pub const SpvOp__SpvOpSubgroupImageBlockWriteINTEL : SpvOp_ = 5578 ; pub const SpvOp__SpvOpDecorateStringGOOGLE : SpvOp_ = 5632 ; pub const SpvOp__SpvOpMemberDecorateStringGOOGLE : SpvOp_ = 5633 ; pub const SpvOp__SpvOpMax : SpvOp_ = 2147483647 ; pub type SpvOp_ = u32 ; pub use self :: SpvOp_ as SpvOp ; pub type int_least8_t = i8 ; pub type int_least16_t = i16 ; pub type int_least32_t = i32 ; pub type int_least64_t = i64 ; pub type uint_least8_t = u8 ; pub type uint_least16_t = u16 ; pub type uint_least32_t = u32 ; pub type uint_least64_t = u64 ; pub type int_fast8_t = i8 ; pub type int_fast16_t = i16 ; pub type int_fast32_t = i32 ; pub type int_fast64_t = i64 ; pub type uint_fast8_t = u8 ; pub type uint_fast16_t = u16 ; pub type uint_fast32_t = u32 ; pub type uint_fast64_t = u64 ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_longlong ; pub type __uint64_t = :: std :: os :: raw :: c_ulonglong ; pub type __darwin_intptr_t = :: std :: os :: raw :: c_long ; pub type __darwin_natural_t = :: std :: os :: raw :: c_uint ; pub type __darwin_ct_rune_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t { pub __mbstate8 : [ :: std :: os :: raw :: c_char ; 128usize ] , pub _mbstateL : :: std :: os :: raw :: c_longlong , _bindgen_union_align : [ u64 ; 16usize ] , } pub type __darwin_mbstate_t = __mbstate_t ; pub type __darwin_ptrdiff_t = :: std :: os :: raw :: c_long ; pub type __darwin_size_t = :: std :: os :: raw :: c_ulong ; pub type __darwin_va_list = __builtin_va_list ; pub type __darwin_wchar_t = :: std :: os :: raw :: c_int ; pub type __darwin_rune_t = __darwin_wchar_t ; pub type __darwin_wint_t = :: std :: os :: raw :: c_int ; pub type __darwin_clock_t = :: std :: os :: raw :: c_ulong ; pub type __darwin_socklen_t = __uint32_t ; pub type __darwin_ssize_t = :: std :: os :: raw :: c_long ; pub type __darwin_time_t = :: std :: os :: raw :: c_long ; pub type __darwin_blkcnt_t = __int64_t ; pub type __darwin_blksize_t = __int32_t ; pub type __darwin_dev_t = __int32_t ; pub type __darwin_fsblkcnt_t = :: std :: os :: raw :: c_uint ; pub type __darwin_fsfilcnt_t = :: std :: os :: raw :: c_uint ; pub type __darwin_gid_t = __uint32_t ; pub type __darwin_id_t = __uint32_t ; pub type __darwin_ino64_t = __uint64_t ; pub type __darwin_ino_t = __darwin_ino64_t ; pub type __darwin_mach_port_name_t = __darwin_natural_t ; pub type __darwin_mach_port_t = __darwin_mach_port_name_t ; pub type __darwin_mode_t = __uint16_t ; pub type __darwin_off_t = __int64_t ; pub type __darwin_pid_t = __int32_t ; pub type __darwin_sigset_t = __uint32_t ; pub type __darwin_suseconds_t = __int32_t ; pub type __darwin_uid_t = __uint32_t ; pub type __darwin_useconds_t = __uint32_t ; pub type __darwin_uuid_t = [ :: std :: os :: raw :: c_uchar ; 16usize ] ; pub type __darwin_uuid_string_t = [ :: std :: os :: raw :: c_char ; 37usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __darwin_pthread_handler_rec { pub __routine : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) > , pub __arg : * mut :: std :: os :: raw :: c_void , pub __next : * mut __darwin_pthread_handler_rec , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_attr_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 56usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_cond_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 40usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _opaque_pthread_condattr_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 8usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_mutex_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 56usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _opaque_pthread_mutexattr_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 8usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _opaque_pthread_once_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 8usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_rwlock_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 192usize ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _opaque_pthread_rwlockattr_t { pub __sig : :: std :: os :: raw :: c_long , pub __opaque : [ :: std :: os :: raw :: c_char ; 16usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _opaque_pthread_t { pub __sig : :: std :: os :: raw :: c_long , pub __cleanup_stack : * mut __darwin_pthread_handler_rec , pub __opaque : [ :: std :: os :: raw :: c_char ; 8176usize ] , } pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t ; pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t ; pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t ; pub type __darwin_pthread_key_t = :: std :: os :: raw :: c_ulong ; pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t ; pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t ; pub type __darwin_pthread_once_t = _opaque_pthread_once_t ; pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t ; pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t ; pub type __darwin_pthread_t = * mut _opaque_pthread_t ; pub type u_int8_t = :: std :: os :: raw :: c_uchar ; pub type u_int16_t = :: std :: os :: raw :: c_ushort ; pub type u_int32_t = :: std :: os :: raw :: c_uint ; pub type u_int64_t = :: std :: os :: raw :: c_ulonglong ; pub type register_t = i64 ; pub type user_addr_t = u_int64_t ; pub type user_size_t = u_int64_t ; pub type user_ssize_t = i64 ; pub type user_long_t = i64 ; pub type user_ulong_t = u_int64_t ; pub type user_time_t = i64 ; pub type user_off_t = i64 ; pub type syscall_arg_t = u_int64_t ; pub type intmax_t = :: std :: os :: raw :: c_long ; pub type uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __darwin_nl_item = :: std :: os :: raw :: c_int ; pub type __darwin_wctrans_t = :: std :: os :: raw :: c_int ; pub type __darwin_wctype_t = __uint32_t ; extern "C" { # [ link_name = "\u{1}_memchr" ] pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_memcmp" ] pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_memcpy" ] pub fn memcpy ( __dst : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_memmove" ] pub fn memmove ( __dst : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __len : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_memset" ] pub fn memset ( __b : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __len : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_strcat" ] pub fn strcat ( __s1 : * mut :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strchr" ] pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strcmp" ] pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strcoll" ] pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strcpy" ] pub fn strcpy ( __dst : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strcspn" ] pub fn strcspn ( __s : * const :: std :: os :: raw :: c_char , __charset : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strerror" ] pub fn strerror ( __errnum : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strlen" ] pub fn strlen ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strncat" ] pub fn strncat ( __s1 : * mut :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strncmp" ] pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strncpy" ] pub fn strncpy ( __dst : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strpbrk" ] pub fn strpbrk ( __s : * const :: std :: os :: raw :: c_char , __charset : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strrchr" ] pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strspn" ] pub fn strspn ( __s : * const :: std :: os :: raw :: c_char , __charset : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strstr" ] pub fn strstr ( __big : * const :: std :: os :: raw :: c_char , __little : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strtok" ] pub fn strtok ( __str : * mut :: std :: os :: raw :: c_char , __sep : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strxfrm" ] pub fn strxfrm ( __s1 : * mut :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : usize ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strtok_r" ] pub fn strtok_r ( __str : * mut :: std :: os :: raw :: c_char , __sep : * const :: std :: os :: raw :: c_char , __lasts : * mut * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strerror_r" ] pub fn strerror_r ( __errnum : :: std :: os :: raw :: c_int , __strerrbuf : * mut :: std :: os :: raw :: c_char , __buflen : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strdup" ] pub fn strdup ( __s1 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_memccpy" ] pub fn memccpy ( __dst : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_stpcpy" ] pub fn stpcpy ( __dst : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_stpncpy" ] pub fn stpncpy ( __dst : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strndup" ] pub fn strndup ( __s1 : * const :: std :: os :: raw :: c_char , __n : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strnlen" ] pub fn strnlen ( __s1 : * const :: std :: os :: raw :: c_char , __n : usize ) -> usize ; } extern "C" { # [ link_name = "\u{1}_strsignal" ] pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } pub type rsize_t = __darwin_size_t ; pub type errno_t = :: std :: os :: raw :: c_int ; extern "C" { # [ link_name = "\u{1}_memset_s" ] pub fn memset_s ( __s : * mut :: std :: os :: raw :: c_void , __smax : rsize_t , __c : :: std :: os :: raw :: c_int , __n : rsize_t ) -> errno_t ; } extern "C" { # [ link_name = "\u{1}_memmem" ] pub fn memmem ( __big : * const :: std :: os :: raw :: c_void , __big_len : usize , __little : * const :: std :: os :: raw :: c_void , __little_len : usize ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { # [ link_name = "\u{1}_memset_pattern4" ] pub fn memset_pattern4 ( __b : * mut :: std :: os :: raw :: c_void , __pattern4 : * const :: std :: os :: raw :: c_void , __len : usize ) ; } extern "C" { # [ link_name = "\u{1}_memset_pattern8" ] pub fn memset_pattern8 ( __b : * mut :: std :: os :: raw :: c_void , __pattern8 : * const :: std :: os :: raw :: c_void , __len : usize ) ; } extern "C" { # [ link_name = "\u{1}_memset_pattern16" ] pub fn memset_pattern16 ( __b : * mut :: std :: os :: raw :: c_void , __pattern16 : * const :: std :: os :: raw :: c_void , __len : usize ) ; } extern "C" { # [ link_name = "\u{1}_strcasestr" ] pub fn strcasestr ( __big : * const :: std :: os :: raw :: c_char , __little : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strnstr" ] pub fn strnstr ( __big : * const :: std :: os :: raw :: c_char , __little : * const :: std :: os :: raw :: c_char , __len : usize ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_strlcat" ] pub fn strlcat ( __dst : * mut :: std :: os :: raw :: c_char , __source : * const :: std :: os :: raw :: c_char , __size : usize ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strlcpy" ] pub fn strlcpy ( __dst : * mut :: std :: os :: raw :: c_char , __source : * const :: std :: os :: raw :: c_char , __size : usize ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { # [ link_name = "\u{1}_strmode" ] pub fn strmode ( __mode : :: std :: os :: raw :: c_int , __bp : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { # [ link_name = "\u{1}_strsep" ] pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_swab" ] pub fn swab ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : isize ) ; } extern "C" { # [ link_name = "\u{1}_timingsafe_bcmp" ] pub fn timingsafe_bcmp ( __b1 : * const :: std :: os :: raw :: c_void , __b2 : * const :: std :: os :: raw :: c_void , __len : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_bcmp" ] pub fn bcmp ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void , arg3 : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_bcopy" ] pub fn bcopy ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : usize ) ; } extern "C" { # [ link_name = "\u{1}_bzero" ] pub fn bzero ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : usize ) ; } extern "C" { # [ link_name = "\u{1}_index" ] pub fn index ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_rindex" ] pub fn rindex ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}_ffs" ] pub fn ffs ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strcasecmp" ] pub fn strcasecmp ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_strncasecmp" ] pub fn strncasecmp ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char , arg3 : usize ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_ffsl" ] pub fn ffsl ( arg1 : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_ffsll" ] pub fn ffsll ( arg1 : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_fls" ] pub fn fls ( arg1 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_flsl" ] pub fn flsl ( arg1 : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}_flsll" ] pub fn flsll ( arg1 : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } pub const SpvReflectResult_SPV_REFLECT_RESULT_SUCCESS : SpvReflectResult = 0 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_NOT_READY : SpvReflectResult = 1 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_PARSE_FAILED : SpvReflectResult = 2 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_ALLOC_FAILED : SpvReflectResult = 3 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_RANGE_EXCEEDED : SpvReflectResult = 4 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_NULL_POINTER : SpvReflectResult = 5 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_INTERNAL_ERROR : SpvReflectResult = 6 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_COUNT_MISMATCH : SpvReflectResult = 7 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_ELEMENT_NOT_FOUND : SpvReflectResult = 8 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_CODE_SIZE : SpvReflectResult = 9 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_MAGIC_NUMBER : SpvReflectResult = 10 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_UNEXPECTED_EOF : SpvReflectResult = 11 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_ID_REFERENCE : SpvReflectResult = 12 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_SET_NUMBER_OVERFLOW : SpvReflectResult = 13 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_STORAGE_CLASS : SpvReflectResult = 14 ; pub const SpvReflectResult_SPV_REFLECT_RESULT_ERROR_SPIRV_RECURSION : SpvReflectResult = 15 ;
/// @enum SpvReflectResult
pub type SpvReflectResult = u32 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_UNDEFINED : SpvReflectTypeFlagBits = 0 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_VOID : SpvReflectTypeFlagBits = 1 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_BOOL : SpvReflectTypeFlagBits = 2 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_INT : SpvReflectTypeFlagBits = 4 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_FLOAT : SpvReflectTypeFlagBits = 8 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_VECTOR : SpvReflectTypeFlagBits = 256 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_MATRIX : SpvReflectTypeFlagBits = 512 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_IMAGE : SpvReflectTypeFlagBits = 65536 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_SAMPLER : SpvReflectTypeFlagBits = 131072 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_SAMPLED_IMAGE : SpvReflectTypeFlagBits = 262144 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_BLOCK : SpvReflectTypeFlagBits = 524288 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_EXTERNAL_MASK : SpvReflectTypeFlagBits = 983040 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_STRUCT : SpvReflectTypeFlagBits = 268435456 ; pub const SpvReflectTypeFlagBits_SPV_REFLECT_TYPE_FLAG_ARRAY : SpvReflectTypeFlagBits = 536870912 ;
/// @enum SpvReflectTypeFlagBits
pub type SpvReflectTypeFlagBits = u32 ; pub type SpvReflectTypeFlags = u32 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NONE : SpvReflectDecorationFlagBits = 0 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BLOCK : SpvReflectDecorationFlagBits = 1 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BUFFER_BLOCK : SpvReflectDecorationFlagBits = 2 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_ROW_MAJOR : SpvReflectDecorationFlagBits = 4 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_COLUMN_MAJOR : SpvReflectDecorationFlagBits = 8 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_BUILT_IN : SpvReflectDecorationFlagBits = 16 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NOPERSPECTIVE : SpvReflectDecorationFlagBits = 32 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_FLAT : SpvReflectDecorationFlagBits = 64 ; pub const SpvReflectDecorationFlagBits_SPV_REFLECT_DECORATION_NON_WRITABLE : SpvReflectDecorationFlagBits = 128 ;
/// @enum SpvReflectDecorationBits
pub type SpvReflectDecorationFlagBits = u32 ; pub type SpvReflectDecorationFlags = u32 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_UNDEFINED : SpvReflectResourceType = 0 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_SAMPLER : SpvReflectResourceType = 1 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_CBV : SpvReflectResourceType = 2 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_SRV : SpvReflectResourceType = 4 ; pub const SpvReflectResourceType_SPV_REFLECT_RESOURCE_FLAG_UAV : SpvReflectResourceType = 8 ;
/// @enum SpvReflectResourceType
pub type SpvReflectResourceType = u32 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_UNDEFINED : SpvReflectFormat = 0 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_UINT : SpvReflectFormat = 98 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_SINT : SpvReflectFormat = 99 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32_SFLOAT : SpvReflectFormat = 100 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_UINT : SpvReflectFormat = 101 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_SINT : SpvReflectFormat = 102 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32_SFLOAT : SpvReflectFormat = 103 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_UINT : SpvReflectFormat = 104 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_SINT : SpvReflectFormat = 105 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32_SFLOAT : SpvReflectFormat = 106 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_UINT : SpvReflectFormat = 107 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_SINT : SpvReflectFormat = 108 ; pub const SpvReflectFormat_SPV_REFLECT_FORMAT_R32G32B32A32_SFLOAT : SpvReflectFormat = 109 ;
/// @enum SpvReflectFormat
pub type SpvReflectFormat = u32 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_SAMPLER : SpvReflectDescriptorType = 0 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER : SpvReflectDescriptorType = 1 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_SAMPLED_IMAGE : SpvReflectDescriptorType = 2 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_IMAGE : SpvReflectDescriptorType = 3 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER : SpvReflectDescriptorType = 4 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER : SpvReflectDescriptorType = 5 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_BUFFER : SpvReflectDescriptorType = 6 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_BUFFER : SpvReflectDescriptorType = 7 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC : SpvReflectDescriptorType = 8 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC : SpvReflectDescriptorType = 9 ; pub const SpvReflectDescriptorType_SPV_REFLECT_DESCRIPTOR_TYPE_INPUT_ATTACHMENT : SpvReflectDescriptorType = 10 ;
/// @enum SpvReflectDescriptorType
pub type SpvReflectDescriptorType = u32 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_VERTEX_BIT : SpvReflectShaderStageFlagBits = 1 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_TESSELLATION_CONTROL_BIT : SpvReflectShaderStageFlagBits = 2 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_TESSELLATION_EVALUATION_BIT : SpvReflectShaderStageFlagBits = 4 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_GEOMETRY_BIT : SpvReflectShaderStageFlagBits = 8 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_FRAGMENT_BIT : SpvReflectShaderStageFlagBits = 16 ; pub const SpvReflectShaderStageFlagBits_SPV_REFLECT_SHADER_STAGE_COMPUTE_BIT : SpvReflectShaderStageFlagBits = 32 ;
/// @enum SpvReflectShaderStageFlagBits
pub type SpvReflectShaderStageFlagBits = u32 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_LLVM_SPIRV_TRANSLATOR : SpvReflectGenerator = 6 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_SPIRV_TOOLS_ASSEMBLER : SpvReflectGenerator = 7 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_GLSLANG_REFERENCE_FRONT_END : SpvReflectGenerator = 8 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_SHADERC_OVER_GLSLANG : SpvReflectGenerator = 13 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_SPIREGG : SpvReflectGenerator = 14 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_GOOGLE_RSPIRV : SpvReflectGenerator = 15 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_X_LEGEND_MESA_MESAIR_SPIRV_TRANSLATOR : SpvReflectGenerator = 16 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_KHRONOS_SPIRV_TOOLS_LINKER : SpvReflectGenerator = 17 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_WINE_VKD3D_SHADER_COMPILER : SpvReflectGenerator = 18 ; pub const SpvReflectGenerator_SPV_REFLECT_GENERATOR_CLAY_CLAY_SHADER_COMPILER : SpvReflectGenerator = 19 ;
/// @enum SpvReflectGenerator
pub type SpvReflectGenerator = u32 ; pub const SPV_REFLECT_MAX_ARRAY_DIMS : _bindgen_ty_1 = 32 ; pub const SPV_REFLECT_MAX_DESCRIPTOR_SETS : _bindgen_ty_1 = 64 ; pub type _bindgen_ty_1 = u32 ; pub const SPV_REFLECT_BINDING_NUMBER_DONT_CHANGE : _bindgen_ty_2 = -1 ; pub const SPV_REFLECT_SET_NUMBER_DONT_CHANGE : _bindgen_ty_2 = -1 ; pub type _bindgen_ty_2 = i32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectNumericTraits { pub scalar : SpvReflectNumericTraits_Scalar , pub vector : SpvReflectNumericTraits_Vector , pub matrix : SpvReflectNumericTraits_Matrix , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectNumericTraits_Scalar { pub width : u32 , pub signedness : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectNumericTraits_Vector { pub component_count : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectNumericTraits_Matrix { pub column_count : u32 , pub row_count : u32 , pub stride : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectImageTraits { pub dim : SpvDim , pub depth : u32 , pub arrayed : u32 , pub ms : u32 , pub sampled : u32 , pub image_format : SpvImageFormat , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectArrayTraits { pub dims_count : u32 , pub dims : [ u32 ; 32usize ] , pub stride : u32 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectBindingArrayTraits { pub dims_count : u32 , pub dims : [ u32 ; 32usize ] , }
/// @struct SpvReflectTypeDescription
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectTypeDescription { pub id : u32 , pub op : SpvOp , pub type_name : * const :: std :: os :: raw :: c_char , pub struct_member_name : * const :: std :: os :: raw :: c_char , pub storage_class : SpvStorageClass , pub type_flags : SpvReflectTypeFlags , pub decoration_flags : SpvReflectDecorationFlags , pub traits : SpvReflectTypeDescription_Traits , pub member_count : u32 , pub members : * mut SpvReflectTypeDescription , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectTypeDescription_Traits { pub numeric : SpvReflectNumericTraits , pub image : SpvReflectImageTraits , pub array : SpvReflectArrayTraits , }
/// @struct SpvReflectInterfaceVariable
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectInterfaceVariable { pub spirv_id : u32 , pub name : * const :: std :: os :: raw :: c_char , pub location : u32 , pub storage_class : SpvStorageClass , pub semantic : * const :: std :: os :: raw :: c_char , pub decoration_flags : SpvReflectDecorationFlags , pub built_in : SpvBuiltIn , pub numeric : SpvReflectNumericTraits , pub array : SpvReflectArrayTraits , pub member_count : u32 , pub members : * mut SpvReflectInterfaceVariable , pub format : SpvReflectFormat , pub type_description : * mut SpvReflectTypeDescription , pub word_offset : SpvReflectInterfaceVariable__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectInterfaceVariable__bindgen_ty_1 { pub location : u32 , }
/// @struct SpvReflectBlockVariable
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectBlockVariable { pub spirv_id : u32 , pub name : * const :: std :: os :: raw :: c_char , pub offset : u32 , pub absolute_offset : u32 , pub size : u32 , pub padded_size : u32 , pub decoration_flags : SpvReflectDecorationFlags , pub numeric : SpvReflectNumericTraits , pub array : SpvReflectArrayTraits , pub member_count : u32 , pub members : * mut SpvReflectBlockVariable , pub type_description : * mut SpvReflectTypeDescription , }
/// @struct SpvReflectDescriptorBinding
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectDescriptorBinding { pub spirv_id : u32 , pub name : * const :: std :: os :: raw :: c_char , pub binding : u32 , pub input_attachment_index : u32 , pub set : u32 , pub descriptor_type : SpvReflectDescriptorType , pub resource_type : SpvReflectResourceType , pub image : SpvReflectImageTraits , pub block : SpvReflectBlockVariable , pub array : SpvReflectBindingArrayTraits , pub count : u32 , pub uav_counter_id : u32 , pub uav_counter_binding : * mut SpvReflectDescriptorBinding , pub type_description : * mut SpvReflectTypeDescription , pub word_offset : SpvReflectDescriptorBinding__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectDescriptorBinding__bindgen_ty_1 { pub binding : u32 , pub set : u32 , }
/// @struct SpvReflectDescriptorSet
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectDescriptorSet { pub set : u32 , pub binding_count : u32 , pub bindings : * mut * mut SpvReflectDescriptorBinding , }
/// @struct SpvReflectEntryPoint
///
# [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectEntryPoint { pub name : * const :: std :: os :: raw :: c_char , pub id : u32 , pub spirv_execution_model : SpvExecutionModel , pub shader_stage : SpvReflectShaderStageFlagBits , pub input_variable_count : u32 , pub input_variables : * mut SpvReflectInterfaceVariable , pub output_variable_count : u32 , pub output_variables : * mut SpvReflectInterfaceVariable , pub descriptor_set_count : u32 , pub descriptor_sets : * mut SpvReflectDescriptorSet , pub used_uniform_count : u32 , pub used_uniforms : * mut u32 , pub used_push_constant_count : u32 , pub used_push_constants : * mut u32 , }
/// @struct SpvReflectShaderModule
# [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct SpvReflectShaderModule { pub generator : SpvReflectGenerator , pub entry_point_name : * const :: std :: os :: raw :: c_char , pub entry_point_id : u32 , pub entry_point_count : u32 , pub entry_points : * mut SpvReflectEntryPoint , pub source_language : SpvSourceLanguage , pub source_language_version : u32 , pub source_file : * const :: std :: os :: raw :: c_char , pub source_source : * const :: std :: os :: raw :: c_char , pub spirv_execution_model : SpvExecutionModel , pub shader_stage : SpvReflectShaderStageFlagBits , pub descriptor_binding_count : u32 , pub descriptor_bindings : * mut SpvReflectDescriptorBinding , pub descriptor_set_count : u32 , pub descriptor_sets : [ SpvReflectDescriptorSet ; 64usize ] , pub input_variable_count : u32 , pub input_variables : * mut SpvReflectInterfaceVariable , pub output_variable_count : u32 , pub output_variables : * mut SpvReflectInterfaceVariable , pub push_constant_block_count : u32 , pub push_constant_blocks : * mut SpvReflectBlockVariable , pub _internal : * mut SpvReflectShaderModule_Internal , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct SpvReflectShaderModule_Internal { pub spirv_size : usize , pub spirv_code : * mut u32 , pub spirv_word_count : u32 , pub type_description_count : usize , pub type_descriptions : * mut SpvReflectTypeDescription , } extern "C" {
/// @fn spvReflectCreateShaderModule
///
///@param size Size in bytes of SPIR-V code.
///@param p_code Pointer to SPIR-V code.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return SPV_REFLECT_RESULT_SUCCESS on success.
# [ link_name = "\u{1}_spvReflectCreateShaderModule" ] pub fn spvReflectCreateShaderModule ( size : usize , p_code : * const :: std :: os :: raw :: c_void , p_module : * mut SpvReflectShaderModule ) -> SpvReflectResult ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetShaderModule" ] pub fn spvReflectGetShaderModule ( size : usize , p_code : * const :: std :: os :: raw :: c_void , p_module : * mut SpvReflectShaderModule ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectDestroyShaderModule
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
# [ link_name = "\u{1}_spvReflectDestroyShaderModule" ] pub fn spvReflectDestroyShaderModule ( p_module : * mut SpvReflectShaderModule ) ; } extern "C" {
/// @fn spvReflectGetCodeSize
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return Returns the size of the SPIR-V in bytes
# [ link_name = "\u{1}_spvReflectGetCodeSize" ] pub fn spvReflectGetCodeSize ( p_module : * const SpvReflectShaderModule ) -> u32 ; } extern "C" {
/// @fn spvReflectGetCode
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@return Returns a const pointer to the compiled SPIR-V bytecode.
# [ link_name = "\u{1}_spvReflectGetCode" ] pub fn spvReflectGetCode ( p_module : * const SpvReflectShaderModule ) -> * const u32 ; } extern "C" {
/// @fn spvReflectGetEntryPoint
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point Name of the requested entry point.
///@return Returns a const pointer to the requested entry point,
///or NULL if it's not found.
# [ link_name = "\u{1}_spvReflectGetEntryPoint" ] pub fn spvReflectGetEntryPoint ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char ) -> * const SpvReflectEntryPoint ; } extern "C" {
/// @fn spvReflectEnumerateDescriptorBindings
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_bindings is NULL, the module's descriptor binding
///count (across all descriptor sets) will be stored here.
///If pp_bindings is not NULL, *p_count must contain the
///module's descriptor binding count.
///@param pp_bindings If NULL, the module's total descriptor binding count
///will be written to *p_count.
///If non-NULL, pp_bindings must point to an array with
///p_count entries, where pointers to the module's
///descriptor bindings will be written. The caller must not
///free the binding pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateDescriptorBindings" ] pub fn spvReflectEnumerateDescriptorBindings ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_bindings : * mut * mut SpvReflectDescriptorBinding ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointDescriptorBindings
///@brief Creates a listing of all descriptor bindings that are used in the
///static call tree of the given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the descriptor bindings for.
///@param p_count If pp_bindings is NULL, the entry point's descriptor binding
///count (across all descriptor sets) will be stored here.
///If pp_bindings is not NULL, *p_count must contain the
///entry points's descriptor binding count.
///@param pp_bindings If NULL, the entry point's total descriptor binding count
///will be written to *p_count.
///If non-NULL, pp_bindings must point to an array with
///p_count entries, where pointers to the entry point's
///descriptor bindings will be written. The caller must not
///free the binding pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointDescriptorBindings" ] pub fn spvReflectEnumerateEntryPointDescriptorBindings ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_bindings : * mut * mut SpvReflectDescriptorBinding ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateDescriptorSets
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_sets is NULL, the module's descriptor set
///count will be stored here.
///If pp_sets is not NULL, *p_count must contain the
///module's descriptor set count.
///@param pp_sets If NULL, the module's total descriptor set count
///will be written to *p_count.
///If non-NULL, pp_sets must point to an array with
///p_count entries, where pointers to the module's
///descriptor sets will be written. The caller must not
///free the descriptor set pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateDescriptorSets" ] pub fn spvReflectEnumerateDescriptorSets ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_sets : * mut * mut SpvReflectDescriptorSet ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointDescriptorSets
///@brief Creates a listing of all descriptor sets and their bindings that are
///used in the static call tree of a given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the descriptor bindings for.
///@param p_count If pp_sets is NULL, the module's descriptor set
///count will be stored here.
///If pp_sets is not NULL, *p_count must contain the
///module's descriptor set count.
///@param pp_sets If NULL, the module's total descriptor set count
///will be written to *p_count.
///If non-NULL, pp_sets must point to an array with
///p_count entries, where pointers to the module's
///descriptor sets will be written. The caller must not
///free the descriptor set pointers written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointDescriptorSets" ] pub fn spvReflectEnumerateEntryPointDescriptorSets ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_sets : * mut * mut SpvReflectDescriptorSet ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateInputVariables
///@brief If the module contains multiple entry points, this will only get
///the input variables for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the module's input variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the module's input variable count.
///@param pp_variables If NULL, the module's input variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the module's
///input variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateInputVariables" ] pub fn spvReflectEnumerateInputVariables ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_variables : * mut * mut SpvReflectInterfaceVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointInputVariables
///@brief Enumerate the input variables for a given entry point.
///@param entry_point The name of the entry point to get the input variables for.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the entry point's input variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the entry point's input variable count.
///@param pp_variables If NULL, the entry point's input variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the entry point's
///input variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointInputVariables" ] pub fn spvReflectEnumerateEntryPointInputVariables ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_variables : * mut * mut SpvReflectInterfaceVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateOutputVariables
///@brief Note: If the module contains multiple entry points, this will only get
///the output variables for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_variables is NULL, the module's output variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the module's output variable count.
///@param pp_variables If NULL, the module's output variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the module's
///output variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateOutputVariables" ] pub fn spvReflectEnumerateOutputVariables ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_variables : * mut * mut SpvReflectInterfaceVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointOutputVariables
///@brief Enumerate the output variables for a given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The name of the entry point to get the output variables for.
///@param p_count If pp_variables is NULL, the entry point's output variable
///count will be stored here.
///If pp_variables is not NULL, *p_count must contain
///the entry point's output variable count.
///@param pp_variables If NULL, the entry point's output variable count will be
///written to *p_count.
///If non-NULL, pp_variables must point to an array with
///p_count entries, where pointers to the entry point's
///output variables will be written. The caller must not
///free the interface variables written to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointOutputVariables" ] pub fn spvReflectEnumerateEntryPointOutputVariables ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_variables : * mut * mut SpvReflectInterfaceVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumeratePushConstantBlocks
///@brief Note: If the module contains multiple entry points, this will only get
///the push constant blocks for the first one.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_blocks is NULL, the module's push constant
///block count will be stored here.
///If pp_blocks is not NULL, *p_count must
///contain the module's push constant block count.
///@param pp_blocks If NULL, the module's push constant block count
///will be written to *p_count.
///If non-NULL, pp_blocks must point to an
///array with *p_count entries, where pointers to
///the module's push constant blocks will be written.
///The caller must not free the block variables written
///to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumeratePushConstantBlocks" ] pub fn spvReflectEnumeratePushConstantBlocks ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_blocks : * mut * mut SpvReflectBlockVariable ) -> SpvReflectResult ; } extern "C" { # [ link_name = "\u{1}_spvReflectEnumeratePushConstants" ] pub fn spvReflectEnumeratePushConstants ( p_module : * const SpvReflectShaderModule , p_count : * mut u32 , pp_blocks : * mut * mut SpvReflectBlockVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectEnumerateEntryPointPushConstantBlocks
///@brief Enumerate the push constant blocks used in the static call tree of a
///given entry point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_count If pp_blocks is NULL, the entry point's push constant
///block count will be stored here.
///If pp_blocks is not NULL, *p_count must
///contain the entry point's push constant block count.
///@param pp_blocks If NULL, the entry point's push constant block count
///will be written to *p_count.
///If non-NULL, pp_blocks must point to an
///array with *p_count entries, where pointers to
///the entry point's push constant blocks will be written.
///The caller must not free the block variables written
///to this array.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of the
///failure.
# [ link_name = "\u{1}_spvReflectEnumerateEntryPointPushConstantBlocks" ] pub fn spvReflectEnumerateEntryPointPushConstantBlocks ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_count : * mut u32 , pp_blocks : * mut * mut SpvReflectBlockVariable ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectGetDescriptorBinding
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param binding_number The "binding" value of the requested descriptor
///binding.
///@param set_number The "set" value of the requested descriptor binding.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the module contains a descriptor binding that
///matches the provided [binding_number, set_number]
///values, a pointer to that binding is returned. The
///caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
///@note If the module contains multiple desriptor bindings
///with the same set and binding numbers, there are
///no guarantees about which binding will be returned.
# [ link_name = "\u{1}_spvReflectGetDescriptorBinding" ] pub fn spvReflectGetDescriptorBinding ( p_module : * const SpvReflectShaderModule , binding_number : u32 , set_number : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectDescriptorBinding ; } extern "C" {
/// @fn spvReflectGetEntryPointDescriptorBinding
///@brief Get the descriptor binding with the given binding number and set
///number that is used in the static call tree of a certain entry
///point.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the binding from.
///@param binding_number The "binding" value of the requested descriptor
///binding.
///@param set_number The "set" value of the requested descriptor binding.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the entry point contains a descriptor binding that
///matches the provided [binding_number, set_number]
///values, a pointer to that binding is returned. The
///caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
///@note If the entry point contains multiple desriptor bindings
///with the same set and binding numbers, there are
///no guarantees about which binding will be returned.
# [ link_name = "\u{1}_spvReflectGetEntryPointDescriptorBinding" ] pub fn spvReflectGetEntryPointDescriptorBinding ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , binding_number : u32 , set_number : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectDescriptorBinding ; } extern "C" {
/// @fn spvReflectGetDescriptorSet
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param set_number The "set" value of the requested descriptor set.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the module contains a descriptor set with the
///provided set_number, a pointer to that set is
///returned. The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
# [ link_name = "\u{1}_spvReflectGetDescriptorSet" ] pub fn spvReflectGetDescriptorSet ( p_module : * const SpvReflectShaderModule , set_number : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectDescriptorSet ; } extern "C" {
/// @fn spvReflectGetEntryPointDescriptorSet
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the descriptor set from.
///@param set_number The "set" value of the requested descriptor set.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the entry point contains a descriptor set with the
///provided set_number, a pointer to that set is
///returned. The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
# [ link_name = "\u{1}_spvReflectGetEntryPointDescriptorSet" ] pub fn spvReflectGetEntryPointDescriptorSet ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , set_number : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectDescriptorSet ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetInputVariableByLocation" ] pub fn spvReflectGetInputVariableByLocation ( p_module : * const SpvReflectShaderModule , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetInputVariable" ] pub fn spvReflectGetInputVariable ( p_module : * const SpvReflectShaderModule , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetEntryPointInputVariableByLocation" ] pub fn spvReflectGetEntryPointInputVariableByLocation ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetInputVariableBySemantic" ] pub fn spvReflectGetInputVariableBySemantic ( p_module : * const SpvReflectShaderModule , semantic : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetEntryPointInputVariableBySemantic" ] pub fn spvReflectGetEntryPointInputVariableBySemantic ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , semantic : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetOutputVariableByLocation" ] pub fn spvReflectGetOutputVariableByLocation ( p_module : * const SpvReflectShaderModule , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetOutputVariable" ] pub fn spvReflectGetOutputVariable ( p_module : * const SpvReflectShaderModule , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetEntryPointOutputVariableByLocation" ] pub fn spvReflectGetEntryPointOutputVariableByLocation ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , location : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetOutputVariableBySemantic" ] pub fn spvReflectGetOutputVariableBySemantic ( p_module : * const SpvReflectShaderModule , semantic : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetEntryPointOutputVariableBySemantic" ] pub fn spvReflectGetEntryPointOutputVariableBySemantic ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , semantic : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectInterfaceVariable ; } extern "C" {
/// @fn spvReflectGetPushConstantBlock
///
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param index The index of the desired block within the module's
///array of push constant blocks.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the provided index is within range, a pointer to
///the corresponding push constant block is returned.
///The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
# [ link_name = "\u{1}_spvReflectGetPushConstantBlock" ] pub fn spvReflectGetPushConstantBlock ( p_module : * const SpvReflectShaderModule , index : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectBlockVariable ; } extern "C" { # [ link_name = "\u{1}_spvReflectGetPushConstant" ] pub fn spvReflectGetPushConstant ( p_module : * const SpvReflectShaderModule , index : u32 , p_result : * mut SpvReflectResult ) -> * const SpvReflectBlockVariable ; } extern "C" {
/// @fn spvReflectGetEntryPointPushConstantBlock
///@brief Get the push constant block corresponding to the given entry point.
///As by the Vulkan specification there can be no more than one push
///constant block used by a given entry point, so if there is one it will
///be returned, otherwise NULL will be returned.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param entry_point The entry point to get the push constant block from.
///@param p_result If successful, SPV_REFLECT_RESULT_SUCCESS will be
///written to *p_result. Otherwise, a error code
///indicating the cause of the failure will be stored
///here.
///@return If the provided index is within range, a pointer to
///the corresponding push constant block is returned.
///The caller must not free this pointer.
///If no match can be found, or if an unrelated error
///occurs, the return value will be NULL. Detailed
///error results are written to *pResult.
# [ link_name = "\u{1}_spvReflectGetEntryPointPushConstantBlock" ] pub fn spvReflectGetEntryPointPushConstantBlock ( p_module : * const SpvReflectShaderModule , entry_point : * const :: std :: os :: raw :: c_char , p_result : * mut SpvReflectResult ) -> * const SpvReflectBlockVariable ; } extern "C" {
/// @fn spvReflectChangeDescriptorBindingNumbers
///@brief Assign new set and/or binding numbers to a descriptor binding.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode(). If the binding is used in multiple
///entry points within the module, it will be changed in all of them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_binding Pointer to the descriptor binding to modify.
///@param new_binding_number The new binding number to assign to the
///provided descriptor binding.
///To leave the binding number unchanged, pass
///SPV_REFLECT_BINDING_NUMBER_DONT_CHANGE.
///@param new_set_number The new set number to assign to the
///provided descriptor binding. Successfully changing
///a descriptor binding's set number invalidates all
///existing SpvReflectDescriptorBinding and
///SpvReflectDescriptorSet pointers from this module.
///To leave the set number unchanged, pass
///SPV_REFLECT_SET_NUMBER_DONT_CHANGE.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
# [ link_name = "\u{1}_spvReflectChangeDescriptorBindingNumbers" ] pub fn spvReflectChangeDescriptorBindingNumbers ( p_module : * mut SpvReflectShaderModule , p_binding : * const SpvReflectDescriptorBinding , new_binding_number : u32 , new_set_number : u32 ) -> SpvReflectResult ; } extern "C" { # [ link_name = "\u{1}_spvReflectChangeDescriptorBindingNumber" ] pub fn spvReflectChangeDescriptorBindingNumber ( p_module : * mut SpvReflectShaderModule , p_descriptor_binding : * const SpvReflectDescriptorBinding , new_binding_number : u32 , optional_new_set_number : u32 ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectChangeDescriptorSetNumber
///@brief Assign a new set number to an entire descriptor set (including
///all descriptor bindings in that set).
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode(). If the descriptor set is used in
///multiple entry points within the module, it will be modified in all
///of them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_set Pointer to the descriptor binding to modify.
///@param new_set_number The new set number to assign to the
///provided descriptor set, and all its descriptor
///bindings. Successfully changing a descriptor
///binding's set number invalidates all existing
///SpvReflectDescriptorBinding and
///SpvReflectDescriptorSet pointers from this module.
///To leave the set number unchanged, pass
///SPV_REFLECT_SET_NUMBER_DONT_CHANGE.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
# [ link_name = "\u{1}_spvReflectChangeDescriptorSetNumber" ] pub fn spvReflectChangeDescriptorSetNumber ( p_module : * mut SpvReflectShaderModule , p_set : * const SpvReflectDescriptorSet , new_set_number : u32 ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectChangeInputVariableLocation
///@brief Assign a new location to an input interface variable.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode().
///It is the caller's responsibility to avoid assigning the same
///location to multiple input variables. If the input variable is used
///by multiple entry points in the module, it will be changed in all of
///them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_input_variable Pointer to the input variable to update.
///@param new_location The new location to assign to p_input_variable.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
# [ link_name = "\u{1}_spvReflectChangeInputVariableLocation" ] pub fn spvReflectChangeInputVariableLocation ( p_module : * mut SpvReflectShaderModule , p_input_variable : * const SpvReflectInterfaceVariable , new_location : u32 ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectChangeOutputVariableLocation
///@brief Assign a new location to an output interface variable.
///In addition to updating the reflection data, this function modifies
///the underlying SPIR-V bytecode. The updated code can be retrieved
///with spvReflectGetCode().
///It is the caller's responsibility to avoid assigning the same
///location to multiple output variables. If the output variable is used
///by multiple entry points in the module, it will be changed in all of
///them.
///@param p_module Pointer to an instance of SpvReflectShaderModule.
///@param p_output_variable Pointer to the output variable to update.
///@param new_location The new location to assign to p_output_variable.
///@return If successful, returns SPV_REFLECT_RESULT_SUCCESS.
///Otherwise, the error code indicates the cause of
///the failure.
# [ link_name = "\u{1}_spvReflectChangeOutputVariableLocation" ] pub fn spvReflectChangeOutputVariableLocation ( p_module : * mut SpvReflectShaderModule , p_output_variable : * const SpvReflectInterfaceVariable , new_location : u32 ) -> SpvReflectResult ; } extern "C" {
/// @fn spvReflectSourceLanguage
///
///@param source_lang The source language code.
///@return Returns string of source language specified in \a source_lang.
///The caller must not free the memory associated with this string.
# [ link_name = "\u{1}_spvReflectSourceLanguage" ] pub fn spvReflectSourceLanguage ( source_lang : SpvSourceLanguage ) -> * const :: std :: os :: raw :: c_char ; } pub type __builtin_va_list = [ __va_list_tag ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , }
Those look identical... how did you install rustfmt, and how do you usually execute it outside of VS Code?
I work on windows with rustup installing nightly and RLS for visual studio code.
If it didn't find rustfmt shouldn't it return an error?
Hmm, I am on windows and exactly the same problem. I'll check on linux box tonight...
If rustfmt didn't run successfully, bindgen will print an error and write the unformatted source:
Update: I've checked on linux and it works. Seems like windows problem.
And no, there is no error on windows.
I tried windows and osx
I have no windows setup, so I cannot personally reproduce it. If someone finds the root cause of the issue it'd be amazing.
I use command-line bindgen on windows and it wasn't formatting until I installed rustfmt:
rustup component add rustfmt
All, I've just tested on 1.33.0 and both, my file and the original posting spirv_reflect.h do compile on windows. Seems like self-resolved to me. Could somebody else confirm please? @AlexEne ?
Ok, let's close this for now. If it still doesn't work for somebody we can reopen. Thanks!
Looks ok now, I am not sure how :D. Thanks
Funny, just stumbled onto this problem again on another machine and found my own answer 馃槀.
Most helpful comment
I use command-line bindgen on windows and it wasn't formatting until I installed rustfmt:
rustup component add rustfmt