Skip to content
Snippets Groups Projects
Commit 93da6e9f authored by Axel Davy's avatar Axel Davy
Browse files

frontend/nine: Fix shader multi-use crash


Due to the driver live shader cache, it's possible
two different d3d9 shaders get the same cso.

As it's disallowed to destroy a shader cso being
bound, nine checks for this scenario. However it
was not taking into account the cso might be from
a different shader.

cc: mesa-stable

Signed-off-by: default avatarAxel Davy <davyaxel0@gmail.com>
Acked-by: default avatarDavid Heidelberg <david.heidelberg@collabora.com>
Part-of: <mesa/mesa!18021>
parent 4c65ccab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment