summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-02-16 01:02:52 -0500
committerEmil Velikov <[email protected]>2016-03-12 01:16:49 +0000
commit1e9d8fa8a81abd01d935d381a59ce87c91a595ea (patch)
tree1796f9c890dcac90b6a94435b2d57a842ede37c1 /src/compiler
parent580cab2d9958280227437c0b7209caf848582667 (diff)
nvc0: reset TFB bufctx when we no longer hold a reference to the buffers
This fixes some use-after-free situations in dEQP when an xfb state is removed, and then a clear is triggered, which only does a partial validation. It would attempt to read the no-longer-valid buffers, resulting in crashes. Signed-off-by: Ilia Mirkin <[email protected]> Cc: "11.1 11.2" <[email protected]> (cherry picked from commit ff085d014ed8ccce230769575e50924561218d98) [Emil Velikov: s/NVC0_BIND_3D_TFB/NVC0_BIND_TFB/] Signed-off-by: Emil Velikov <[email protected]> Conflicts: src/gallium/drivers/nouveau/nvc0/nvc0_shader_state.c src/gallium/drivers/nouveau/nvc0/nvc0_state.c
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions