[Mesa-dev] [PATCH 1/5] i965/gen9: Don't disallow fast clear for MSRT formats matching render
Neil Roberts
neil at linux.intel.com
Mon Nov 23 03:30:12 PST 2015
> Ben Widawsky <ben at 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 <neil at 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
More information about the mesa-dev
mailing list