OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef GrGLSL_impl_DEFINED | 8 #ifndef GrGLSL_impl_DEFINED |
9 #define GrGLSL_impl_DEFINED | 9 #define GrGLSL_impl_DEFINED |
10 | 10 |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 } else { | 182 } else { |
183 outAppend->appendf("(%s(%s) - %s(%s))", | 183 outAppend->appendf("(%s(%s) - %s(%s))", |
184 GrGLSLFloatVectorTypeString(N), | 184 GrGLSLFloatVectorTypeString(N), |
185 in0, | 185 in0, |
186 GrGLSLFloatVectorTypeString(N), | 186 GrGLSLFloatVectorTypeString(N), |
187 in1); | 187 in1); |
188 return kNone_GrSLConstantVec; | 188 return kNone_GrSLConstantVec; |
189 } | 189 } |
190 } | 190 } |
191 | 191 |
192 | |
193 #endif | 192 #endif |
OLD | NEW |