mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 19:31:25 +00:00
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>
13 lines
97 B
HLSL
13 lines
97 B
HLSL
struct S {
|
|
int i;
|
|
};
|
|
|
|
static S V;
|
|
|
|
[numthreads(1, 1, 1)]
|
|
void main() {
|
|
V.i = 5;
|
|
return;
|
|
}
|
|
|