brw: add ability to compute VUE map for separate tcs/tes

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34872>
This commit is contained in:
Lionel Landwerlin
2025-04-23 11:51:17 +03:00
committed by Marge Bot
parent afea98593e
commit 8dee4813b0
4 changed files with 46 additions and 16 deletions
+2 -1
View File
@@ -203,7 +203,8 @@ brw_compile_tcs(const struct brw_compiler *compiler,
key->base.vue_layout, 1);
brw_compute_tess_vue_map(&vue_prog_data->vue_map,
nir->info.outputs_written,
nir->info.patch_outputs_written);
nir->info.patch_outputs_written,
nir->info.separate_shader);
brw_nir_apply_key(nir, compiler, &key->base, dispatch_width);
brw_nir_lower_vue_inputs(nir, &input_vue_map);