mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 00:47:13 +00:00
Change setVertexBuffers to setVertexBuffer
Following WebGPU spec change at https://github.com/gpuweb/gpuweb/pull/468, this CL changes all occurrences of setVertexBuffers to setVertexBuffer. Bug: dawn:22 Change-Id: I48b551a89dc0934dfa61e661e9546a2b7eafd2fc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12020 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
e16a901fb8
commit
91b2142ee4
@@ -152,10 +152,8 @@ namespace dawn_native {
|
||||
mAspects.set(VALIDATION_ASPECT_INDEX_BUFFER);
|
||||
}
|
||||
|
||||
void CommandBufferStateTracker::SetVertexBuffer(uint32_t start, uint32_t count) {
|
||||
for (uint32_t i = 0; i < count; ++i) {
|
||||
mInputsSet.set(start + i);
|
||||
}
|
||||
void CommandBufferStateTracker::SetVertexBuffer(uint32_t slot) {
|
||||
mInputsSet.set(slot);
|
||||
}
|
||||
|
||||
void CommandBufferStateTracker::SetPipelineCommon(PipelineBase* pipeline) {
|
||||
|
||||
Reference in New Issue
Block a user