i965: pass gl_program directly to brw_compile_tes()
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 8 Nov 2016 01:07:12 +0000 (12:07 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 6 Jan 2017 00:21:41 +0000 (11:21 +1100)
commit2784128398e405405f0263d318ebe4121d1baf4c
tree95eab06252f142c3a5492cfb067320002b45ff63
parent2a4d169735fd4b76d60963561ac6878c703338f9
i965: pass gl_program directly to brw_compile_tes()

This is the only thing we use from gl_shader_program so pass it directly.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_tes.c