pub trait ComputePipeline {
// Required method
fn get_subgroup_size(&self) -> Option<u32>;
}Required Methods§
Sourcefn get_subgroup_size(&self) -> Option<u32>
fn get_subgroup_size(&self) -> Option<u32>
Returns the subgroup size this pipeline executes with, or None if the backend cannot determine it.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl ComputePipeline for wgpu_hal::gles::ComputePipeline
Available on
gles only.impl ComputePipeline for wgpu_hal::vulkan::ComputePipeline
Available on
vulkan only.