/* brw_surface_formats.c */
bool brw_is_hiz_depth_format(struct intel_context *ctx, gl_format format);
+bool brw_render_target_supported(struct intel_context *intel,
+ struct gl_renderbuffer *rb);
/* gen6_sol.c */
void
brw->intel.vtbl.destroy = brw_destroy_context;
brw->intel.vtbl.debug_batch = brw_debug_batch;
brw->intel.vtbl.annotate_aub = brw_annotate_aub;
- brw->intel.vtbl.render_target_supported = brw_render_target_supported;
assert(brw->intel.gen >= 4);
if (brw->intel.gen >= 7) {
struct gl_shader_program *brw_new_shader_program(struct gl_context *ctx, GLuint name);
bool brw_color_buffer_write_enabled(struct brw_context *brw);
-bool brw_render_target_supported(struct intel_context *intel,
- struct gl_renderbuffer *rb);
bool do_wm_prog(struct brw_context *brw,
struct gl_shader_program *prog,
struct brw_fragment_program *fp,
void (*debug_batch)(struct intel_context *intel);
void (*annotate_aub)(struct intel_context *intel);
- bool (*render_target_supported)(struct intel_context *intel,
- struct gl_renderbuffer *rb);
void (*update_texture_surface)(struct gl_context *ctx,
unsigned unit,
continue;
}
- if (!intel->vtbl.render_target_supported(intel, rb)) {
+ if (!brw_render_target_supported(intel, rb)) {
fbo_incomplete(fb, "FBO incomplete: Unsupported HW "
"texture/renderbuffer format attached: %s\n",
_mesa_get_format_name(intel_rb_format(irb)));