VOXEL: explicitly make the voxel vertex position highp

and not aligned for sse operations
master
Martin Gerhardy 2022-05-17 23:29:25 +02:00
parent fcd1ba859f
commit e068fb701e
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ namespace voxel {
* as well as color and material information.
*/
struct VoxelVertex {
glm::i16vec3 position;
glm::vec<3, int16_t, glm::highp> position;
/** 0 is the darkest, 3 is no occlusion at all */
union {
struct {