Intros and OpenGL 4.6
category: code [glöplog]
What do you think of the potential OpenGL version 4.6 has for demos, especially size limited ones?
In my opinion, making glsl mandatory for the GL runtime was a bad design decision to begin with, and the GL_ARB_gl_spirv extension seems to be a very nice alternative
and should save a lot of bytes.
I don't know if I am at the right place with this question, so please bear with me ;-)
In my opinion, making glsl mandatory for the GL runtime was a bad design decision to begin with, and the GL_ARB_gl_spirv extension seems to be a very nice alternative
and should save a lot of bytes.
I don't know if I am at the right place with this question, so please bear with me ;-)
As far as I see it 4.6 mostly brings vulkan interop features, I highly doubt that spirv will save any bytes in a compressed executable and anticipate the opposite to be the case. At least in 4k land I'd rather not invest bytes in upgrading the OpenGL context to begin with.
SPIR-V shader are as big as elephants. Would stay away from it for anything size limited. See: https://aras-p.info/blog/2016/09/01/SPIR-V-Compression/