| Index: src/gpu/gl/GrGLProgramDesc.cpp
|
| diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp
|
| index 16de1eab227e9f75a91770488ff4cdea282d0301..068386c3aa94a5e761da2620714967de81b6d842 100644
|
| --- a/src/gpu/gl/GrGLProgramDesc.cpp
|
| +++ b/src/gpu/gl/GrGLProgramDesc.cpp
|
| @@ -69,7 +69,7 @@ enum {
|
| kTransformKeyBits = kMatrixTypeKeyBits + kPrecisionBits + 1,
|
| };
|
|
|
| -GR_STATIC_ASSERT(GrShaderVar::kHigh_Precision < (1 << kPrecisionBits));
|
| +GR_STATIC_ASSERT(kHigh_GrSLPrecision < (1 << kPrecisionBits));
|
|
|
| /**
|
| * We specialize the vertex code for each of these matrix types.
|
| @@ -95,7 +95,7 @@ static uint32_t gen_transform_key(const GrPendingFragmentStage& stage, bool useE
|
| key |= kPositionCoords_Flag;
|
| }
|
|
|
| - GR_STATIC_ASSERT(GrShaderVar::kPrecisionCount <= (1 << kPrecisionBits));
|
| + GR_STATIC_ASSERT(kGrSLPrecisionCount <= (1 << kPrecisionBits));
|
| key |= (coordTransform.precision() << kPrecisionShift);
|
|
|
| key <<= kTransformKeyBits * t;
|
|
|