dawn-cmake/test/types/sampler.wgsl

9 lines
176 B
WebGPU Shading Language

[[group(0), binding(0)]] var s : sampler;
[[group(0), binding(1)]] var sc : sampler_comparison;
[[stage(compute), workgroup_size(1)]]
fn main() {
ignore(s);
ignore(sc);
}