# Khronos Authors - SPIR-V Compilation (Highlights) ![rw-book-cover|256](https://readwise-assets.s3.amazonaws.com/static/images/article3.5c705a01b476.png) ## Highlights - SPIR-V has a specific binaryFormat​: the enumerator GL_SHADER_BINARY_FORMAT_SPIR_V. ([View Highlight](https://read.readwise.io/read/01hxm29163mw5sty06nvxprdc5)) ^718325281 - While a shader object has a SPIR-V binary loaded into it, the object becomes slightly different. [glGetShaderiv(shader, GL_SPIR_V_BINARY)](https://www.khronos.org/opengl/wiki/GLAPI/glGetShader) will return GL_TRUE. ([View Highlight](https://read.readwise.io/read/01hxm2966dxbbzc4s97rpvj3sy)) ^718325288 - Before a SPIR-V shader object can be used, you must specify which entry-point to use and provide values for any specialization constants used by that entry-point. ([View Highlight](https://read.readwise.io/read/01hxm288j5qk2j7qbrddmf9215)) ^718325234 `glSpecializeShader`