

layout(std140, binding = 0) uniform CommonBlock
{
  uint    uSubTileSize;
  uint    uSpaceLeapingTileSize;
  float   rVoxelScale;
  float   rVoxelOffset;

  float   rReplacementNoValue;
  float   rComparisonNoValue;
  int     nIntegerNoValue;
  int     nIsNoValueColorVisible;

  uvec4   cornerTileSize[LOD_MAX];
};

layout(std140, binding = 1) uniform CoordinateBlock
{
  uvec4   coordinateSetValue[COORDINATE_SETS_MAX/2 + COORDINATE_SETS_MAX%2];
};

#define FLT_MAX 3.402823466e+38f
