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
c6ce5785d0
dawn-cmake
/
test
/
ptr_ref
/
access
/
vector.wgsl.expected.hlsl
7 lines
101 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
(
)
{
float3
v
=
float3
(
1.0f
,
2.0f
,
3.0f
)
;
v
.
y
=
5.0f
;
return
;
}