OSDN Git Service

anv/nir: Rework arguments to apply_pipeline_layout
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 21 Nov 2018 23:19:37 +0000 (17:19 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 22 Nov 2018 15:17:28 +0000 (09:17 -0600)
commita24654b49d36609b43a5ef6f04453ab284a6ea4f
tree7c5e61788a74ed7b30b5ea303de4a3fa8a27b80b
parent617e402b3d1be185f200b1667540096d9a8b2aec
anv/nir: Rework arguments to apply_pipeline_layout

Instead of taking a whole pipeline (which could be anything!), just take
a physical device and robust_buffer_access boolean.  This makes it
easier to verify that only the things in the hash actually affect
pipeline compilation.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/vulkan/anv_nir.h
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_pipeline.c