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
c932b5535f
dawn-cmake
/
test
/
ptr_ref
/
store
/
global
/
struct_field.spvasm.expecte...
12 lines
96 B
HLSL
Raw
Normal View
History
Unescape
Escape
writer/hlsl: Emit `static` for private global variables Fixed: tint:812 Change-Id: I822eb6b13f07a74eb47c4c8e18d1f75dcc4818bf Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51366 Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: James Price <jrprice@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-05-19 09:03:48 +00:00
struct
S
{
int
i
;
}
;
static
S
V
;
[
numthreads
(
1
,
1
,
1
)
]
void
main
(
)
{
V
.
i
=
5
;
return
;
}