mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 08:20:12 +01:00
radv: fix assertion for the count of xfb output
It's an counter, not an index. Signed-off-by: Hyunjun Ko <zzoon@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16623>
This commit is contained in:
parent
04459c8287
commit
5b2756ec2c
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ gather_xfb_info(const nir_shader *nir, struct radv_shader_info *info)
|
|||
if (!xfb)
|
||||
return;
|
||||
|
||||
assert(xfb->output_count < MAX_SO_OUTPUTS);
|
||||
assert(xfb->output_count <= MAX_SO_OUTPUTS);
|
||||
so->num_outputs = xfb->output_count;
|
||||
|
||||
for (unsigned i = 0; i < xfb->output_count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue