This code has been in the driver since the first commit. I think it was
trying to stop rendering from happening with a disabled position array. Core
mesa has since had changes to deal with disabled position arrays correctly.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
* when we've decided if we're doing interleaved or not.
*/
if (nr_uploads == 0) {
- /* Position array not properly enabled:
- */
- if (input->attrib == VERT_ATTRIB_POS && glarray->StrideB == 0) {
- intel->Fallback = true; /* boolean, not bitfield */
- return;
- }
-
interleaved = glarray->StrideB;
ptr = glarray->Ptr;
}