glsl: Optionally lower TCS gl_PatchVerticesIn to a uniform.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 27 May 2016 03:21:58 +0000 (20:21 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 15 Jun 2016 19:47:37 +0000 (12:47 -0700)
commit2b867264d2cce59bd65bd3599ff0e3c5439bc9d4
tree5547dade3548cd8da3e7a550786a39fac0c3af3c
parent1bc194cd64085d07f1aae319cb6fb3c99d69aaeb
glsl: Optionally lower TCS gl_PatchVerticesIn to a uniform.

i965 has no special hardware for this, so the best way to implement
this is to pass it in via a uniform.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Cc: mesa-stable@lists.freedesktop.org
src/compiler/glsl/builtin_variables.cpp
src/mesa/main/mtypes.h
src/mesa/program/prog_statevars.c
src/mesa/program/prog_statevars.h