mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-28 00:59:12 +01:00
Reformat comments in wgpu-core. (#3102)
This commit is contained in:
1 parent
fa4d8401e8
commit
215884184b
22 files changed
+525
-289
No files matched your search
@@ -511,7 +511,8 @@ impl BindGroupStateChange {
|
||||
) -> bool {
|
||||
// For now never deduplicate bind groups with dynamic offsets.
|
||||
if offset_length == 0 {
|
||||
// If this get returns None, that means we're well over the limit, so let the call through to get a proper error
|
||||
// If this get returns None, that means we're well over the limit,
|
||||
// so let the call through to get a proper error
|
||||
if let Some(current_bind_group) = self.last_states.get_mut(index as usize) {
|
||||
// Bail out if we're binding the same bind group.
|
||||
if current_bind_group.set_and_check_redundant(bind_group_id) {
|
||||
|
||||
Reference in new issue
Block a user