anv: fixup push descriptor shader analysis

There are a couple mistakes here :

   - using a bitfield as an index to generate a bitfield...

   - in anv_nir_push_desc_ubo_fully_promoted(), confusing binding
     table access of the descriptor buffer with actual descriptors

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: ff91c5ca42 ("anv: add analysis for push descriptor uses and store it in shader cache")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27504>
(cherry picked from commit cf193af7626d70062f3814e3111d66959afc523f)
This commit is contained in:
Lionel Landwerlin 2024-02-07 10:16:57 +02:00 committed by Eric Engestrom
parent e814fc81b0
commit 2128a8a07b
4 changed files with 81 additions and 39 deletions

View file

@ -2714,7 +2714,7 @@
"description": "anv: fixup push descriptor shader analysis",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "ff91c5ca42bc80aa411cb3fd8f550aa6fdd16bdc",
"notes": null