2022-10-25 08:53:12 +11:00
|
|
|
[package]
|
2022-10-26 03:03:13 +11:00
|
|
|
name = "piet-wgsl"
|
2022-10-25 08:53:12 +11:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Raph Levien <raph@google.com>"]
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
wgpu = "0.14"
|
2022-11-30 14:35:46 +11:00
|
|
|
wasm-bindgen = "0.2"
|
2022-11-27 06:27:19 +11:00
|
|
|
raw-window-handle = "0.5"
|
2022-11-23 06:49:51 +11:00
|
|
|
futures-intrusive = "0.5.0"
|
2022-10-25 08:53:12 +11:00
|
|
|
parking_lot = "0.12"
|
|
|
|
bytemuck = { version = "1.12.1", features = ["derive"] }
|
2022-11-23 06:49:51 +11:00
|
|
|
piet-scene = { path = "../piet-scene" }
|
2022-11-30 14:35:46 +11:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
console_log = "0.2"
|
|
|
|
wasm-bindgen-futures = "0.4.33"
|
|
|
|
js-sys = "0.3.60"
|
|
|
|
web-sys = { version = "0.3.60", features = [
|
|
|
|
"Document",
|
|
|
|
"Navigator",
|
|
|
|
"Node",
|
|
|
|
"NodeList",
|
|
|
|
"Gpu",
|
|
|
|
"GpuAdapter",
|
|
|
|
"GpuAddressMode",
|
|
|
|
"GpuAutoLayoutMode",
|
|
|
|
"GpuBindGroup",
|
|
|
|
"GpuBindGroupDescriptor",
|
|
|
|
"GpuBindGroupEntry",
|
|
|
|
"GpuBindGroupLayout",
|
|
|
|
"GpuBindGroupLayoutDescriptor",
|
|
|
|
"GpuBindGroupLayoutEntry",
|
|
|
|
"GpuBlendComponent",
|
|
|
|
"GpuBlendFactor",
|
|
|
|
"GpuBlendOperation",
|
|
|
|
"GpuBlendState",
|
|
|
|
"GpuBuffer",
|
|
|
|
"GpuBufferBinding",
|
|
|
|
"GpuBufferBindingLayout",
|
|
|
|
"GpuBufferBindingType",
|
|
|
|
"GpuBufferDescriptor",
|
|
|
|
"GpuCanvasAlphaMode",
|
|
|
|
"GpuCanvasContext",
|
|
|
|
"GpuCanvasConfiguration",
|
|
|
|
"GpuColorDict",
|
|
|
|
"GpuColorTargetState",
|
|
|
|
"GpuCommandBuffer",
|
|
|
|
"GpuCommandBufferDescriptor",
|
|
|
|
"GpuCommandEncoder",
|
|
|
|
"GpuCommandEncoderDescriptor",
|
|
|
|
"GpuCompareFunction",
|
|
|
|
"GpuCompilationInfo",
|
|
|
|
"GpuCompilationMessage",
|
|
|
|
"GpuCompilationMessageType",
|
|
|
|
"GpuComputePassDescriptor",
|
|
|
|
"GpuComputePassEncoder",
|
|
|
|
"GpuComputePipeline",
|
|
|
|
"GpuComputePipelineDescriptor",
|
|
|
|
"GpuCullMode",
|
|
|
|
"GpuDepthStencilState",
|
|
|
|
"GpuDevice",
|
|
|
|
"GpuDeviceDescriptor",
|
|
|
|
"GpuDeviceLostInfo",
|
|
|
|
"GpuDeviceLostReason",
|
|
|
|
"GpuError",
|
|
|
|
"GpuErrorFilter",
|
|
|
|
"GpuExtent3dDict",
|
|
|
|
"GpuFeatureName",
|
|
|
|
"GpuFilterMode",
|
|
|
|
"GpuFragmentState",
|
|
|
|
"GpuFrontFace",
|
|
|
|
"GpuImageCopyBuffer",
|
|
|
|
"GpuImageCopyExternalImage",
|
|
|
|
"GpuImageCopyTexture",
|
|
|
|
"GpuImageCopyTextureTagged",
|
|
|
|
"GpuImageDataLayout",
|
|
|
|
"GpuIndexFormat",
|
|
|
|
"GpuLoadOp",
|
|
|
|
"gpu_map_mode",
|
|
|
|
"GpuMipmapFilterMode",
|
|
|
|
"GpuMultisampleState",
|
|
|
|
"GpuObjectDescriptorBase",
|
|
|
|
"GpuOrigin2dDict",
|
|
|
|
"GpuOrigin3dDict",
|
|
|
|
"GpuOutOfMemoryError",
|
|
|
|
"GpuPipelineDescriptorBase",
|
|
|
|
"GpuPipelineLayout",
|
|
|
|
"GpuPipelineLayoutDescriptor",
|
|
|
|
"GpuPowerPreference",
|
|
|
|
"GpuPrimitiveState",
|
|
|
|
"GpuPrimitiveTopology",
|
|
|
|
"GpuProgrammableStage",
|
|
|
|
"GpuQuerySet",
|
|
|
|
"GpuQuerySetDescriptor",
|
|
|
|
"GpuQueryType",
|
|
|
|
"GpuQueue",
|
|
|
|
"GpuRenderBundle",
|
|
|
|
"GpuRenderBundleDescriptor",
|
|
|
|
"GpuRenderBundleEncoder",
|
|
|
|
"GpuRenderBundleEncoderDescriptor",
|
|
|
|
"GpuRenderPassColorAttachment",
|
|
|
|
"GpuRenderPassDepthStencilAttachment",
|
|
|
|
"GpuRenderPassDescriptor",
|
|
|
|
"GpuRenderPassEncoder",
|
|
|
|
"GpuRenderPipeline",
|
|
|
|
"GpuRenderPipelineDescriptor",
|
|
|
|
"GpuRequestAdapterOptions",
|
|
|
|
"GpuSampler",
|
|
|
|
"GpuSamplerBindingLayout",
|
|
|
|
"GpuSamplerBindingType",
|
|
|
|
"GpuSamplerDescriptor",
|
|
|
|
"GpuShaderModule",
|
|
|
|
"GpuShaderModuleDescriptor",
|
|
|
|
"GpuStencilFaceState",
|
|
|
|
"GpuStencilOperation",
|
|
|
|
"GpuStorageTextureAccess",
|
|
|
|
"GpuStorageTextureBindingLayout",
|
|
|
|
"GpuStoreOp",
|
|
|
|
"GpuSupportedFeatures",
|
|
|
|
"GpuSupportedLimits",
|
|
|
|
"GpuTexture",
|
|
|
|
"GpuTextureAspect",
|
|
|
|
"GpuTextureBindingLayout",
|
|
|
|
"GpuTextureDescriptor",
|
|
|
|
"GpuTextureDimension",
|
|
|
|
"GpuTextureFormat",
|
|
|
|
"GpuTextureSampleType",
|
|
|
|
"GpuTextureView",
|
|
|
|
"GpuTextureViewDescriptor",
|
|
|
|
"GpuTextureViewDimension",
|
|
|
|
"GpuUncapturedErrorEvent",
|
|
|
|
"GpuUncapturedErrorEventInit",
|
|
|
|
"GpuValidationError",
|
|
|
|
"GpuVertexAttribute",
|
|
|
|
"GpuVertexBufferLayout",
|
|
|
|
"GpuVertexFormat",
|
|
|
|
"GpuVertexState",
|
|
|
|
"GpuVertexStepMode",
|
|
|
|
"HtmlCanvasElement",
|
|
|
|
"OffscreenCanvas",
|
|
|
|
"ImageBitmap",
|
|
|
|
"ImageBitmapRenderingContext",
|
|
|
|
"Window",
|
|
|
|
"WorkerGlobalScope",
|
|
|
|
"WorkerNavigator"
|
|
|
|
] }
|