i965: fix tessellation regressions with gl_state_index16
authorDave Airlie <airlied@redhat.com>
Tue, 13 Feb 2018 02:21:07 +0000 (12:21 +1000)
committerMark Janes <mark.a.janes@intel.com>
Tue, 13 Feb 2018 07:05:16 +0000 (23:05 -0800)
commitdb5f4221696a665e403c8374d6c7d8794d810ae6
tree8e105b19c387ea51cbcf7fe0abee48b7d33fb9a9
parent5e4a2b394eb03d5b49df8d3f2263c65b24ad2bb9
i965: fix tessellation regressions with gl_state_index16

Looks like one conversion was missed.

Fixes: e149a0253 (mesa,glsl,nir: reduce gl_state_index size to 2 bytes)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105067
Signed-off-by: Dave Airlie <airlied@redhat.com>
Tested-by: Mark Janes <mark.a.janes@intel.com>
src/mesa/drivers/dri/i965/brw_nir_uniforms.cpp