Home
last modified time | relevance | path

Searched refs:targetUniform (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp507 Uniform *targetUniform = uniforms[uniformIndex[location].index]; in setUniformfv() local
508 targetUniform->dirty = true; in setUniformfv()
510 int size = targetUniform->size(); in setUniformfv()
520 if(targetUniform->type == floatType[index]) in setUniformfv()
522 memcpy(targetUniform->data + uniformIndex[location].element * sizeof(GLfloat)* numElements, in setUniformfv()
525 else if(targetUniform->type == boolType[index]) in setUniformfv()
527 …GLboolean *boolParams = (GLboolean*)targetUniform->data + uniformIndex[location].element * numElem… in setUniformfv()
597 Uniform *targetUniform = uniforms[uniformIndex[location].index]; in setUniformMatrixfv() local
598 targetUniform->dirty = true; in setUniformMatrixfv()
600 if(targetUniform->type != type) in setUniformMatrixfv()
[all …]