mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-18 17:35:30 +00:00
Change buffer-related sizes/offsets to be uint64_t
Bug: dawn:121 Change-Id: I9d88e2b2b8eff4eda98d25ae0922bc07199a69c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/5720 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
952860bf9f
commit
cf52d711fb
@@ -127,7 +127,7 @@ namespace dawn_native {
|
||||
for (size_t i = 0; i < cmd->count; ++i) {
|
||||
(&buffers[i])->~Ref<BufferBase>();
|
||||
}
|
||||
commands->NextData<uint32_t>(cmd->count);
|
||||
commands->NextData<uint64_t>(cmd->count);
|
||||
cmd->~SetVertexBuffersCmd();
|
||||
} break;
|
||||
}
|
||||
@@ -231,7 +231,7 @@ namespace dawn_native {
|
||||
case Command::SetVertexBuffers: {
|
||||
auto* cmd = commands->NextCommand<SetVertexBuffersCmd>();
|
||||
commands->NextData<Ref<BufferBase>>(cmd->count);
|
||||
commands->NextData<uint32_t>(cmd->count);
|
||||
commands->NextData<uint64_t>(cmd->count);
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user