i965/vec4: Generate URB writes using a loop.
authorPaul Berry <stereotype441@gmail.com>
Tue, 3 Sep 2013 19:30:06 +0000 (12:30 -0700)
committerPaul Berry <stereotype441@gmail.com>
Mon, 16 Sep 2013 19:53:49 +0000 (12:53 -0700)
commit784044c206efd774ce1f7a481311480f85446887
treeb80744b5428849537633f1f876c9698e306d0267
parent875972029eddfd53cb90a8e34e9f27b2afed119f
i965/vec4: Generate URB writes using a loop.

Previously we only ever did 1 or 2 URB writes, since the maximum
number of varyings we support is small enough to fit in 2 URB writes.
But GL 3.2 requires the geometry shader to support 128 output varying
components, and this could require up to 3 URB writes.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp