commit | 60b9c00afd25d0294b508f490ae46389f6fdc3bb | [log] [tgz] |
---|---|---|
author | Juan A. Suarez Romero <jasuarez@igalia.com> | Fri Oct 16 17:07:57 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Nov 05 12:15:29 2020 +0000 |
tree | e38982a10f2b29566ad06690f4e4184b63b298e0 | |
parent | 9648bfba5641ae8609a9638b3fa888d59b27e006 [diff] |
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. Suarez Romero <jasuarez@igalia.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3078 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7196>