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
d9f2a61c6f
dawn-cmake
/
test
/
tint
/
var
/
override
/
named
/
no_init
/
bool.wgsl.expected.wgsl
7 lines
78 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
Add support for override keyword and @id attribute This replaces the @override keyword that was previously used for pipeline-overridable constants. Support for pipeline-overridable constants in Dawn is hidden behind the "disallow-unsafe-APIs" toggle, so we can make this change directly instead of deprecating and continuing to support the old syntax. Fixed: tint:1403 Change-Id: I9b2957a1e33b12772bfe449c0f3a31d929f8aa8b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80480 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com>
2022-02-15 16:36:57 +00:00
override
o
:
bool
;
writer/spirv: Fix [[override]] for zero-init defaults These expressions were not emitted as spec-ops, failing new CTS tests. Change-Id: I56e8f56a22de2b8dac9a8bd7a2d694d8d81dca35 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67480 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: James Price <jrprice@google.com>
2021-10-26 10:05:02 +00:00
wgsl: Replace [[decoration]] with @decoration Deprecate the old syntax. Migrate everything to the new syntax. Bug: tint:1382 Change-Id: Ide12b2e927b17dc93b9714c7049090864cc568d3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77260 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: David Neto <dneto@google.com>
2022-01-19 22:46:57 +00:00
@
stage
(
compute
)
@
workgroup_size
(
1
)
writer/spirv: Fix [[override]] for zero-init defaults These expressions were not emitted as spec-ops, failing new CTS tests. Change-Id: I56e8f56a22de2b8dac9a8bd7a2d694d8d81dca35 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67480 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: James Price <jrprice@google.com>
2021-10-26 10:05:02 +00:00
fn
main
(
)
{
_
=
o
;
}