mesa/ptn: Use nir_variable_create
[mesa.git] / src / mesa / state_tracker / st_context.h
index 267aa32ad784871030bee5fc09a67790f6a5b1e7..31539d9db7d5cf0da69e40958d736c608a005503 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "main/arrayobj.h"
 #include "main/mtypes.h"
-#include "state_tracker/st_api.h"
+#include "frontend/api.h"
 #include "main/fbobject.h"
 #include "state_tracker/st_atom.h"
 #include "util/u_helpers.h"
@@ -182,6 +182,10 @@ struct st_context
    boolean draw_needs_minmax_index;
    boolean has_hw_atomics;
 
+
+   /* driver supports scissored clears */
+   boolean can_scissor_clear;
+
    /* Some state is contained in constant objects.
     * Other state is just parameter values.
     */