diff --git a/src/intel/common/intel_batch_decoder.c b/src/intel/common/intel_batch_decoder.c index 8c4387b8df0..b1df79f5b9d 100644 --- a/src/intel/common/intel_batch_decoder.c +++ b/src/intel/common/intel_batch_decoder.c @@ -351,6 +351,7 @@ dump_samplers(struct intel_batch_decode_ctx *ctx, uint32_t offset, int count) if (count * sampler_state_size >= bo.size) { fprintf(ctx->fp, " sampler state ends after bo ends\n"); + assert(!"sampler state ends after bo ends"); return; }