diff options
author | Axel Davy <axel.davy@ens.fr> | 2016-10-18 23:05:02 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-27 11:01:38 +0100 |
commit | 32caa7438a49bcef2e575c03da825beb198403e8 (patch) | |
tree | 31bdef7c5d366ed0ba677d4da46107bfc98b184a /install-gallium-links.mk | |
parent | 074ede8d4ff6e4e94b5be550ff38628b21940b2d (diff) | |
download | external_mesa3d-32caa7438a49bcef2e575c03da825beb198403e8.zip external_mesa3d-32caa7438a49bcef2e575c03da825beb198403e8.tar.gz external_mesa3d-32caa7438a49bcef2e575c03da825beb198403e8.tar.bz2 |
st/nine: Fix leak with integer and boolean constants
Leak introduced by:
a83dce01284f220b1bf932774730e13fca6cdd20
The patch also moves the part to
release changed.vs_const_i and changed.vs_const_b
before the if (!cb.buffer_size) check,
to avoid reuploading every draw call if
integer or boolean constants are dirty, but the shaders
use no constants.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
CC: "13.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 25beccb379731b0e6fc728982190779da47aa6fd)
Diffstat (limited to 'install-gallium-links.mk')
0 files changed, 0 insertions, 0 deletions