Files
wgpu/tests/out/extra.wgsl
T

13 lines
254 B
WebGPU Shading Language

[[block]]
struct PushConstants {
index: u32;
double: vec2<f32>;
};
var<push_constant> pc: PushConstants;
[[stage(fragment)]]
fn main([[location(0), interpolate(perspective)]] color: vec4<f32>) -> [[location(0)]] vec4<f32> {
return color;
}