diff --git a/.pick_status.json b/.pick_status.json index 4daf595558c..825cdc177bb 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -427,7 +427,7 @@ "description": "r600: fix typo that could lead to a possible crash", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "a6b379284365e8adee780b691596d3a66de1ba93" }, diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 7029cd32c12..b8a2ae768d3 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -4274,7 +4274,7 @@ static void evergreen_set_shader_images(struct pipe_context *ctx, bool is_buffer = image->target == PIPE_BUFFER; struct r600_texture *rtex = (struct r600_texture *)image; - if (!is_buffer & rtex->db_compatible) + if (!is_buffer && rtex->db_compatible) istate->compressed_depthtex_mask |= 1 << i; else istate->compressed_depthtex_mask &= ~(1 << i);