Re: [Mesa-dev] [PATCH v2] panfrost: Take into account a index_bias for glDrawElementsBaseVertex calls

2019-08-05 Thread Alyssa Rosenzweig
> Bifrost does not accept a index_bias and relies instead on a bias > correction offset ( offset_bias_correction ) in order to calculate the > unbiased vertex index. Bifrost? > +/* Negative of min_index. This is done in order to identify each > vertex > + in vertex shader

[Mesa-dev] [PATCH v2] panfrost: Take into account a index_bias for glDrawElementsBaseVertex calls

2019-08-05 Thread Rohan Garg
Bifrost does not accept a index_bias and relies instead on a bias correction offset ( offset_bias_correction ) in order to calculate the unbiased vertex index. We need to make sure we adjust offset_start and vertex_count in order to take into account the index_bias as required by a