anv: fixup compute walker storage length

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 9aef4ceb13 ("anv: hold a prepacked COMPUTE_WALKER instruction on CS pipelines")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33593>
This commit is contained in:
Lionel Landwerlin 2025-02-18 09:22:13 +02:00 committed by Marge Bot
parent 66bbb79df9
commit cf3a343800
2 changed files with 2 additions and 1 deletions

View file

@ -5036,7 +5036,7 @@ struct anv_compute_pipeline {
uint32_t gpgpu_walker[15];
} gfx9;
struct {
uint32_t compute_walker[39];
uint32_t compute_walker[40];
} gfx125;
};

View file

@ -2119,6 +2119,7 @@ genX(compute_pipeline_emit)(struct anv_compute_pipeline *pipeline)
},
};
assert(ARRAY_SIZE(pipeline->gfx125.compute_walker) >= GENX(COMPUTE_WALKER_length));
GENX(COMPUTE_WALKER_pack)(NULL, pipeline->gfx125.compute_walker, &walker);
}