i965: Use ctx->Const.MaxVertexStreams rather than BRW_XFB_MAX_STREAMS.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 17 Feb 2017 05:15:07 +0000 (21:15 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Feb 2017 20:38:13 +0000 (12:38 -0800)
commit42a4f918208b483e98e06fb92e3029f3cc171e7e
tree4b1457e3a1517707ecff91b4cf118434a83eab76
parent2af5f0caad1fc094588e5583363a9f9d39f2e2fe
i965: Use ctx->Const.MaxVertexStreams rather than BRW_XFB_MAX_STREAMS.

This way on Sandybridge we'll only do 1 stream worth of math, since
we only have one SO_NUM_PRIMS_WRITTEN counter.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/gen6_sol.c