diff --git a/ash/src/vk/platform_types.rs b/ash/src/vk/platform_types.rs index faccad3..340403c 100644 --- a/ash/src/vk/platform_types.rs +++ b/ash/src/vk/platform_types.rs @@ -27,8 +27,6 @@ pub type zx_handle_t = u32; pub type SECURITY_ATTRIBUTES = (); pub type ANativeWindow = c_void; pub type AHardwareBuffer = c_void; -#[doc = r" This definition is experimental and won't adhere to semver rules."] -pub type GgpStreamDescriptor = u32; -#[doc = r" This definition is experimental and won't adhere to semver rules."] -pub type GgpFrameToken = u32; pub type CAMetalLayer = c_void; +pub type GgpStreamDescriptor = u32; +pub type GgpFrameToken = u64; diff --git a/generator/src/lib.rs b/generator/src/lib.rs index c9f972e..1420351 100644 --- a/generator/src/lib.rs +++ b/generator/src/lib.rs @@ -362,11 +362,11 @@ pub fn platform_specific_types() -> Tokens { // Opage types pub type ANativeWindow = c_void; pub type AHardwareBuffer = c_void; - /// This definition is experimental and won't adhere to semver rules. - pub type GgpStreamDescriptor = u32; - /// This definition is experimental and won't adhere to semver rules. - pub type GgpFrameToken = u32; pub type CAMetalLayer = c_void; + // This definition is behind an NDA with a best effort guess from + // https://github.com/google/gapid/commit/22aafebec4638c6aaa77667096bca30f6e842d95#diff-ab3ab4a7d89b4fc8a344ff4e9332865f268ea1669ee379c1b516a954ecc2e7a6R20-R21 + pub type GgpStreamDescriptor = u32; + pub type GgpFrameToken = u64; } } #[derive(Debug, Copy, Clone)]