diff options
author | Kenneth Graunke <[email protected]> | 2017-07-25 10:22:01 -0700 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-07-27 18:54:41 +0100 |
commit | 47bca2cfa74f26f554f39dde675610eb82ada1ce (patch) | |
tree | 6de80105f0efcbf5e5a0ad82717d6acd1d755913 /src | |
parent | 04bb687f043ca7e8e7fc3b56f62f5758667598b5 (diff) |
i965: Fix = vs == in MCS aux usage assert.
Caught by Coverity (CID 1415680).
Cc: "17.2" <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
(cherry picked from commit 698636cc9762f090b75fd0421db7e654609e7715)
Fixes: 0f9b609cf4f ("i965/blorp: Do prepare/finish manually")
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_blorp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c index 36f7ed2a39d..a0f37780ef5 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.c +++ b/src/mesa/drivers/dri/i965/brw_blorp.c @@ -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); |