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
ffe7978dbf
dawn-cmake
/
test
/
ptr_ref
/
store
/
local
/
i32.wgsl.expected.hlsl
8 lines
98 B
HLSL
Raw
Normal View
History
Unescape
Escape
hlsl: Pointer support Add `transform::InlinePointerLets` - a Transform that moves all usage of function-scope `let` statements of a pointer type into their places of usage. Make the HLSL writer transform pointer parameters to `inout`. Fixed: tint:183 Change-Id: I0a7552fa6cd31c7b7691e64feae3170a81cc6c49 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51281 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-05-19 19:16:32 +00:00
[
numthreads
(
1
,
1
,
1
)
]
void
main
(
)
{
int
i
=
123
;
i
=
123
;
i
=
(
(
100
+
20
)
+
3
)
;
return
;
}