diff options
author | Eric Anholt <[email protected]> | 2018-04-25 09:47:40 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-04-25 12:14:33 -0700 |
commit | 069c409f434ab215940aad2092d5d236b410a7b9 (patch) | |
tree | cfc41de829a72614517478e5252f0c36a2d48306 /src/util/merge_driinfo.py | |
parent | 0d4ce00d700631cce26c62b865b4013ef45572e7 (diff) |
gallium/util: Fix incorrect refcounting of separate stencil.
The driver may have a reference on the separate stencil buffer for some
reason (like an unflushed job using it), so we can't directly free the
resource and should instead just decrement the refcount that we own.
Fixes double-free in KHR-GLES3.packed_depth_stencil.blit.depth32f_stencil8
on vc5.
Fixes: e94eb5e6000e ("gallium/util: add u_transfer_helper")
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/util/merge_driinfo.py')
0 files changed, 0 insertions, 0 deletions