tiny.gpu.FloatControlFacts
Defined in contract.
Properties reported by the selected Vulkan physical device.
API (4)
Actions
Public operations.
f32Profile: A missing signed-zero/Inf/NaN guarantee refuses the f32 target by name.
Fields and members
Public fields and members.
Source
Source: lib/gpu/src/contract.zig:1014
zig
/// Properties reported by the selected Vulkan physical device.pub const FloatControlFacts = struct { denorm_preserve: FloatControlWidths = .{}, signed_zero_inf_nan_preserve: FloatControlWidths = .{}, denorm_behavior_independence: ?FloatControlIndependence = null, /// A missing signed-zero/Inf/NaN guarantee refuses the f32 target by name. pub fn f32Profile(self: FloatControlFacts) BackendError!FloatArithmeticProfile { if (!self.signed_zero_inf_nan_preserve.f32) return error.CapabilityMismatch; return if (self.denorm_preserve.f32) .exact else .flush_permitting; }};Source: lib/gpu/src/root.zig:93
zig
pub const FloatControlFacts = contract.FloatControlFacts;Audit
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 3 |
| Version | 26.7.0 |
| Revision | daab053ee433 |