intel/compiler: Remove surface_idx from brw_image_param
[mesa.git] / src / mesa / drivers / dri / i965 / brw_nir_uniforms.cpp
index 8a560d9bac11392648f9460e13eb7fa0c094e0b9..0b028afdce73811aa70b2bfcb2038b6564359c67 100644 (file)
@@ -93,9 +93,6 @@ brw_setup_image_uniform_values(gl_shader_stage stage,
       /* Upload the brw_image_param structure.  The order is expected to match
        * the BRW_IMAGE_PARAM_*_OFFSET defines.
        */
-      setup_vec4_image_param(param + BRW_IMAGE_PARAM_SURFACE_IDX_OFFSET,
-                             image_idx,
-                             offsetof(brw_image_param, surface_idx), 1);
       setup_vec4_image_param(param + BRW_IMAGE_PARAM_OFFSET_OFFSET,
                              image_idx,
                              offsetof(brw_image_param, offset), 2);