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
4fea9d0fbb
dawn-cmake
/
test
/
tint
/
identifiers
/
underscore
/
double
/
alias.wgsl
10 lines
106 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
tint: Rename 'type' to 'alias' Bug: tint:1812 Change-Id: I50bd8b036b47b4ec223a81eda53bd658d19645e9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/117211 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
2023-01-24 14:55:17 +00:00
alias
a
=
i32
;
alias
a__
=
i32
;
alias
b
=
a
;
alias
b__
=
a__
;
IntrinsicTable: remove double underscores '__' is reserved in C++, and the 'match__' and 'build__' functions are causing OSS-fuzz builds to fail. Add the change in tint behavior to the OT notes. Add end to end tests for underscores. While the GLSL and MSL compilers seem to accept leading and double underscores in identifiers, the tint build failure has highlighted we have more work to do here (crbug.com/tint/1319) Fixed: oss-fuzz:41214 Bug: tint:1292 Bug: tint:1319 Change-Id: I32b7bf4e0cff26e678b788457f90452c2503da50 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/70480 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-11-22 15:24:16 +00:00
fn
f
(
)
{
var
c
:
b
;
var
d
:
b__
;
}