summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2019-03-07 16:14:32 -0700
committerBrian Paul <[email protected]>2019-03-08 07:40:35 -0700
commitd4381cf5939cd344af16197074e56555d8b5e738 (patch)
tree63b5e19802133e7702d8748c894f8362091aa441 /src/gallium/drivers
parent07e8a31e494702e993a4fa1fa2a04ab3e3c4a011 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/svga/svga_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_cmd.c b/src/gallium/drivers/svga/svga_cmd.c
index 5557d208171..6577c839cf0 100644
--- a/src/gallium/drivers/svga/svga_cmd.c
+++ b/src/gallium/drivers/svga/svga_cmd.c
@@ -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);