Commit 60b9c00a authored by Juan A. Suárez's avatar Juan A. Suárez Committed by Marge Bot

v3d: Add GL_ARB_vertex_array_bgra support

This is done by adding support to PIPE_FORMAT_B8G8R8A8_UNORM, and
relying on the R/B swapping for vertex attributes implemented in the
compiler.

v2:
 - Simplify the loop (Iago)

v3:
 - Assert before derreferencing variable (Iago).
Signed-off-by: Juan A. Suárez's avatarJuan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Iago Toral's avatarIago Toral Quiroga <itoral@igalia.com>
Closes: #3078
Part-of: <!7196>
parent 9648bfba
Pipeline #224307 waiting for manual action with stages
in 1 minute and 55 seconds