summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/stateblock9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-18 23:05:02 +0200
committerAxel Davy <[email protected]>2016-10-24 21:56:44 +0200
commit25beccb379731b0e6fc728982190779da47aa6fd (patch)
treece74dcdcdaf2f26747d4af45e9f99aef47e850c7 /src/gallium/state_trackers/nine/stateblock9.c
parentf35b1d156b302f3a8ac9f084f3db0394c35e6597 (diff)
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 <[email protected]> CC: "13.0" <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/stateblock9.c')
0 files changed, 0 insertions, 0 deletions