Reduce shape vertex size to 8 floats
It is not at all clear whether this is an improvement or not
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#version 450 core
|
||||
//struct PosColNorm { vec4 pos; vec4 norm;uint col; uint dummy; };
|
||||
struct PosColNorm { vec4 pos; uint norm;uint d1;uint d2; uint d3;uint col; uint dummy; };
|
||||
struct PosColNorm { vec4 pos; uint norm;uint col; };
|
||||
// I don't know if the dummy is necessary
|
||||
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
|
||||
layout (std430, binding = 3) readonly buffer Data { PosColNorm data[]; };
|
||||
|
||||
Reference in New Issue
Block a user