Home | History | Annotate | Download | only in libGLESv2

Lines Matching refs:startRegister

280 	void Device::setPixelShaderConstantF(unsigned int startRegister, const float *constantData, unsigned int count)
282 for(unsigned int i = 0; i < count && startRegister + i < FRAGMENT_UNIFORM_VECTORS; i++)
284 pixelShaderConstantF[startRegister + i][0] = constantData[i * 4 + 0];
285 pixelShaderConstantF[startRegister + i][1] = constantData[i * 4 + 1];
286 pixelShaderConstantF[startRegister + i][2] = constantData[i * 4 + 2];
287 pixelShaderConstantF[startRegister + i][3] = constantData[i * 4 + 3];
290 pixelShaderConstantsFDirty = max(startRegister + count, pixelShaderConstantsFDirty);
371 void Device::setVertexShaderConstantF(unsigned int startRegister, const float *constantData, unsigned int count)
373 for(unsigned int i = 0; i < count && startRegister + i < VERTEX_UNIFORM_VECTORS; i++)
375 vertexShaderConstantF[startRegister + i][0] = constantData[i * 4 + 0];
376 vertexShaderConstantF[startRegister + i][1] = constantData[i * 4 + 1];
377 vertexShaderConstantF[startRegister + i][2] = constantData[i * 4 + 2];
378 vertexShaderConstantF[startRegister + i][3] = constantData[i * 4 + 3];
381 vertexShaderConstantsFDirty = max(startRegister + count, vertexShaderConstantsFDirty);