summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vp_build.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-21 13:23:36 -0800
committerEric Anholt <[email protected]>2012-12-28 10:53:33 -0800
commitffdfafb06cf3ae468ceb3e504365016347f54bee (patch)
tree8f42084df572d7eddaabae112d338c3dc2637e04 /src/mesa/tnl/t_vp_build.c
parent6ccc505fc0bbd7aab3d14930d2d220bcdf2777de (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 'src/mesa/tnl/t_vp_build.c')
0 files changed, 0 insertions, 0 deletions