glsl: always print non-zero var->data.location_frac
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 14 Jun 2017 10:42:28 +0000 (12:42 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 3 Jul 2017 11:54:06 +0000 (13:54 +0200)
commit141d0831ff631d6405540bc42ec7f626f6400a72
treeca98c4e2b0803f37df6af5480b8572333d4cd05e
parentb0b4b5e8f7a25dd11c1662d339d68c9733e9b2dc
glsl: always print non-zero var->data.location_frac

This is helpful in debugging varying assignments.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/ir_print_visitor.cpp