mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-10 05:38:18 +02:00
jay: Fix hard coded number of FS inputs
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42056>
This commit is contained in:
parent
c164ad3a00
commit
d4dce9d96c
1 changed files with 1 additions and 2 deletions
|
|
@ -2795,8 +2795,7 @@ setup_fragment_payload(struct nir_to_jay_state *nj, struct payload_builder *p)
|
|||
setup_payload_dispatch_start(nj, p);
|
||||
setup_payload_push(nj, p);
|
||||
|
||||
unsigned nr_attribs = 16 * 4; /* TODO */
|
||||
for (unsigned i = 0; i < nr_attribs; ++i) {
|
||||
for (unsigned i = 0; i < nj->s->prog_data->fs.num_varying_inputs * 4; ++i) {
|
||||
fs->deltas[i] = read_vector_payload(p, UGPR, 3);
|
||||
|
||||
/* Padding */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue