Archived
1
Fork 0

Reduce the indices of the vertex buffers in an attempt to make WebGPU happy

This commit is contained in:
Joshua Goins 2022-02-20 22:28:54 -05:00
parent d6fb539583
commit 3cdeebf6bc

View file

@ -6,12 +6,12 @@
class Material;
constexpr int position_buffer_index = 2;
constexpr int normal_buffer_index = 3;
constexpr int texcoord_buffer_index = 4;
constexpr int tangent_buffer_index = 5;
constexpr int bitangent_buffer_index = 6;
constexpr int bone_buffer_index = 7;
constexpr int position_buffer_index = 0;
constexpr int normal_buffer_index = 1;
constexpr int texcoord_buffer_index = 2;
constexpr int tangent_buffer_index = 3;
constexpr int bitangent_buffer_index = 4;
constexpr int bone_buffer_index = 5;
class MaterialCompiler {
public: