mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
wgsl: Print abstract-floats with full precision.
Change-Id: Ie95547f065b896983b90ffd5455538fdd843b81a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/104824 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
9f513ca541
commit
d6daefc379
@@ -2,5 +2,5 @@ enable f16;
|
||||
|
||||
@fragment
|
||||
fn main() -> @location(0) vec4<f32> {
|
||||
return vec4<f32>(0.100000001, 0.200000003, 0.300000012, 0.400000006);
|
||||
return vec4<f32>(0.1, 0.2, 0.3, 0.4);
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ enable f16;
|
||||
|
||||
@fragment
|
||||
fn main() -> @location(0) vec4<f32> {
|
||||
return vec4<f32>(0.100000001, 0.200000003, 0.300000012, 0.400000006);
|
||||
return vec4<f32>(0.1, 0.2, 0.3, 0.4);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user