vc4: Check the V3D version reported by the kernel.
[mesa.git] / src / gallium / drivers / vc4 / vc4_screen.h
index 03f76b257e3578f7327b0c0b9767f2ae713a3eef..9bd2765031c3517786add2924d1e2109933e0294 100644 (file)
@@ -50,6 +50,8 @@ struct vc4_screen {
         struct pipe_screen base;
         int fd;
 
+        int v3d_ver;
+
         void *simulator_mem_base;
         uint32_t simulator_mem_size;
 
@@ -75,6 +77,7 @@ struct vc4_screen {
 
         uint32_t bo_size;
         uint32_t bo_count;
+        bool has_control_flow;
 };
 
 static inline struct vc4_screen *