zink: fix streamout for clipdistance

the assert added here during review broke this since clipdistance is 8 components

Fixes: 9eec52c67e ("zink: tweak xfb slot mapping in ntv")

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8673>
This commit is contained in:
Mike Blumenkrantz 2021-01-23 16:21:36 -05:00 committed by Marge Bot
parent f0b0095fec
commit b6f8f3a3ba
1 changed files with 1 additions and 1 deletions

View File

@ -1249,7 +1249,7 @@ emit_so_outputs(struct ntv_context *ctx,
while (!output)
output = ctx->outputs[location--];
location++;
assert(orig_location - location < 4);
assert(orig_location - location < 8);
SpvId output_type = ctx->so_output_types[location];
const struct glsl_type *out_type = ctx->so_output_gl_types[location];