i965: Move TES input VUE map calculation out a layer.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 7 Mar 2016 23:46:47 +0000 (15:46 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Jan 2017 06:24:10 +0000 (22:24 -0800)
commit86b9be777f11b1226565350363e6b39f7b2f22c8
tree0d1492b0b6a387890def635143223499d3fae002
parent6e8ac0641fa0276fb23b2fd3811ffc4081d42fd6
i965: Move TES input VUE map calculation out a layer.

In Vulkan, we'll compile the TCS and TES at the same time, so I can just
pass the TCS output VUE map to brw_compile_tes as the TES input VUE map.

So, we only need to do this in GL.  Move it to the GL-specific layer.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_tes.c