llvmpipe: fix front/back face system value in the fs
authorRoland Scheidegger <sroland@vmware.com>
Sat, 27 Aug 2022 03:26:34 +0000 (05:26 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 3 Sep 2022 01:36:25 +0000 (03:36 +0200)
commit08615f2807ee1224c2d36700891524c2a05fa376
tree562b0f0b0ab0ca6779b39f26840a239cd524e5ef
parent723ae2368f682707544ee51017c88afc2c91a405
llvmpipe: fix front/back face system value in the fs

draw needs to inject the face information for tris in line/point fill
mode since llvmpipe only sees lines and points. But for the new style
face information (which is a system value and not an ordinary input
register) we forgot to tell draw.

Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18285>
src/gallium/drivers/llvmpipe/lp_state_derived.c