i965: stop passing stage as a function parameter
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 25 Sep 2016 12:50:28 +0000 (22:50 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sun, 25 Sep 2016 23:59:24 +0000 (09:59 +1000)
commiteb2dc04127df64c43c7fc540e4c370a6005e7736
treefdeed8754113f4ace611a50537a50608bfd667b0
parentb3827819aac4304329ab80dd052a7554afa3b811
i965: stop passing stage as a function parameter

We already pass the shader so we can just get the stage from this.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_link.cpp