Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
11 lines
174 B
GLSL
11 lines
174 B
GLSL
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);
|
|
}
|