anv: Delete dead shader constant pushing code
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 6 Nov 2019 20:13:44 +0000 (14:13 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Mon, 18 Nov 2019 18:35:14 +0000 (18:35 +0000)
commitebad00d9e7d38647614eaa4800d7ef7dfbfd5767
tree81eb6eb779ec3d8c92eeffefc3a71896963c4833
parent0709c0f6b40b1e365104b248464ffefa746b5052
anv: Delete dead shader constant pushing code

As of 2d78e55a8c5481, nir_intrinsic_load_constant with a constant offset
is constant-folded so we should never end up with any that trigger
brw_nir_analyze_ubo_ranges.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/genX_cmd_buffer.c