draw: fix tessellation output vertex size calculation

This ensures space for the extra outputs is calculated in the
tes vertex outputs.

dEQP-VK.pipeline.misc.primitive_id_from_tess

Fixes: dacf8f5f5c ("draw: hook up final bits of tessellation")
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11000>
(cherry picked from commit 45d9e8bb99)
This commit is contained in:
Dave Airlie 2021-05-26 14:27:14 +10:00 committed by Eric Engestrom
parent e41eb8950b
commit 38b9255022
2 changed files with 2 additions and 2 deletions

View file

@ -3982,7 +3982,7 @@
"description": "draw: fix tessellation output vertex size calculation",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "dacf8f5f5c82c18e841050af37db54ca21c026ee"
},

View file

@ -265,7 +265,7 @@ llvm_middle_end_prepare_tes(struct llvm_middle_end *fpme)
}
}
variant = draw_tes_llvm_create_variant(llvm, tes->info.num_outputs, key);
variant = draw_tes_llvm_create_variant(llvm, draw_total_tes_outputs(draw), key);
if (variant) {
insert_at_head(&shader->variants, &variant->list_item_local);