mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-03 00:00:25 +01:00
r600: make sure the active vertex shader bo is re-added to persistent list.
This commit is contained in:
parent
dc60d0db52
commit
8c1d85cebe
1 changed files with 7 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "radeon_mipmap_tree.h"
|
||||
#include "r600_tex.h"
|
||||
#include "r700_fragprog.h"
|
||||
#include "r700_vertprog.h"
|
||||
|
||||
void r600UpdateTextureState(GLcontext * ctx);
|
||||
|
||||
|
|
@ -696,6 +697,12 @@ GLboolean r600ValidateBuffers(GLcontext * ctx)
|
|||
RADEON_GEM_DOMAIN_GTT, 0);
|
||||
}
|
||||
|
||||
pbo = (struct radeon_bo *)r700GetActiveVpShaderBo(ctx);
|
||||
if (pbo) {
|
||||
radeon_cs_space_add_persistent_bo(rmesa->radeon.cmdbuf.cs, pbo,
|
||||
RADEON_GEM_DOMAIN_GTT, 0);
|
||||
}
|
||||
|
||||
ret = radeon_cs_space_check_with_bo(rmesa->radeon.cmdbuf.cs, first_elem(&rmesa->radeon.dma.reserved)->bo, RADEON_GEM_DOMAIN_GTT, 0);
|
||||
if (ret)
|
||||
return GL_FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue