mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-17 19:10:36 +02:00
zink: fix xfb emit check in compiler
nir->info.has_transform_feedback_varyings is set for all stages in the pipeline when xfb is present, so it can't be used for this harmless, but this is more correct Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17404>
This commit is contained in:
parent
bd2eaaeb7d
commit
56e5eaeba1
1 changed files with 1 additions and 1 deletions
|
|
@ -3065,7 +3065,7 @@ zink_shader_create(struct zink_screen *screen, struct nir_shader *nir,
|
|||
NIR_PASS_V(nir, match_tex_dests);
|
||||
|
||||
ret->nir = nir;
|
||||
if (so_info && nir->info.outputs_written && nir->info.has_transform_feedback_varyings)
|
||||
if (so_info && so_info->num_outputs)
|
||||
update_so_info(ret, so_info, nir->info.outputs_written, have_psiz);
|
||||
else if (have_psiz) {
|
||||
bool have_fake_psiz = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue