> Ben Widawsky <b...@bwidawsk.net> writes: > >>> + if (brw->gen >= 9 && >>> + brw_format_for_mesa_format(irb->mt->format) != >>> + brw->render_target_format[irb->mt->format]) >> >> Could you just do >> !brw->format_supported_as_render_target[irb->mt->format]?
Neil Roberts <n...@linux.intel.com> writes: > Hrm, yes, you're right, that would be much neater. Oh wait, no, that won't work because the formats that have this render target override are marked as renderable. Regards, - Neil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev