godot/servers/rendering/renderer_rd/shaders/cluster_data_inc.glsl
2021-05-03 21:54:11 +10:00

4 lines
132 B
GLSL

#define CLUSTER_COUNTER_SHIFT 20
#define CLUSTER_POINTER_MASK ((1 << CLUSTER_COUNTER_SHIFT) - 1)
#define CLUSTER_COUNTER_MASK 0xfff