mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 16:38:09 +02:00
call Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up the change in the r200 driver accordingly.
This commit is contained in:
parent
3cd06cf8c5
commit
5785e328e0
2 changed files with 5 additions and 0 deletions
|
|
@ -1205,6 +1205,9 @@ r200ProgramStringNotify(GLcontext *ctx, GLenum target, struct gl_program *prog)
|
|||
r200_translate_vertex_program(ctx, vp);
|
||||
rmesa->curr_vp_hw = NULL;
|
||||
break;
|
||||
case GL_FRAGMENT_SHADER_ATI:
|
||||
rmesa->afs_loaded = NULL;
|
||||
break;
|
||||
}
|
||||
/* need this for tcl fallbacks */
|
||||
_tnl_program_string(ctx, target, prog);
|
||||
|
|
|
|||
|
|
@ -400,6 +400,8 @@ _mesa_EndFragmentShaderATI(void)
|
|||
}
|
||||
}
|
||||
#endif
|
||||
if (ctx->Driver.ProgramStringNotify)
|
||||
ctx->Driver.ProgramStringNotify( ctx, GL_FRAGMENT_SHADER_ATI, NULL );
|
||||
}
|
||||
|
||||
void GLAPIENTRY
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue