intel/compiler: Add a flag for pull constant support
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 29 Sep 2017 05:16:55 +0000 (22:16 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 05:39:30 +0000 (22:39 -0700)
commit4efd079aba165d5a046868ec77a27605724da858
tree96e71c5bab325d158d4c7ffbf084cd2dc136c651
parent9df64b56663c3ffaee081aa608db9e5163a4eeae
intel/compiler: Add a flag for pull constant support

The Vulkan driver does not support pull constants.  It simply limits
things such that we can always push everything.  Previously, we were
determining whether or not to push things based on whether or not the
prog_data::pull_param array is non-null.  This is rather hackish and
about to stop working.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_vec4_visitor.cpp
src/intel/vulkan/anv_device.c
src/mesa/drivers/dri/i965/intel_screen.c