godot/servers/rendering/renderer_rd/shaders/cluster_data_inc.glsl

4 lines
132 B
Plaintext
Raw Normal View History

2020-08-13 09:21:01 +08:00
#define CLUSTER_COUNTER_SHIFT 20
#define CLUSTER_POINTER_MASK ((1 << CLUSTER_COUNTER_SHIFT) - 1)
#define CLUSTER_COUNTER_MASK 0xfff