draw/llvm: fix big-endian mask adjusting
authorDave Airlie <airlied@redhat.com>
Tue, 30 Jun 2020 03:21:04 +0000 (13:21 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 30 Jun 2020 23:52:56 +0000 (09:52 +1000)
commit2bf2e6c83d2b97ecc84589ec94c17cb7beed2c53
treee60f93272d7a6d5b9623f1a01cec9f20c43bff6d
parent0e6dfd11f220fd1c55b4dc2f371263414874f1fd
draw/llvm: fix big-endian mask adjusting

This code was broken, but it worked by accident, as the
pad and the edgeflag were reversed, however when Roland
removed the cliptest field back in 2015, he stopped copying
the pad which actually stopped copy the edgeflag.

Fix the function to actually copy the edgeflag.

Fixes: 1b22815af624 ("draw: don't pretend have_clipdist is per-vertex")
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5679>
src/gallium/auxiliary/draw/draw_llvm.c