+/**
+ * Struct filled in by the intrinsic_cb callback of nir_schedule_options to
+ * specify a backend-specific dependency on an intrinsic.
+ */
+typedef struct nir_schedule_dependency {
+ /* Which class of dependency this is. The meanings of the classes are
+ * specific to the backend. This must be less than
+ * NIR_SCHEDULE_N_DEPENDENCY_CLASSES.
+ */
+ int klass;
+ /* The type of dependency */
+ enum {
+ NIR_SCHEDULE_READ_DEPENDENCY,
+ NIR_SCHEDULE_WRITE_DEPENDENCY,
+ } type;
+} nir_schedule_dependency;
+