Lines Matching refs:arrayCount
14 SkASSERT(arrayCount <= uni.fArrayCount || \
15 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount))
95 int arrayCount,
99 SkASSERT(arrayCount > 0);
100 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount);
106 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v));
109 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v));
127 int arrayCount,
131 SkASSERT(arrayCount > 0);
132 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount);
135 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fFSLocation, arrayCount, v));
138 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fVSLocation, arrayCount, v));
156 int arrayCount,
160 SkASSERT(arrayCount > 0);
161 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount);
164 GR_GL_CALL(fGpu->glInterface(), Uniform3fv(uni.fFSLocation, arrayCount, v));
167 GR_GL_CALL(fGpu->glInterface(), Uniform3fv(uni.fVSLocation, arrayCount, v));
189 int arrayCount,
193 SkASSERT(arrayCount > 0);
194 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount);
197 GR_GL_CALL(fGpu->glInterface(), Uniform4fv(uni.fFSLocation, arrayCount, v));
200 GR_GL_CALL(fGpu->glInterface(), Uniform4fv(uni.fVSLocation, arrayCount, v));
231 int arrayCount,
235 SkASSERT(arrayCount > 0);
236 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount);
240 UniformMatrix3fv(uni.fFSLocation, arrayCount, false, matrices));
244 UniformMatrix3fv(uni.fVSLocation, arrayCount, false, matrices));
249 int arrayCount,
253 SkASSERT(arrayCount > 0);
254 ASSERT_ARRAY_UPLOAD_IN_BOUNDS(uni, arrayCount);
258 UniformMatrix4fv(uni.fFSLocation, arrayCount, false, matrices));
262 UniformMatrix4fv(uni.fVSLocation, arrayCount, false, matrices));