mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 17:44:09 +01:00
Actually test push constants to be used (#1767)
This commit is contained in:
1 parent
c84aa77579
commit
1d3fb26ffd
6 files changed
+72
-60
No files matched your search
@@ -418,7 +418,10 @@ impl crate::AddressSpace {
|
||||
// may end up with "const" even if the binding is read-write,
|
||||
// and that should be OK.
|
||||
Self::Storage { .. } | Self::Private | Self::WorkGroup => true,
|
||||
Self::Uniform | Self::PushConstant | Self::Handle | Self::Function => false,
|
||||
// These translate to `constant` address space, no need for qualifiers.
|
||||
Self::Uniform | Self::PushConstant => false,
|
||||
// Not applicable.
|
||||
Self::Handle | Self::Function => false,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user