Restore default precision qualifier (needed for pixel)

This commit is contained in:
Gabriel Calero 2018-02-15 17:39:01 -03:00 committed by Brad Davis
parent 3effb6097b
commit 72e02d6207

View file

@ -14,6 +14,7 @@
// The material values (at least the material key) must be precisely bitwise accurate
// to what is provided by the uniform buffer, or the material key has the wrong bits
#ifdef GL_ES
precision highp float;
#define BITFIELD highp int
#define PRECISIONQ highp
#else
@ -70,5 +71,7 @@ const BITFIELD OCCLUSION_MAP_BIT = 0x00004000;
const BITFIELD LIGHTMAP_MAP_BIT = 0x00008000;
const BITFIELD SCATTERING_MAP_BIT = 0x00010000;
#ifdef GL_ES
precision lowp float;
#endif
<@endif@>