mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
brw: Only lower system values for passthrough TCS
This cuts 75 passes that do nothing useful. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39926>
This commit is contained in:
parent
78bab99812
commit
a8481295d8
1 changed files with 1 additions and 2 deletions
|
|
@ -3276,8 +3276,7 @@ brw_nir_create_passthrough_tcs(void *mem_ctx, const struct brw_compiler *compile
|
|||
nir->info.tess._primitive_mode = key->_tes_primitive_mode;
|
||||
nir_validate_shader(nir, "in brw_nir_create_passthrough_tcs");
|
||||
|
||||
struct brw_nir_compiler_opts opts = {};
|
||||
brw_preprocess_nir(compiler, nir, &opts);
|
||||
NIR_PASS(_, nir, nir_lower_system_values);
|
||||
|
||||
return nir;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue