intel/aub_viewer: drop bogus check

state_addr == bo.addr, bo.size==0 is handled by another check

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9707>
This commit is contained in:
Marcin Ślusarz
2021-03-19 11:32:46 +01:00
committed by Marge Bot
parent 2b5f9602b7
commit 186301a232
+1 -1
View File
@@ -265,7 +265,7 @@ dump_samplers(struct aub_viewer_decode_ctx *ctx, uint32_t offset, int count)
return;
}
if (offset % 32 != 0 || state_addr - bo.addr >= bo.size) {
if (offset % 32 != 0) {
ImGui::TextColored(ctx->cfg->missing_color, "invalid sampler state pointer");
return;
}