diff options
author | Eric Anholt <[email protected]> | 2012-11-21 13:23:36 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-12-28 10:53:33 -0800 |
commit | ffdfafb06cf3ae468ceb3e504365016347f54bee (patch) | |
tree | 8f42084df572d7eddaabae112d338c3dc2637e04 /configs | |
parent | 6ccc505fc0bbd7aab3d14930d2d220bcdf2777de (diff) |
i965: Add texrect scale parameters before pointers to ParameterValues.
If adding scale parameters during program compile caused a realloc of
ParameterValues, then the driver uniform storage set up by
_mesa_associate_uniform_storage() would point to potentially freed
memory.
Note that this uses TexturesUsed, which may change at runtime for GLSL
when sampler uniforms change. This is a flaw in our handling of texrect
in general, and not one I'm fixing currently.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions