llvmpipe/cs: overhaul cs variant key state.
authorDave Airlie <airlied@redhat.com>
Thu, 21 May 2020 03:21:51 +0000 (13:21 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Jun 2020 20:05:28 +0000 (06:05 +1000)
commite639e311a1a7dfcf04dd14f3d07f5d10b14eded0
treef6e74e13016b483f8b8ec3aa6888b0d61621f495
parent8735e96c5373a441757fbb4c0645cb3fdccc748a
llvmpipe/cs: overhaul cs variant key state.

This just realigns it with the fs state, and fixes some issues
where shaders weren't getting cached correctly.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5049>
src/gallium/drivers/llvmpipe/lp_state_cs.c
src/gallium/drivers/llvmpipe/lp_state_cs.h