diff options
Diffstat (limited to 'src/gpu/glsl/GrGLSLVertexShaderBuilder.h')
-rw-r--r-- | src/gpu/glsl/GrGLSLVertexShaderBuilder.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/glsl/GrGLSLVertexShaderBuilder.h b/src/gpu/glsl/GrGLSLVertexShaderBuilder.h index b76721fd00..7c624cee65 100644 --- a/src/gpu/glsl/GrGLSLVertexShaderBuilder.h +++ b/src/gpu/glsl/GrGLSLVertexShaderBuilder.h @@ -13,6 +13,9 @@ class GrGLSLVarying; +// Enough precision to represent 1 / 2048 accurately in printf +#define GR_SIGNIFICANT_POW2_DECIMAL_DIG 11 + class GrGLSLVertexBuilder : public GrGLSLShaderBuilder { public: GrGLSLVertexBuilder(GrGLSLProgramBuilder* program); |