|
|
#1 | |
|
Registered User
Join Date: Oct 2008
Posts: 17
|
Hello,
The following GLSL code leads to some infinite loop on a nVidia Quadro FX 3600m with 177.80 and works fine with a GeForce6 with driver 169.12. Code:
vec3 pos;
uniform vec3 lowBounds;
uniform vec3 highBounds;
vec3 rayDirection;
[...]
bool inside=true;
while(inside)
{
[...]
pos=pos+rayDirection;
t+=1.0;
inside=t<tMax && all(greaterThanEqual(pos,lowBounds))
&& all(lessThanEqual(pos,highBounds));
}
Code:
all(greaterThanEqual(pos,lowBounds)) && all(lessThanEqual(pos,highBounds)) Code:
pos.x>=lowBounds.x && pos.y>=lowBounds.y && pos.z>=lowBounds.z && pos.x<=highBounds.x && pos.y<=highBounds.y && pos.z<=highBounds.z This is clearly a bug in the built-in functions all() greaterThanEqual() or lessThanEqual(). The nvidia-bug-report.log file and GPU configurations are the same than from this post: http://www.nvnews.net/vbulletin/showthread.php?t=120860 Best regards. -- François Bertel, PhD | Kitware Inc. Suite 204 1 (518) 371 3971 x113 | 28 Corporate Drive | Clifton Park NY 12065, USA |
|
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
Please attach the test program.
|
|
|
|
|
![]() |
| Thread Tools | |
|
|