svga: SVGA_3D_CMD_BIND_GB_SHADER needs to reserve two relocations.
authorMatthew McClure <mcclurem@vmware.com>
Fri, 27 Jun 2014 17:24:08 +0000 (10:24 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 4 Aug 2014 20:06:13 +0000 (14:06 -0600)
commitff0cbfb3db40d27864d2a62dd46468513987e936
tree5fa109879d92411685a34de24f035661bbbb184d
parent0236e75b2a44b85946857aa8f347c2afe8dd4d7c
svga: SVGA_3D_CMD_BIND_GB_SHADER needs to reserve two relocations.

With this patch, the SVGA_3D_CMD_BIND_GB_SHADER functionality will reserve
two relocations, one for the shader ID and the second for the MOB ID.

Verified with the WDDM winsys path that the number of relocations and patch
locations required is two.

Fixes Bug 1277406

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_cmd.c