Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
#include "tgsi/tgsi_scan.h"
+#include "svga_screen.h"
#include "svga_state.h"
#include "svga_tgsi.h"
+#include "svga_winsys.h"
#include "svga_hw_reg.h"
#include "svga3d_shaderdefs.h"
}
+static INLINE boolean
+svga_have_gb_objects(const struct svga_context *svga)
+{
+ return svga_screen(svga->pipe.screen)->sws->have_gb_objects;
+}
+
+static INLINE boolean
+svga_have_gb_dma(const struct svga_context *svga)
+{
+ return svga_screen(svga->pipe.screen)->sws->have_gb_dma;
+}
+
#endif