Skip to content

Implement support for RGB10A2 vertex formats

The majority of the formats described in ARB_vertex_type_2_10_10_10_rev are not supported directly in DirectX but they are a requirement for OpenGL 3.3. In the cases when such a format is specified as vertex element format, replace the format name by R32_UINT, and lower the decoding of the RGBA components in the vertex shader. This makes the piglit arb_vertex_type_2_10_10_10_rev-array_types.exe pass and also enables correct rendering with the simple renderer in Blender 2.83 (tested with the Char Demo).

Merge request reports