android: fix cflags and includes for amdgpu winsys
[mesa.git] / src / gallium / drivers / svga / svga_cmd.c
index 3bb93c750b40323d38239e16e0454a32d0c9df53..b271832171d4a2f5fb45d8fa5191562a0b16828e 100644 (file)
@@ -57,7 +57,7 @@
  *----------------------------------------------------------------------
  */
 
-static INLINE void
+static inline void
 surface_to_surfaceid(struct svga_winsys_context *swc, // IN
                      struct pipe_surface *surface,    // IN
                      SVGA3dSurfaceImageId *id,        // OUT
@@ -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;