commit | 041f8ae9f6bab39361263f6c767ea5294f1aa011 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Thu Jun 22 12:58:39 2017 -0600 |
committer | Brian Paul <brianp@vmware.com> | Thu Jun 22 13:33:48 2017 -0600 |
tree | 9003dcf741439eebfb18ea859c6b6ba928a8813d | |
parent | 3fbdab8778d3b55ed6053a3781e92aeff85ca174 [diff] |
svga: check return value from svga_set_shader( SVGA3D_SHADERTYPE_GS, NULL) If the call fails we need to flush the command buffer and retry. In this case, we were failing to unbind the GS which led to subsequent errors. This fixes a bug replaying a Cinebench R15 apitrace in a Linux guest. VMware bug 1894451 cc: mesa-stable@lists.freedesktop.org Reviewed-by: Charmaine Lee <charmainel@vmware.com>