mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-03 13:11:34 +00:00
Just emit `call_expr;` instead. Fixed: tint:1259 Change-Id: I84a2976d82f891e9263f3e11e5774fcb01ea09bd Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67381 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
10 lines
118 B
HLSL
10 lines
118 B
HLSL
int f(int a, int b, int c) {
|
|
return ((a * b) + c);
|
|
}
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void main() {
|
|
f(1, 2, 3);
|
|
return;
|
|
}
|