mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-01 04:01:26 +00:00
This reverts commit 26b6edc54565e9efaa060e11ef2c4a8116bd1675. Reason for revert: Seems to be breaking Dawn's tests. Investigation required. Original change's description: > writer/hlsl: Special case negative zero > > Fixed: tint:960 > Change-Id: I060bc6b7a9ad4d21dd5cadb4b68998c7e54ebaed > Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57142 > Kokoro: Kokoro <noreply+kokoro@google.com> > Commit-Queue: Ben Clayton <bclayton@google.com> > Auto-Submit: Ben Clayton <bclayton@google.com> > Reviewed-by: James Price <jrprice@google.com> # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: Ia0b0ec996f2ed6b1599a344c970f155c12314ea9 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/57460 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com>
18 lines
320 B
WebGPU Shading Language
18 lines
320 B
WebGPU Shading Language
var<private> out_var_SV_TARGET : vec4<f32>;
|
|
|
|
fn main_1() {
|
|
out_var_SV_TARGET = vec4<f32>(-0x1p+128, -0x1p+128, -0x1p+128, -0x1p+128);
|
|
return;
|
|
}
|
|
|
|
struct main_out {
|
|
[[location(0)]]
|
|
out_var_SV_TARGET_1 : vec4<f32>;
|
|
};
|
|
|
|
[[stage(fragment)]]
|
|
fn main() -> main_out {
|
|
main_1();
|
|
return main_out(out_var_SV_TARGET);
|
|
}
|