diff options
author | Brian Paul <brianp@vmware.com> | 2019-03-07 16:14:32 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-03-12 09:27:29 -0700 |
commit | 4119f81c9d10cb0caaa42269664eeef596c35715 (patch) | |
tree | 8a25881425837c0897515f8b8e9210664475b670 /src | |
parent | 750e7f89ce669a152a6c731f4127d5226d1dd83a (diff) | |
download | mesa-4119f81c9d10cb0caaa42269664eeef596c35715.tar.gz mesa-4119f81c9d10cb0caaa42269664eeef596c35715.tar.bz2 mesa-4119f81c9d10cb0caaa42269664eeef596c35715.zip |
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>
(cherry picked from commit d4381cf5939cd344af16197074e56555d8b5e738)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/svga/svga_cmd.c | 2 |
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); |