diff --git a/src/intel/tools/aubinator_viewer_decoder.cpp b/src/intel/tools/aubinator_viewer_decoder.cpp index b3bd7dd3562..dc10f1df235 100644 --- a/src/intel/tools/aubinator_viewer_decoder.cpp +++ b/src/intel/tools/aubinator_viewer_decoder.cpp @@ -252,9 +252,6 @@ dump_samplers(struct aub_viewer_decode_ctx *ctx, uint32_t offset, int count) { struct intel_group *strct = intel_spec_find_struct(ctx->spec, "SAMPLER_STATE"); - if (count < 0) - count = update_count(ctx, offset, strct->dw_length, 4); - uint64_t state_addr = ctx->dynamic_base + offset; struct intel_batch_decode_bo bo = ctx_get_bo(ctx, true, state_addr); const uint8_t *state_map = (const uint8_t *) bo.map; @@ -617,7 +614,7 @@ decode_3dstate_sampler_state_pointers(struct aub_viewer_decode_ctx *ctx, struct intel_group *inst, const uint32_t *p) { - dump_samplers(ctx, p[1], -1); + dump_samplers(ctx, p[1], 1); } static void @@ -625,9 +622,9 @@ decode_3dstate_sampler_state_pointers_gen6(struct aub_viewer_decode_ctx *ctx, struct intel_group *inst, const uint32_t *p) { - dump_samplers(ctx, p[1], -1); - dump_samplers(ctx, p[2], -1); - dump_samplers(ctx, p[3], -1); + dump_samplers(ctx, p[1], 1); + dump_samplers(ctx, p[2], 1); + dump_samplers(ctx, p[3], 1); } static bool