mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
writer/hlsl: Do not emit (void) call_expr;
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>
This commit is contained in:
committed by
Tint LUCI CQ
parent
7b776f18b0
commit
33c13c6e28
@@ -4,6 +4,6 @@ int f(int a, int b, int c) {
|
||||
|
||||
[numthreads(1, 1, 1)]
|
||||
void main() {
|
||||
(void) f(1, 2, 3);
|
||||
f(1, 2, 3);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user