Skip to main content

reads_fragment_storage

Function reads_fragment_storage 

Source
pub fn reads_fragment_storage(flags: DownlevelFlags, limits: &Limits) -> bool
Expand description

Whether an adapter with these downlevel flags and a device with these limits let the tile shader read a storage buffer in its fragment stage. WebGL 2 does not (no FRAGMENT_STORAGE, no storage buffer per stage): there, buffer device tiles are refused (DeviceTileError::BuffersUnsupported) and the buffer pipeline is not built.