mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-17 01:40:36 +01:00
i965: Don't link when the program was found in the disk cache
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Cc: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
c3a8ae105c
commit
478a73fdfa
1 changed files with 3 additions and 0 deletions
|
|
@ -225,6 +225,9 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
|
|||
unsigned int stage;
|
||||
struct shader_info *infos[MESA_SHADER_STAGES] = { 0, };
|
||||
|
||||
if (shProg->data->LinkStatus == linking_skipped)
|
||||
return GL_TRUE;
|
||||
|
||||
for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) {
|
||||
struct gl_linked_shader *shader = shProg->_LinkedShaders[stage];
|
||||
if (!shader)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue