intel/compiler: Don't change hstride if not needed
authorIván Briano <ivan.briano@intel.com>
Wed, 23 Oct 2019 16:18:03 +0000 (09:18 -0700)
committerIván Briano <ivan.briano@intel.com>
Mon, 18 Nov 2019 22:19:41 +0000 (14:19 -0800)
commitca94717035f695fd25dd07bb16167c12520d86c3
tree24b8956eaf7492455fb66b2ca6b240c76b03efd9
parent3cd44839faa605590790a22d07123ec6d797c4ca
intel/compiler: Don't change hstride if not needed

Alignment requirements may have changed the horizontal stride already,
so don't set it if not required to avoid breaking said requirements.

Fixes several tests such as
dEQP-VK.subgroups.vote.graphics.subgroupallequal_int8_t

Signed-off-by: Iván Briano <ivan.briano@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_eu_emit.c