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
ff70da9157
dawn-cmake
/
test
/
tint
/
bug
/
chromium
/
1341475.wgsl.expected.fxc.hlsl
6 lines
90 B
HLSL
Raw
Normal View
History
Unescape
Escape
tint/resolver: Evaluate const-expr swizzles Bug: chromium:1341475 Change-Id: I2ac44824b08c460df759a96d0ba96f6045b60f74 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95765 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
2022-07-07 17:49:02 +00:00
[
numthreads
(
1
,
1
,
1
)
]
void
main
(
)
{
tint: transform::RemovePhonies: skip builtins with no side effects This transform was attempting to remove builtins with no side effects, such as a call with abstract int/float args, which is unhandled by this transform. For example, this would cause the transform to ICE: _ = clamp(1, 2, 3); Fixes ClusterFuzz issue crbug.com/1348739. Bug: chromium:1348739 Change-Id: Ie355eb36c6c020417c2d93f2dc434c11dbb72d1f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97880 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
2022-08-01 17:21:54 +00:00
const
float
a
=
lerp
(
1.0f
,
1.0f
,
1.0f
)
;
tint/resolver: Evaluate const-expr swizzles Bug: chromium:1341475 Change-Id: I2ac44824b08c460df759a96d0ba96f6045b60f74 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95765 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com>
2022-07-07 17:49:02 +00:00
return
;
}