Hello Caroline, in the source code Renderer.swift, I can not understand what is size meaning in lazy var tessellationFactorsBuffer. Why divided by 2?
In the explanation for
// 2 after the code, it says “you’ll fill the buffer with a special type consisting of half-floats”. That’s why it’s float size / 2.
The corresponding type in the kernel is