16 lines
189 B
WebGPU Shading Language
16 lines
189 B
WebGPU Shading Language
|
fn i(x : i32) -> i32 {
|
||
|
return ~(x);
|
||
|
}
|
||
|
|
||
|
fn u(x : u32) -> u32 {
|
||
|
return ~(x);
|
||
|
}
|
||
|
|
||
|
fn vi(x : vec4<i32>) -> vec4<i32> {
|
||
|
return ~(x);
|
||
|
}
|
||
|
|
||
|
fn vu(x : vec4<u32>) -> vec4<u32> {
|
||
|
return ~(x);
|
||
|
}
|