mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 00:59:12 +01:00
web: add empty device_create_shader_module_spirv
This commit is contained in:
1 parent
96dbd06a1f
commit
fdd30916db
1 file changed
+8
@@ -1262,6 +1262,14 @@ impl crate::Context for Context {
|
||||
Sendable(device.0.create_bind_group_layout(&mapped_desc))
|
||||
}
|
||||
|
||||
unsafe fn device_create_shader_module_spirv(
|
||||
&self,
|
||||
device: &Self::DeviceId,
|
||||
desc: &crate::ShaderModuleDescriptorSpirV,
|
||||
) -> Self::ShaderModuleId {
|
||||
unreachable!("SPIRV_SHADER_PASSTHROUGH is not enabled for this backend")
|
||||
}
|
||||
|
||||
fn device_create_bind_group(
|
||||
&self,
|
||||
device: &Self::DeviceId,
|
||||
|
||||
Reference in new issue
Block a user