mesa/shaderapi: add a getter for GL_SPIR_V_BINARY_ARB
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 10 Jun 2017 17:46:58 +0000 (19:46 +0200)
committerEduardo Lima Mitev <elima@igalia.com>
Tue, 12 Dec 2017 07:18:32 +0000 (08:18 +0100)
commit4ccd00d7626b26f8aac02fe71508951223f9ad45
treee7b270771777cdeceb1f8504d99a8e44622b1dad
parent5bc03d250861df6836f9c9fe37e0609c1777a87b
mesa/shaderapi: add a getter for GL_SPIR_V_BINARY_ARB

v2: Use the 'spirv_data' member of gl_shader instead of a
   dedicated flag. (Timothy Arceri)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/shaderapi.c