diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 50e05a7cb02..8fe21e4e586 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -4224,7 +4224,11 @@ VkResult anv_GetPipelineExecutableStatisticsKHR( WRITE_STR(stat->description, "Largest SIMD dispatch width."); stat->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR; - stat->value.u64 = exe->stats.max_dispatch_width; + /* Report the max dispatch width only on the smallest SIMD variant */ + if (exe->stage != MESA_SHADER_FRAGMENT || exe->stats.dispatch_width == 8) + stat->value.u64 = exe->stats.max_dispatch_width; + else + stat->value.u64 = 0; } vk_outarray_append_typed(VkPipelineExecutableStatisticKHR, &out, stat) {