diff options
author | Anuj Phogat <[email protected]> | 2018-02-06 16:47:04 -0800 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2018-02-15 16:14:56 -0800 |
commit | 9c144dc81e11658c868867052d14d60cca55a641 (patch) | |
tree | 941ac0a3e5cdf018f88a3fcdd5c473157ed81ab8 /src/intel/blorp | |
parent | 02e91b6d62b121d7bd8574d708ea3aa826eaadab (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/blorp')
-rw-r--r-- | src/intel/blorp/blorp_genX_exec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h index 0fcb94f1c5d..737720a70c9 100644 --- a/src/intel/blorp/blorp_genX_exec.h +++ b/src/intel/blorp/blorp_genX_exec.h @@ -572,6 +572,8 @@ blorp_emit_vs_config(struct blorp_batch *batch, const struct blorp_params *params) { struct brw_vs_prog_data *vs_prog_data = params->vs_prog_data; + assert(!vs_prog_data || GEN_GEN < 11 || + vs_prog_data->base.dispatch_mode == DISPATCH_MODE_SIMD8); blorp_emit(batch, GENX(3DSTATE_VS), vs) { if (vs_prog_data) { |