yuzi

GLSL matrix arithmetic assignment does not work

Discussion created by yuzi on Sep 9, 2010
Latest reply on Sep 10, 2010 by frali
GLSL matrix arithmetic assignment does not work

 

My GLSL application runs well with nVidia and Intel GPU. But I encountered a problem with Radeon HD5400 and latest drivers on Windows XP SP3.

It seems to me that the arithmetic assignments multiply into (*=) for mat4 does not work correctly.

-----------------------------------

void main()

{

mat4 R;

mat4 model;

model *= R;

-----------------------------------

 

Instead, following code works.

-----------------------------------

 

void main()

{

mat4 R;

mat4 model;

model = model * R;

 

-----------------------------------

 





 

I hope this problem will be corrected shortly.
Regards.




Outcomes