You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
msaa-line runs perfectly on macOS native, but running on ff via cargo run-wasm --example mass-line has no effect. surface.get_preferred_format(&adapter).unwrap() equals Bgra8UnormSrgb and Bgra8Unorm on native and in the firefox, respectively. If modified configuration.format from surface.get_preferred_format(&adapter).unwrap() to Bgra8UnormSrgb, running in firefox also perfectly.
Note: Canvas configuration cannot use srgb formats like bgra8unorm-srgb. Instead, use the non-srgb equivalent (bgra8unorm), specify the srgb format in the viewFormats, and use createView() to create a view with an srgb format.
Does that mean that xx needs to be automatically reinterpreted as xx-srgb?
Description
msaa-line runs perfectly on macOS native, but running on ff via
cargo run-wasm --example mass-line
has no effect.surface.get_preferred_format(&adapter).unwrap()
equalsBgra8UnormSrgb
andBgra8Unorm
on native and in the firefox, respectively. If modified configuration.format fromsurface.get_preferred_format(&adapter).unwrap()
toBgra8UnormSrgb
, running in firefox also perfectly.Spec says:
Does that mean that
xx
needs to be automatically reinterpreted asxx-srgb
?Platform
macOS, native + Firefox Nightly 102.0a1 (2022-05-16) (64-bit)
The text was updated successfully, but these errors were encountered: