diff options
-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 3bb93c750b4..474b75c3c86 100644 --- a/src/gallium/drivers/svga/svga_cmd.c +++ b/src/gallium/drivers/svga/svga_cmd.c @@ -1652,7 +1652,7 @@ SVGA3D_BindGBShader(struct svga_winsys_context *swc, SVGA3D_FIFOReserve(swc, SVGA_3D_CMD_BIND_GB_SHADER, sizeof *cmd, - 1); /* one relocation */ + 2); /* two relocations */ if (!cmd) return PIPE_ERROR_OUT_OF_MEMORY; |