intel/compiler: Remove surface_idx from brw_image_param
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Aug 2018 14:15:56 +0000 (09:15 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 29 Aug 2018 19:04:03 +0000 (14:04 -0500)
commitd8033d4083d341f3351c8ca929935617b9b16f3a
tree8e3267f9bd36084229e790ddde01b49f752ca24a
parent3cbc02e4693030d18a24602cf72e693b92e1a7a3
intel/compiler: Remove surface_idx from brw_image_param

Now that the drivers are lowering to surface indices themselves, we no
longer need to push the surface index into the shader.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_nir_lower_image_load_store.c
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/genX_cmd_buffer.c
src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp
src/mesa/drivers/dri/i965/brw_wm_surface_state.c