diff options
Diffstat (limited to 'indra/llrender')
| -rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 4 | ||||
| -rw-r--r-- | indra/llrender/llvertexbuffer.h | 5 | 
2 files changed, 5 insertions, 4 deletions
| diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp index de27636c33..4f5f30d7c2 100644 --- a/indra/llrender/llvertexbuffer.cpp +++ b/indra/llrender/llvertexbuffer.cpp @@ -1319,6 +1319,10 @@ bool LLVertexBuffer::getNormalStrider(LLStrider<LLVector3>& strider, U32 index,  {  	return VertexBufferStrider<LLVector3,TYPE_NORMAL>::get(*this, strider, index, count);  } +bool LLVertexBuffer::getNormalStrider(LLStrider<LLVector4a>& strider, U32 index, S32 count) +{ +    return VertexBufferStrider<LLVector4a, TYPE_NORMAL>::get(*this, strider, index, count); +}  bool LLVertexBuffer::getTangentStrider(LLStrider<LLVector3>& strider, U32 index, S32 count)  {  	return VertexBufferStrider<LLVector3,TYPE_TANGENT>::get(*this, strider, index, count); diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h index f2d146d4bb..cc59e322ed 100644 --- a/indra/llrender/llvertexbuffer.h +++ b/indra/llrender/llvertexbuffer.h @@ -180,6 +180,7 @@ public:  	bool getTexCoord1Strider(LLStrider<LLVector2>& strider, U32 index=0, S32 count = -1);  	bool getTexCoord2Strider(LLStrider<LLVector2>& strider, U32 index=0, S32 count = -1);  	bool getNormalStrider(LLStrider<LLVector3>& strider, U32 index=0, S32 count = -1); +	bool getNormalStrider(LLStrider<LLVector4a>& strider, U32 index = 0, S32 count = -1);  	bool getTangentStrider(LLStrider<LLVector3>& strider, U32 index=0, S32 count = -1);  	bool getTangentStrider(LLStrider<LLVector4a>& strider, U32 index=0, S32 count = -1);  	bool getColorStrider(LLStrider<LLColor4U>& strider, U32 index=0, S32 count = -1); @@ -187,10 +188,6 @@ public:  	bool getWeightStrider(LLStrider<F32>& strider, U32 index=0, S32 count = -1);  	bool getWeight4Strider(LLStrider<LLVector4>& strider, U32 index=0, S32 count = -1);  	bool getClothWeightStrider(LLStrider<LLVector4>& strider, U32 index=0, S32 count = -1); -    bool getBasecolorTexcoordStrider(LLStrider<LLVector2>& strider, U32 index=0, S32 count = -1); -    bool getNormalTexcoordStrider(LLStrider<LLVector2>& strider, U32 index=0, S32 count = -1); -    bool getMetallicRoughnessTexcoordStrider(LLStrider<LLVector2>& strider, U32 index=0, S32 count = -1); -    bool getEmissiveTexcoordStrider(LLStrider<LLVector2>& strider, U32 index=0, S32 count = -1);      void setPositionData(const LLVector4a* data);      void setTexCoordData(const LLVector2* data); | 
