i965/icl: Add assertions to check dispatch mode is SIMD8
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 7 Feb 2018 00:47:04 +0000 (16:47 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Feb 2018 00:14:56 +0000 (16:14 -0800)
commit9c144dc81e11658c868867052d14d60cca55a641
tree941ac0a3e5cdf018f88a3fcdd5c473157ed81ab8
parent02e91b6d62b121d7bd8574d708ea3aa826eaadab
i965/icl: Add assertions to check dispatch mode is SIMD8

SIMD4x2 dispatch mode has been removed in GEN11. We're not using
it anyways in Mesa. Adding few asserts to make it explicit.

Use GEN_GEN macro in place of devinfo->gen (Ken)

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/blorp/blorp_genX_exec.h
src/mesa/drivers/dri/i965/genX_state_upload.c