diff --git a/.pick_status.json b/.pick_status.json index 74ace4f1643..f5200b5fcc7 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2464,7 +2464,7 @@ "description": "panfrost: don't try to emit varying shader stats on v12+", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "7819b103fa70b79e4f3de5b8a2bf6705ecacca9c", "notes": null diff --git a/src/gallium/drivers/panfrost/pan_shader.c b/src/gallium/drivers/panfrost/pan_shader.c index b349dcbe3b9..e571beec918 100644 --- a/src/gallium/drivers/panfrost/pan_shader.c +++ b/src/gallium/drivers/panfrost/pan_shader.c @@ -220,7 +220,8 @@ panfrost_shader_compile(struct panfrost_screen *screen, const nir_shader *ir, /* Report stats only if we really got the shader compiled */ if (out->binary.size > 0) { - if (s->info.stage == MESA_SHADER_VERTEX && out->info.vs.idvs) { + if (s->info.stage == MESA_SHADER_VERTEX && + out->info.vs.secondary_offset) { pan_stats_util_debug(dbg, "MESA_SHADER_POSITION", &out->info.stats); pan_stats_util_debug(dbg, "MESA_SHADER_VERTEX",