glsl: initialize precision when adding per vertex record fields
authorTapani Pälli <tapani.palli@intel.com>
Mon, 16 Nov 2015 06:44:18 +0000 (08:44 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 17 Nov 2015 05:37:13 +0000 (07:37 +0200)
commit023fd58fd685135bfb4ee401ac9bd1c3a3988e02
tree8e7e10fc3882afcd2da3af063c46314acc1292a3
parent292df1940126f267418e656b9ec33eb3f06667b8
glsl: initialize precision when adding per vertex record fields

Fixes issues with tessellation builtin variables since precision was
introduced to IR with commit f84bc57d7dc02fceb805803131426c791eadeff9.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_variables.cpp