mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
Fix deprecation errors for indexFormat being set.
Bug: dawn:502 Change-Id: Ib49a1e6cceb0632792a499314f5e0e4b3434deb7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28780 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
9d0d18d952
commit
a3651d2fe0
@@ -21,7 +21,7 @@ namespace utils {
|
||||
ComboVertexStateDescriptor::ComboVertexStateDescriptor() {
|
||||
wgpu::VertexStateDescriptor* descriptor = this;
|
||||
|
||||
descriptor->indexFormat = wgpu::IndexFormat::Uint32;
|
||||
descriptor->indexFormat = wgpu::IndexFormat::Undefined;
|
||||
descriptor->vertexBufferCount = 0;
|
||||
|
||||
// Fill the default values for vertexBuffers and vertexAttributes in buffers.
|
||||
|
||||
Reference in New Issue
Block a user