Lines Matching refs:arraySize
315 void RsdShader::logUniform(const Element *field, const float *fd, uint32_t arraySize ) { in logUniform() argument
318 for (uint32_t i = 0; i < arraySize; i ++) { in logUniform()
319 if (arraySize > 1) { in logUniform()
362 int32_t slot, uint32_t arraySize ) { in setUniform() argument
365 RSD_CALL_GL(glUniformMatrix4fv, slot, arraySize, GL_FALSE, fd); in setUniform()
367 RSD_CALL_GL(glUniformMatrix3fv, slot, arraySize, GL_FALSE, fd); in setUniform()
369 RSD_CALL_GL(glUniformMatrix2fv, slot, arraySize, GL_FALSE, fd); in setUniform()
373 RSD_CALL_GL(glUniform1fv, slot, arraySize, fd); in setUniform()
376 RSD_CALL_GL(glUniform2fv, slot, arraySize, fd); in setUniform()
379 RSD_CALL_GL(glUniform3fv, slot, arraySize, fd); in setUniform()
382 RSD_CALL_GL(glUniform4fv, slot, arraySize, fd); in setUniform()
548 uint32_t arraySize = 1; in setupUserConstants() local
551 arraySize = sc->vtxUniformSize(uidx); in setupUserConstants()
554 arraySize = sc->fragUniformSize(uidx); in setupUserConstants()
566 logUniform(f, fd, arraySize); in setupUserConstants()
568 setUniform(rsc, f, fd, slot, arraySize); in setupUserConstants()