2021-10-22 06:23:12 +00:00
|
|
|
intrinsics/ignore/call.wgsl:7:5 warning: use of deprecated intrinsic
|
|
|
|
ignore(f(1, 2, 3));
|
|
|
|
^^^^^^
|
|
|
|
|
2021-06-09 08:30:57 +00:00
|
|
|
int f(int a, int b, int c) {
|
|
|
|
return ((a * b) + c);
|
|
|
|
}
|
|
|
|
|
|
|
|
[numthreads(1, 1, 1)]
|
|
|
|
void main() {
|
|
|
|
f(1, 2, 3);
|
|
|
|
return;
|
|
|
|
}
|