mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 18:00:24 +01:00
i965: Fix = vs == in MCS aux usage assert.
Caught by Coverity (CID 1415680). Cc: "17.2" <mesa-stable@lists.freedesktop.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit698636cc97) Fixes:0f9b609cf4("i965/blorp: Do prepare/finish manually")
This commit is contained in:
parent
04bb687f04
commit
47bca2cfa7
1 changed files with 1 additions and 1 deletions
|
|
@ -1103,7 +1103,7 @@ brw_blorp_mcs_partial_resolve(struct brw_context *brw,
|
|||
DBG("%s to mt %p layers %u-%u\n", __FUNCTION__, mt,
|
||||
start_layer, start_layer + num_layers - 1);
|
||||
|
||||
assert(mt->aux_usage = ISL_AUX_USAGE_MCS);
|
||||
assert(mt->aux_usage == ISL_AUX_USAGE_MCS);
|
||||
|
||||
const mesa_format format = _mesa_get_srgb_format_linear(mt->format);
|
||||
enum isl_format isl_format = brw_blorp_to_isl_format(brw, format, true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue