Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 273 vs 274 for /trunk/Source Code/Hardware/Video/Shaders/ShaderProgram.cpp

Diff revisions: vs.
  @@ -150,11 +150,11 @@
150 150
151 151 DIVIDE_ASSERT(isHWInitComplete(), "ShaderProgram error: hardware initialization failed!");
152 152
153 - _extendedMatrixEntry[WORLD_MATRIX] = this->cachedLoc("dvd_WorldMatrix");
153 + _extendedMatrixEntry[WORLD_MATRIX] = this->cachedLoc("dvd_WorldMatrix[0]");
154 154 _extendedMatrixEntry[WV_MATRIX] = this->cachedLoc("dvd_WorldViewMatrix");
155 155 _extendedMatrixEntry[WV_INV_MATRIX] = this->cachedLoc("dvd_WorldViewMatrixInverse");
156 156 _extendedMatrixEntry[WVP_MATRIX] = this->cachedLoc("dvd_WorldViewProjectionMatrix");
157 - _extendedMatrixEntry[NORMAL_MATRIX] = this->cachedLoc("dvd_NormalMatrix");
157 + _extendedMatrixEntry[NORMAL_MATRIX] = this->cachedLoc("dvd_NormalMatrix[0]");
158 158 _invProjMatrixEntry = this->cachedLoc("dvd_ProjectionMatrixInverse");
159 159 _timeLoc = this->cachedLoc("dvd_time");
160 160 _cameraLocationLoc = this->cachedLoc("dvd_cameraPosition");
  @@ -227,7 +227,10 @@
227 227 }
228 228 _extendedMatricesDirty = false;
229 229 }
230 +
230 231 /*Get and upload clip plane data*/
232 + //GFX_DEVICE.updateClipPlanes();
233 +
231 234 if (_clipPlanesDirty == true){
232 235 _clipPlanesDirty = false;
233 236 _clipPlanes.resize(0);