diff options
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_link.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp b/src/mesa/drivers/dri/i965/brw_link.cpp index 274a738cbbf..7841626dc33 100644 --- a/src/mesa/drivers/dri/i965/brw_link.cpp +++ b/src/mesa/drivers/dri/i965/brw_link.cpp @@ -237,7 +237,8 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg) struct gl_program *prog = shader->Program; prog->Parameters = _mesa_new_parameter_list(); - process_glsl_ir(brw, shProg, shader); + if (!shader->spirv_data) + process_glsl_ir(brw, shProg, shader); _mesa_copy_linked_program_data(shProg, shader); |