virtualx-engine/servers/rendering/renderer_rd/shaders/cluster_data_inc.glsl

4 lines
132 B
Text
Raw Normal View History

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