Closed Avokadoen closed 2 years ago
Test representing a node with 32 bits. See if it improves performance in any way
// Size: 8 bytes // const Node = packed struct{ // @"type": u32, // value: u32, // } // Size 4 bytes! const Node = packed struct{ @"type": u3, value: u29, }
Glsl: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/bitfieldExtract.xhtml
Voxels are ~1 bit in brickmap port :)
Test representing a node with 32 bits. See if it improves performance in any way
Glsl: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/bitfieldExtract.xhtml