mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
9 lines
168 B
WebGPU Shading Language
9 lines
168 B
WebGPU Shading Language
struct Output {
|
|
[[location(0)]] out_color: vec4<f32>;
|
|
};
|
|
|
|
[[stage(fragment)]]
|
|
fn main([[location(0)]] v_color: vec4<f32>) -> Output {
|
|
return Output(v_color);
|
|
}
|