i965: Set the region of LINE's src0 to <0,1,0>.
authorMatt Turner <mattst88@gmail.com>
Tue, 19 Aug 2014 06:14:44 +0000 (23:14 -0700)
committerMatt Turner <mattst88@gmail.com>
Sat, 6 Dec 2014 00:43:31 +0000 (16:43 -0800)
commit92346db0578ef4796ced402ff33117713da7b9ee
tree91bb7bd04bc38d76f1223770e0ec92af6926ad68
parent9ed8d00ab546c8d3eadbefa5a6c553cbf9ebebeb
i965: Set the region of LINE's src0 to <0,1,0>.

The PRMs say that

   <src0> region must be a replicated scalar
   (with HorzStride = VertStride = 0).

but apparently that doesn't actually apply to all generations. I did
notice when implementing the optimization later in this series that G45
and ILK needed this regioning.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c