Re:Simplicity of IRC
by mdoms on Sunday January 09, 2022 @01:23PM
(#29865911)
I have never written for Vulkan and have only done bits and pieces of OpenGL but this can't possibly be an honest representation can it?
[ Parent
| on HN ]
Even conceptually using Vulkan is much more complicated.
In old GL it's basically glClear, glBegin, glVertex, glVertex, glVertex, glEnd and a bit of window setup.
In Vulkan you need to know what these things are: queues, command buffers, image/geometry buffers, memory locations (constant, uniform, varying), resources, bindings, shader programs, fences, swap chains, and how they all coordinate together.
And until they are all properly coordinated together, you'll just be staring at a black image or just get errors.
No, not entirely. Each version does progressively more error checking / debug output. Also the first two output a static single color triangle, while the Vulkan sample outputs a rotating triangle with different colors for each vertex.