iris: Fix uses of gl_TessLevel*
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 19 Sep 2018 17:17:23 +0000 (10:17 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
commitfb4a3e2736885be0cbb9204f1b94a06792d01fa3
tree4733cb1bd87a51faa7b5a517d1d9602e477459a4
parent2b956a093a184dd2971cb6b08053e0d65d3eeacf
iris: Fix uses of gl_TessLevel*

The backend compiler expects the gl_TessLevel* variables to be mapped
as inputs instead of system values.  Use the new PIPE_CAP to get this
behavior from GLSL compiler.

Tested with:
tests/spec/arb_tessellation_shader/execution/vs-tcs-tes-tessinner-tessouter-inputs-quads.shader_test
src/gallium/drivers/iris/iris_screen.c