webgpu improvements
This commit is contained in:
parent
5a75571ffd
commit
8347467e1e
18 changed files with 1932 additions and 153 deletions
|
|
@ -225,6 +225,7 @@ namespace {
|
|||
std::span<const std::uint32_t> indices,
|
||||
std::span<const std::byte> attribsBytes) {
|
||||
mesh.triangleCount = static_cast<std::uint32_t>(indices.size()) / 3;
|
||||
mesh.vertexCount = static_cast<std::uint32_t>(vertices.size());
|
||||
|
||||
Builder builder;
|
||||
builder.Build(vertices, indices);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue