zink: don't pass so_info to ntv at all unless it's necessary
this is only needed for explicit xfb outputs Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9271>
This commit is contained in:
committed by
Marge Bot
parent
7ed57e60fc
commit
8937b5f268
@@ -450,7 +450,7 @@ update_so_info(struct zink_shader *zs, const struct pipe_stream_output_info *so_
|
||||
/* Map Gallium's condensed "slots" back to real VARYING_SLOT_* enums */
|
||||
zs->streamout.so_info_slots[zs->streamout.so_info.num_outputs++] = reverse_map[output->register_index];
|
||||
}
|
||||
zs->streamout.have_xfb = true;
|
||||
zs->streamout.have_xfb = !!zs->streamout.so_info.num_outputs;
|
||||
}
|
||||
|
||||
VkShaderModule
|
||||
|
||||
Reference in New Issue
Block a user