mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 19:00:13 +01:00
radv: remove useless as_ngg_passthrough init when lowering NGG in NIR
Nothing reads the value after that, except LLVM but we don't lower it in NIR (yet). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13025>
This commit is contained in:
parent
1c92d355c6
commit
4c0bced1fb
1 changed files with 0 additions and 1 deletions
|
|
@ -989,7 +989,6 @@ void radv_lower_ngg(struct radv_device *device, struct nir_shader *nir,
|
|||
info->has_ngg_early_prim_export = out_conf.early_prim_export;
|
||||
info->num_lds_blocks_when_not_culling = DIV_ROUND_UP(out_conf.lds_bytes_if_culling_off, device->physical_device->rad_info.lds_encode_granularity);
|
||||
info->is_ngg_passthrough = out_conf.passthrough;
|
||||
key->vs_common_out.as_ngg_passthrough = out_conf.passthrough;
|
||||
} else if (nir->info.stage == MESA_SHADER_GEOMETRY) {
|
||||
assert(info->is_ngg);
|
||||
ac_nir_lower_ngg_gs(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue