We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe55595 commit 4391433Copy full SHA for 4391433
include/nbl/asset/utils/CVertexWelder.h
@@ -305,7 +305,7 @@ class CVertexWelder {
305
hlsl::vector<uint32_t, 1> index;
306
indexView.decodeElement<hlsl::vector<uint32_t, 1>>(index_i, index);
307
const auto remappedIndex = remappedVertexIndexes[index.x];
308
- remappedIndexPtr[index_i] = remappedVertexIndexes[index.x];
+ remappedIndexPtr[index_i] = static_cast<IndexT>(remappedIndex);
309
if (remappedIndex == INVALID_INDEX) return false;
310
}
311
return true;
0 commit comments