commit | 0e3bb4aa9136e9c45ca1c36c9566171406d6c1d0 | [log] [tgz] |
---|---|---|
author | Brendan Dougherty <brandougherty1@gmail.com> | Wed Nov 11 11:26:39 2020 -0600 |
committer | Dylan Baker <dylan.c.baker@intel.com> | Fri Nov 13 10:05:40 2020 -0800 |
tree | 90612dcf9c2b3708b5be65f509060f075eaf1b08 | |
parent | 7762b3cda4c062291c47103967b51ce579dc8db1 [diff] |
mesa: Fix vertex_format_to_pipe_format index. Corrects the index into the vertex_formats table for `integer` and `normalized` values other than 0 or 1. Fixes: e6448f993b1 ("mesa: translate into gallium vertex formats in mesa/main") Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7554> (cherry picked from commit 9edb6e1be0f8ac65496e1f0da6c78376d81d70ff)