tu: Split pipeline struct into different types
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 28 Mar 2023 09:56:54 +0000 (11:56 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 3 Jul 2023 19:51:05 +0000 (19:51 +0000)
commit56cd6a8b6474f78ca61fdd34139ae854e1611cb4
tree2df0f2cf8f100eed1ef112e74db71dd0cfc20f6e
parentdb1ea9f749eabd99c442b9d37f65b93ed9d87a19
tu: Split pipeline struct into different types

The common state code expects you to use a different struct for state in
graphics pipelines and in pipeline libraries. This means we need to
copy the approach radv uses in order to be compatible. This also allows
us to shrink the structs a bit by moving compute-only things to the
compute pipeline and library-only things to the library pipeline.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22301>
src/freedreno/vulkan/tu_cmd_buffer.cc
src/freedreno/vulkan/tu_cmd_buffer.h
src/freedreno/vulkan/tu_lrz.cc
src/freedreno/vulkan/tu_pipeline.cc
src/freedreno/vulkan/tu_pipeline.h