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:
parent
fa04b57c15
commit
2abb7486f5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue