21 lines
365 B
WebGPU Shading Language
21 lines
365 B
WebGPU Shading Language
|
fn pack2x16unorm_0f08e4() {
|
||
|
var arg_0 = vec2<f32>();
|
||
|
var res : u32 = pack2x16unorm(arg_0);
|
||
|
}
|
||
|
|
||
|
@stage(vertex)
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
pack2x16unorm_0f08e4();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@stage(fragment)
|
||
|
fn fragment_main() {
|
||
|
pack2x16unorm_0f08e4();
|
||
|
}
|
||
|
|
||
|
@stage(compute) @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
pack2x16unorm_0f08e4();
|
||
|
}
|