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
9f6649bca9
dawn-cmake
/
test
/
tint
/
ptr_ref
/
store
/
local
/
i32.wgsl.expected.fxc.hlsl
8 lines
85 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
;
tint: const eval of binary add Bug: tint:1581 Change-Id: Ie34ee52bdd4a4c5d45a5f6c0d8d923cc690c8b2c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98021 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-04 19:48:27 +00:00
i
=
123
;
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
return
;
}