commit | 0be210513797d3a0245588df915b9510c201bea4 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Thu May 26 20:21:58 2016 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Wed Jun 15 12:44:09 2016 -0700 |
tree | 11ba21e87e653a08fee8b2432d50bf588dacf2a6 | |
parent | d794072b3e1f27b96aaf2c476fcd5dcc5fd9d445 [diff] |
glsl: Optionally lower TES gl_PatchVerticesIn to a uniform. i965 has no special hardware for this, so we need to pass this value in as a uniform (unless the TES is linked against a TCS, in which case the linker can just replace this with a constant). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com> Cc: mesa-stable@lists.freedesktop.org