mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
intel/batch_decoder: 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:
parent
bb8ee5f52d
commit
cd0f9cdb6e
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ dump_samplers(struct intel_batch_decode_ctx *ctx, uint32_t offset, int count)
|
|||
return;
|
||||
}
|
||||
|
||||
if (offset % 32 != 0 || state_addr - bo.addr >= bo.size) {
|
||||
if (offset % 32 != 0) {
|
||||
fprintf(ctx->fp, " invalid sampler state pointer\n");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue