shader: Don't emit 'precise' when 'invariant' is already given in declaration
It is not necessary to emit both statements, and on a GLES 3.1 host that doesn't support ARB_gpu_shader5 this actually breaks some shaders.
Fixes: 36c919e1 shader: rework precise-emitting for built-ins
Fixes on the softpipe host driver:
dEQP-GLES3.functional.shaders.qualification_order.variables. valid.invariant_interp_storage valid.invariant_interp_storage_precision valid.invariant_storage valid.invariant_storage_precision
Signed-off-by: Gert Wollny gert.wollny@collabora.com