#define UIE_BRANCH(OP) \
[branch] if (index < 3.5 || _UIE_TEXTURE_SLOT_COUNT <= 4) \
{ \
[branch] if (index < 1.5 || _UIE_TEXTURE_SLOT_COUNT <= 2) \
{ \
[branch] if (index < 0.5 || _UIE_TEXTURE_SLOT_COUNT <= 1) \
{OP(0)} \
else \
{OP(1)} \
} \
else \
{ \
[branch] if (index < 2.5) \
{OP(2)} \
else \
{OP(3)} \
} \
} \
else \
{ \
[branch] if (index < 5.5) \
{ \
[branch] if (index < 4.5) \
{OP(4)} \
else \
{OP(5)} \
} \
else \
{ \
[branch] if (index < 6.5) \
{OP(6)} \
else \
{OP(7)} \
} \
}