Reduce the indices of the vertex buffers in an attempt to make WebGPU happy
This commit is contained in:
parent
d6fb539583
commit
3cdeebf6bc
1 changed files with 6 additions and 6 deletions
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
class Material;
|
class Material;
|
||||||
|
|
||||||
constexpr int position_buffer_index = 2;
|
constexpr int position_buffer_index = 0;
|
||||||
constexpr int normal_buffer_index = 3;
|
constexpr int normal_buffer_index = 1;
|
||||||
constexpr int texcoord_buffer_index = 4;
|
constexpr int texcoord_buffer_index = 2;
|
||||||
constexpr int tangent_buffer_index = 5;
|
constexpr int tangent_buffer_index = 3;
|
||||||
constexpr int bitangent_buffer_index = 6;
|
constexpr int bitangent_buffer_index = 4;
|
||||||
constexpr int bone_buffer_index = 7;
|
constexpr int bone_buffer_index = 5;
|
||||||
|
|
||||||
class MaterialCompiler {
|
class MaterialCompiler {
|
||||||
public:
|
public:
|
||||||
|
|
Reference in a new issue