Lines Matching defs:layout
663 struct gl_interleaved_layout layout;
666 if (stride < 0 || !_mesa_get_interleaved_layout(format, &layout))
670 stride = layout.defstride;
677 if (layout.tflag) {
679 _mesa_glthread_AttribPointer(ctx, tex, layout.tcomps, GL_FLOAT, stride,
680 (GLubyte *) pointer + layout.toffset);
686 if (layout.cflag) {
688 _mesa_glthread_AttribPointer(ctx, VERT_ATTRIB_COLOR0, layout.ccomps,
689 layout.ctype, stride,
690 (GLubyte *) pointer + layout.coffset);
696 if (layout.nflag) {
699 stride, (GLubyte *) pointer + layout.noffset);
706 _mesa_glthread_AttribPointer(ctx, VERT_ATTRIB_POS, layout.vcomps, GL_FLOAT,
707 stride, (GLubyte *) pointer + layout.voffset);