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

4 lines
132 B
GLSL

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