anv: Move INTERFACE_DESCRIPTOR_DATA setup to the pipeline
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 12 Nov 2016 20:13:17 +0000 (12:13 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Nov 2016 18:09:16 +0000 (10:09 -0800)
commitd33e2ad67c3621a01648292ece2148aa8b7d2fdb
tree62f77b24375828225d9a70192ed91be45a922c0f
parent8db6f2e6ebb9b41aadfa8becef2f948ce1b27568
anv: Move INTERFACE_DESCRIPTOR_DATA setup to the pipeline

There are a few dynamic bits, namely binding table and sampler addresses,
but most of it is static and really belongs in the pipeline.  It certainly
doesn't belong in flush_compute_descriptor_set.  We'll use the same state
merging trick we use for gen7 DEPTH_STENCIL.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_pipeline.c