mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
hal/gles: don't expose VERTEX_STORAGE if there is no storage
This commit is contained in:
1 parent
fa4d86b167
commit
20e1d4d170
1 file changed
+1
@@ -279,6 +279,7 @@ impl super::Adapter {
|
||||
downlevel_flags.set(
|
||||
wgt::DownlevelFlags::VERTEX_STORAGE,
|
||||
max_storage_block_size != 0
|
||||
&& max_storage_buffers_per_shader_stage != 0
|
||||
&& (vertex_shader_storage_blocks != 0 || vertex_ssbo_false_zero),
|
||||
);
|
||||
downlevel_flags.set(wgt::DownlevelFlags::FRAGMENT_STORAGE, supports_storage);
|
||||
|
||||
Reference in new issue
Block a user