mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 02:40:37 +01:00
Double-buffer generated instructions and only notify driver when the
generated program differs from the previous one.
This commit is contained in:
parent
c5f5055097
commit
3ffe8731e6
1 changed files with 0 additions and 1 deletions
|
|
@ -789,7 +789,6 @@ void _mesa_UpdateTexEnvProgram( GLcontext *ctx )
|
|||
db_NumInstructions != p.program->Base.NumInstructions ||
|
||||
memcmp(db_Instructions, p.program->Instructions,
|
||||
db_NumInstructions * sizeof(*db_Instructions)) != 0) {
|
||||
_mesa_printf("new program string\n");
|
||||
ctx->Driver.ProgramStringNotify( ctx, GL_FRAGMENT_PROGRAM_ARB,
|
||||
&p.program->Base );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue