svga: remove SVGA_RELOC_READ flag in SVGA3D_BindGBSurface()
This fixes a rendering issue where UBO updates aren't always picked up by drawing calls. This issue effected the Webots robotics simulator. VMware bug 2175527. Testing Done: Webots replay, piglit, misc Linux games Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
This commit is contained in:
@@ -1693,7 +1693,7 @@ SVGA3D_BindGBSurface(struct svga_winsys_context *swc,
|
||||
return PIPE_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
swc->surface_relocation(swc, &cmd->sid, &cmd->mobid, surface,
|
||||
SVGA_RELOC_READ | SVGA_RELOC_INTERNAL);
|
||||
SVGA_RELOC_READ);
|
||||
|
||||
swc->commit(swc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user