diff --git a/src/mesa/drivers/dri/i965/brw_blorp.cpp b/src/mesa/drivers/dri/i965/brw_blorp.cpp index 6b3600d..616403b 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.cpp +++ b/src/mesa/drivers/dri/i965/brw_blorp.cpp @@ -107,7 +107,9 @@ brw_blorp_surface_info::set(struct brw_context *brw, break; default: { gl_format linear_format = _mesa_get_srgb_format_linear(mt->format); - if (is_render_target) { + if (is_render_target || + mt->format == MESA_FORMAT_INTENSITY_FLOAT32 || + mt->format == MESA_FORMAT_LUMINANCE_FLOAT32) { assert(brw->format_supported_as_render_target[linear_format]); this->brw_surfaceformat = brw->render_target_format[linear_format]; } else {