build/linux-x86_64-debug/mesa/libmesa.a(glspirv.os): In function `_mesa_SpecializeShaderARB':
mesa/src/mesa/main/glspirv.c:170: undefined reference to `gl_spirv_validation'
ba975140d3c99b60c63846c3c08bd158f7c95d42 is the first bad commit
Author: Nicolai Hähnle <firstname.lastname@example.org>
Date: Sat Jun 10 21:36:24 2017 +0200
mesa: Implement glSpecializeShaderARB
* Use gl_spirv_validation instead of spirv_to_nir. This method just
validates the shader. The conversion to NIR will happen later,
during linking. (Alejandro Piñeiro)
* Use gl_shader_spirv_data struct to store the SPIR-V data.
* Use the 'spirv_data' member to tell if the gl_shader is a SPIR-V
shader, instead of a dedicated flag. (Timothy Arceri)
Signed-off-by: Nicolai Hähnle <email@example.com>
Signed-off-by: Alejandro Piñeiro <firstname.lastname@example.org>
Signed-off-by: Eduardo Lima Mitev <email@example.com>
Reviewed-by: Timothy Arceri <firstname.lastname@example.org>
I posted a patch for this. Any comments from someone experienced with SCons would be much appreciated.
Brian Paul has just sent a series, with Neil's patch, plus some extra to get it working on MSVC:
Should be fixed as of 26bc983c8374fd98dc3b8f8fa273f3063e3ac249 with the patch series by Neil and myself.