It's actually encoding the "Round to FB precision" information.
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6797>
cfg.srgb = util_format_is_srgb(batch->key.cbufs[i]->format);
cfg.load_destination = blend[i].load_dest;
- cfg.dither_disable = !batch->ctx->blend->base.dither;
+ cfg.round_to_fb_precision = !batch->ctx->blend->base.dither;
if (!(dev->quirks & IS_BIFROST))
cfg.midgard_blend_shader = blend[i].is_shader;
<field name="Midgard blend shader" size="1" start="1" type="bool" default="false"/>
<field name="Enable" size="1" start="9" type="bool" default="true"/>
<field name="sRGB" size="1" start="10" type="bool" default="false"/>
- <field name="Dither disable" size="1" start="11" type="bool" default="false"/>
+ <field name="Round to FB precision" size="1" start="11" type="bool" default="false"/>
</struct>
<struct name="Midgard Blend" size="4" with_opaque="true">
unsigned flags = 0;
pan_pack(&flags, BLEND_FLAGS, cfg) {
- cfg.dither_disable = true;
+ cfg.round_to_fb_precision = true;
cfg.srgb = srgb;
cfg.midgard_blend_shader = blend_shader;
}