Lines Matching refs:bufferIndex
694 reg = r[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
711 reg = v[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
747 reg = o[i + relativeAddress(src.rel, src.bufferIndex)]; in fetchRegister()
815 RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index) in uniformAddress() argument
817 if(bufferIndex == -1) in uniformAddress()
823 return *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, vs.u[bufferIndex])) + index; in uniformAddress()
827 …RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index, Int &offs… in uniformAddress() argument
829 return uniformAddress(bufferIndex, index) + offset * sizeof(float4); in uniformAddress()
839 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, i)); in readConstant()
869 Int a = relativeAddress(src.rel, src.bufferIndex); in readConstant()
871 c.x = c.y = c.z = c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, i, a)); in readConstant()
889 …case Shader::PARAMETER_CONST: a = *Pointer<Float>(uniformAddress(src.bufferIndex, src.rel.index… in readConstant()
910 c.x = *Pointer<Float4>(uniformAddress(src.bufferIndex, 0, index0), 16); in readConstant()
911 c.y = *Pointer<Float4>(uniformAddress(src.bufferIndex, 0, index1), 16); in readConstant()
912 c.z = *Pointer<Float4>(uniformAddress(src.bufferIndex, 0, index2), 16); in readConstant()
913 c.w = *Pointer<Float4>(uniformAddress(src.bufferIndex, 0, index3), 16); in readConstant()
921 Int VertexProgram::relativeAddress(const Shader::Relative &rel, int bufferIndex) in relativeAddress() argument
939 return *Pointer<Int>(uniformAddress(bufferIndex, rel.index)) * rel.scale; in relativeAddress()