mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
hk: fix texture state count
default is 256 which is not what we want! perf issue maybe. Backport-to: 25.1 Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35189>
This commit is contained in:
parent
01c59030e8
commit
3c5c3d7819
1 changed files with 1 additions and 0 deletions
|
|
@ -832,6 +832,7 @@ hk_upload_shader(struct hk_device *dev, struct hk_shader *shader)
|
|||
cfg.preshader_register_count = shader->b.info.nr_preamble_gprs;
|
||||
cfg.sampler_state_register_count = agx_translate_sampler_state_count(
|
||||
shader->b.info.uses_txf ? 1 : 0, false);
|
||||
cfg.texture_state_register_count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue