Index: include/gpu/GrShaderVar.h |
diff --git a/include/gpu/GrShaderVar.h b/include/gpu/GrShaderVar.h |
index 3f56eaf70acb9e2245592361e84a2a14b149c91f..78e08e0d9ab611edd32a60b3d7a543231cdd854c 100644 |
--- a/include/gpu/GrShaderVar.h |
+++ b/include/gpu/GrShaderVar.h |
@@ -51,7 +51,6 @@ public: |
, fName(name) |
, fCount(arrayCount) |
, fPrecision(precision) { |
- SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsNumeric(type)); |
SkASSERT(kVoid_GrSLType != type); |
} |
@@ -62,7 +61,6 @@ public: |
, fName(name) |
, fCount(arrayCount) |
, fPrecision(precision) { |
- SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsNumeric(type)); |
SkASSERT(kVoid_GrSLType != type); |
} |
@@ -73,7 +71,6 @@ public: |
, fName(name) |
, fCount(arrayCount) |
, fPrecision(precision) { |
- SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsNumeric(type)); |
SkASSERT(kVoid_GrSLType != type); |
} |
@@ -91,7 +88,6 @@ public: |
GrSLPrecision precision = kDefault_GrSLPrecision, |
int count = kNonArray) { |
SkASSERT(kVoid_GrSLType != type); |
- SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsNumeric(type)); |
fType = type; |
fTypeModifier = typeModifier; |
fName = name; |
@@ -105,7 +101,6 @@ public: |
GrSLPrecision precision = kDefault_GrSLPrecision, |
int count = kNonArray) { |
SkASSERT(kVoid_GrSLType != type); |
- SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsNumeric(type)); |
fType = type; |
fTypeModifier = typeModifier; |
fName = name; |