mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 02:08:10 +02:00
ir3: Increase compute const size on a7xx
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30995>
(cherry picked from commit 5879eaac18)
This commit is contained in:
parent
6293074106
commit
655cdbd649
2 changed files with 4 additions and 3 deletions
|
|
@ -26254,7 +26254,7 @@
|
|||
"description": "ir3: Increase compute const size on a7xx",
|
||||
"nominated": false,
|
||||
"nomination_type": 3,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -189,11 +189,12 @@ ir3_compiler_create(struct fd_device *dev, const struct fd_dev_id *dev_id,
|
|||
compiler->max_const_safe = 100;
|
||||
|
||||
/* Compute shaders don't share a const file with the FS. Instead they
|
||||
* have their own file, which is smaller than the FS one.
|
||||
* have their own file, which is smaller than the FS one. On a7xx the size
|
||||
* was doubled.
|
||||
*
|
||||
* TODO: is this true on earlier gen's?
|
||||
*/
|
||||
compiler->max_const_compute = 256;
|
||||
compiler->max_const_compute = compiler->gen >= 7 ? 512 : 256;
|
||||
|
||||
/* TODO: implement clip+cull distances on earlier gen's */
|
||||
compiler->has_clip_cull = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue