Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.
1#import filters
3@group(0) @binding(0) var s : sampler;
4@group(0) @binding(2) var tex : texture_2d<f32>;
5@group(1) @binding(0) var<storage, read> ro_buffer : array<f32, 4>;
7@fragment
8fn main(@builtin(position) p : vec4f) -> @location(0) vec4f {
9 return filters::diagnostic_test();
Contents