diff options
author | Dave Airlie <[email protected]> | 2019-04-04 11:18:26 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-04-05 09:57:44 +1000 |
commit | 0ea386128b8fe4a4c0dc32101c4d4dd565723341 (patch) | |
tree | ae0745ae9556005c513335b2e8694a982fc52ff4 /build-support | |
parent | 42f63e6334c925f0eb11805f8b9279e4f449d976 (diff) |
iris: avoid use after free in shader destruction
While playing with compute shaders, I was getting a random crash,
noticed that bind_state was using the old shader info for comparision,
but gallium allows the shader to be deleted while bound, so this could
lead to a use after free.
This can't happen using the cso cache. As it tracks all of this.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'build-support')
0 files changed, 0 insertions, 0 deletions