Skip to content

Add T4F_C4F_N4F_V4F and T4F_C4UB_N3F_V4F formats

Jon Daniel requested to merge jopadan/mesa:main into main

What does this MR do and why?

Add glInterleavedArrays vertex formats:

- T4F_C4F_N4F_V4F aligned 16 * sizeof(GLfloat) 4x4 square matrix
- T4F_C4UB_N3F_V4F 12 * sizeof(GLfloat) 4x3 matrix

example structures of added standard vertex formats
`
struct T4F_C4F_N4F_V4F
{
   vec::f32<4> tex;
   col::f32<rgbaf32> col;
   vec::f32<4> nor;
   vec::f32<4> pos;
};

struct T4F_C4UB_N3F_V4F
{
   vec::f32<4> tex;
   col::u8<rgba8888> col;
   vec::f32<3> nor;
   vec::f32<4> pos;
};
`
See [OpenGL-Registry pull request](https://github.com/KhronosGroup/OpenGL-Registry/pull/629)
Edited by Jon Daniel

Merge request reports