i965/urb: fixes division by zero
[mesa.git] / src / mesa / drivers / dri / i965 / brw_meta_util.h
index ac051e2b721ba0d9b62ecb23a0991c222978a825..0929497b1869962b54fa5fd6910d73cb3fb85f11 100644 (file)
@@ -70,6 +70,11 @@ brw_is_color_fast_clear_compatible(struct brw_context *brw,
                                    const struct intel_mipmap_tree *mt,
                                    const union gl_color_union *color);
 
+struct gl_renderbuffer *brw_get_rb_for_slice(struct brw_context *brw,
+                                             struct intel_mipmap_tree *mt,
+                                             unsigned level, unsigned layer,
+                                             bool flat);
+
 #ifdef __cplusplus
 }
 #endif