diff --git a/src/intel/common/gen_batch_decoder.c b/src/intel/common/gen_batch_decoder.c index ad9cc43e3f7..5abad86aed6 100644 --- a/src/intel/common/gen_batch_decoder.c +++ b/src/intel/common/gen_batch_decoder.c @@ -507,7 +507,7 @@ decode_single_ksp(struct gen_batch_decode_ctx *ctx, const uint32_t *p) struct gen_group *inst = gen_ctx_find_instruction(ctx, p); uint64_t ksp = 0; - bool is_simd8 = false; /* vertex shaders on Gen8+ only */ + bool is_simd8 = ctx->devinfo.gen >= 11; /* vertex shaders on Gen8+ only */ bool is_enabled = true; struct gen_field_iterator iter;