anv/gen8_pipeline: Add an assert to ensure use_alt_mode is not set in prog_data

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
Anuj Phogat 2016-09-26 11:08:33 -07:00
parent fa04b57c15
commit 2abb7486f5
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ genX(graphics_pipeline_create)(
}
const struct brw_vs_prog_data *vs_prog_data = get_vs_prog_data(pipeline);
assert(!vs_prog_data->base.base.use_alt_mode);
/* Skip the VUE header and position slots */
offset = 1;
length = (vs_prog_data->base.vue_map.num_slots + 1) / 2 - offset;