Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7 8 9 10
uniform int callId; uniform int baseId; /* using uint because 16bit uint can contain more ids than int. */ out uint outId; void main() { outId = uint(baseId + callId); }