freedreno/ir3: fix setting the max tf vertex when there are no outputs
Fixes dEQP-GLES3.functional.transform_feedback.* on a4xx. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13760>
This commit is contained in:
parent
c0de7ea0ab
commit
4ffcef821c
|
@ -562,9 +562,9 @@ ir3_update_max_tf_vtx(struct fd_context *ctx,
|
|||
uint32_t maxvtxcnt = 0x7fffffff;
|
||||
|
||||
if (v->shader->stream_output.num_outputs == 0)
|
||||
ctx->streamout.max_tf_vtx = 0;
|
||||
maxvtxcnt = 0;
|
||||
if (so->num_targets == 0)
|
||||
ctx->streamout.max_tf_vtx = 0;
|
||||
maxvtxcnt = 0;
|
||||
|
||||
/* offset to write to is:
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue