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
d7a4483148
dawn-cmake
/
test
/
tint
/
expressions
/
bitcast
/
scalar
/
i32min-u32.wgsl.expected.fx...
6 lines
75 B
HLSL
Raw
Normal View
History
Unescape
Escape
MSL: fix i32 INT_MIN literal emitted as `long` instead of `int` Bug: tint:124 Change-Id: Ie632b78cd67948b65e823f0a3c52fda7ef7343f3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60440 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-07-30 18:56:26 +00:00
[
numthreads
(
1
,
1
,
1
)
]
void
f
(
)
{
tint: const eval of bitcast operator Bug: tint:1581 Change-Id: Ida43b34118282eeb99ae099c91a6465eb3040ca6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/115080 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-12-20 18:34:06 +00:00
const
uint
b
=
2147483648
u
;
MSL: fix i32 INT_MIN literal emitted as `long` instead of `int` Bug: tint:124 Change-Id: Ie632b78cd67948b65e823f0a3c52fda7ef7343f3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60440 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-07-30 18:56:26 +00:00
return
;
}