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>
This commit is contained in:
Dave Airlie 2021-05-26 14:27:14 +10:00
parent 0aab06e6d3
commit 45d9e8bb99
1 changed files with 1 additions and 1 deletions

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);