mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-18 08:00:34 +01:00
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:
parent
66bbb79df9
commit
cf3a343800
2 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue