You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Remove unused struct fields in VoxelGIData
This reduces the struct size from 112 bytes to 96 bytes.
This commit is contained in:
@@ -602,19 +602,15 @@ public:
|
||||
};
|
||||
|
||||
struct VoxelGIData {
|
||||
float xform[16];
|
||||
float bounds[3];
|
||||
float dynamic_range;
|
||||
float xform[16]; // 64 - 64
|
||||
|
||||
float bias;
|
||||
float normal_bias;
|
||||
uint32_t blend_ambient;
|
||||
uint32_t texture_slot;
|
||||
float bounds[3]; // 12 - 76
|
||||
float dynamic_range; // 4 - 80
|
||||
|
||||
uint32_t pad0;
|
||||
uint32_t pad1;
|
||||
uint32_t pad2;
|
||||
uint32_t mipmaps;
|
||||
float bias; // 4 - 84
|
||||
float normal_bias; // 4 - 88
|
||||
uint32_t blend_ambient; // 4 - 92
|
||||
uint32_t mipmaps; // 4 - 96
|
||||
};
|
||||
|
||||
struct PushConstant {
|
||||
|
||||
Reference in New Issue
Block a user