KhronosGroup / glslang

Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.
Other
2.9k stars 815 forks source link

Update comment to more succint for 8/16-bit types #3630

Open ravi688 opened 1 week ago

ravi688 commented 1 week ago

... that 8/16-bit composites can't be directly constructed.

Earlier the comment looked misleading that composites of 8/16-bit types can't be constructed at all. As per the GL_EXT_shader_16bit_storage extension, they can't be constructed directly, however, can be constructed indirectly.

ravi688 commented 1 week ago

To the maintainer, I'm not sure if the comment updates in this PR are worthwhile - so feel free to reject it.

Also, I've made a comment on #3607 for a possible solution. Suggestions are appreciated for that.