tu: Don't invalidate irrelevant state when changing pipeline
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 13 Jul 2020 10:54:36 +0000 (12:54 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Tue, 14 Jul 2020 08:23:58 +0000 (10:23 +0200)
commitbf1376aba0e9967317bd5284b6bf324b5cea1b59
tree51ed3496aeaf83797a41dda04609578e2469217c
parenta16136796ff6e7dc31f3daa7c39762a787fbf169
tu: Don't invalidate irrelevant state when changing pipeline

At least in the future this could let us avoid re-emitting gfx/cs
constants when the other changes. This also matches what the blob does.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5877>
src/freedreno/vulkan/tu_pipeline.c