i965/blorp: Instruct vertex fetcher to provide prim instance id
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 26 Aug 2016 14:37:44 +0000 (17:37 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 12 Sep 2016 08:48:29 +0000 (11:48 +0300)
commite597821ef2292fff42488d44917f3480cceb56ad
tree67f9d922122a8de46bd48988ba1114ac41bdebf9
parent39712b2a14745861d06ab608ba9a56f1c006addc
i965/blorp: Instruct vertex fetcher to provide prim instance id

This will indicate target layer (Render Target Array Index) needed
for layered clears.

v2: Use 3DSTATE_VF_SGVS for gen8+

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/blorp/blorp_genX_exec.h