anv: consider dynamic state when creating pipeline
authorTapani Pälli <tapani.palli@intel.com>
Tue, 9 Jun 2020 11:16:37 +0000 (14:16 +0300)
committerMarge Bot <eric+marge@anholt.net>
Sun, 2 Aug 2020 17:44:54 +0000 (17:44 +0000)
commit11f3fb9a4e2fbb8f57cb770fc6f4c90ef3338cb0
tree921c017a43515abeb129312b8b47d5e4f142c195
parent65de778e0b592f76964631b1e9f87f2cb55a7861
anv: consider dynamic state when creating pipeline

Leave default state values as zero so that when we OR them later
it is only the dynamic state value that matters.

v2: code cleanup + skip topology emit in base batch
    when topology is dynamic (Lionel)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5604>
src/intel/vulkan/genX_pipeline.c