intel/fs: Don't use automatic exec size inference
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 Aug 2017 16:53:02 +0000 (09:53 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
commit1ca3a9442760b6f7ffcc624bdc527fc7dbc70825
tree98908e2cf1c2fd3f9c1815e8f3a479dd7a060dd8
parentdc4cf11dfc6c0fa7a3e086f16afba0a369fe320a
intel/fs: Don't use automatic exec size inference

The automatic exec size inference can accidentally mess things up if
we're not careful.  For instance, if we have

add(4)    g38.2<4>D    g38.1<8,2,4>D    g38.2<8,2,4>D

then the destination register will end up having a width of 2 with a
horizontal stride of 4 and a vertical stride of 8.  The EU emit code
sees the width of 2 and decides that we really wanted an exec size of 2
which doesn't do what we wanted.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/compiler/brw_fs_generator.cpp