This website requires JavaScript.
Explore
Help
Sign In
encounter
/
dawn-cmake
mirror of
https://github.com/encounter/dawn-cmake.git
Watch
1
Star
0
Fork
You've already forked dawn-cmake
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
6c8603cac1
dawn-cmake
/
test
/
tint
/
statements
/
decrement
/
function.wgsl.expected.fxc....
10 lines
107 B
HLSL
Raw
Normal View
History
Unescape
Escape
Add support for increment/decrement statements Refactor the ExpandCompoundAssignment transform to handle these statements, which delivers support for all of the non-WGSL backends. Fixed: tint:1488 Change-Id: I96cdc31851c61f6d92d296447d0b0637907d5fe5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86004 Reviewed-by: Ben Clayton <bclayton@google.com>
2022-04-07 13:42:45 +00:00
[
numthreads
(
1
,
1
,
1
)
]
void
unused_entry_point
(
)
{
return
;
wgsl: Add support for increment/decrement statements Implemented in both the reader and writer with E2E tests. Other backends will ICE for now. Bug: tint:1488 Change-Id: Ied2afa55a338347f427dee98a4076643ac432d9c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86003 Reviewed-by: Ben Clayton <bclayton@google.com>
2022-04-07 13:42:45 +00:00
}
Add support for increment/decrement statements Refactor the ExpandCompoundAssignment transform to handle these statements, which delivers support for all of the non-WGSL backends. Fixed: tint:1488 Change-Id: I96cdc31851c61f6d92d296447d0b0637907d5fe5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86004 Reviewed-by: Ben Clayton <bclayton@google.com>
2022-04-07 13:42:45 +00:00
void
main
(
)
{
int
i
=
0
;
i
=
(
i
-
1
)
;
}