// Compatibility facade for `laplaceliu/tycho_webgpu`.
//
// The module is split into three target-scoped subpackages:
//   - `laplaceliu/tycho_webgpu/types`  (target-agnostic enums, bitflags, WGSL helpers)
//   - `laplaceliu/tycho_webgpu/native` (native `webgpu.h` C ABI via wgpu-native / Dawn)
//   - `laplaceliu/tycho_webgpu/js`     (browser `navigator.gpu` JS bindings)
//
// Existing native callers importing `laplaceliu/tycho_webgpu` continue to work
// unchanged through the re-exports below.

///|
pub using @wgpu_types {
  type WgpuError,
  type TextureFormat,
  type Topology,
  type CullMode,
  type FrontFace,
  type VertexFormat,
  type StepMode,
  type VertexAttribute,
  type VertexBufferLayout,
  type IndexFormat,
  type BufferUsage,
  type TextureUsage,
  type Filter,
  type AddressMode,
  type CompareOp,
  type BlendFactor,
  type BlendOp,
  type BlendState,
  type StencilOp,
  type StencilFaceState,
  type StencilState,
  type DepthStencilState,
  type SamplerDesc,
  type LoadOp,
  type StoreOp,
  type Platform,
  type PresentMode,
  wgsl_words,
  wgsl_from_words,
  is_spirv_words,
}

///|
pub using @wgpu_native {
  available,
  last_error,
  type Device,
  type Shader,
  type Pipeline,
  type Texture,
  type Sampler,
  type Buffer,
  type BindEntry,
  type BindGroup,
  type CommandList,
  type Surface,
}