nagyistoce / visual-rbm

Automatically exported from code.google.com/p/visual-rbm
0 stars 0 forks source link

glTexParameteri() problem using GL_CLAMP on AMD GPU #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Run visualRBM on AMD GPU
2.glGetError() returns error code on glTexParameteri() calls
with last parameter = GL_CLAMP
3.

What is the expected output? What do you see instead?
Graphs tab shows lines at zero. Visible tab show no digit images.

What version of the product are you using? On what operating system?
r38, Windows 7

Please provide any additional information below.
Fix is to use GL_CLAMP_TO_EDGE instead of GL_CLAMP for glTexParameteri() calls.
See related next issue.

Original issue reported on code.google.com by step9...@gmail.com on 22 Oct 2012 at 11:38

GoogleCodeExporter commented 9 years ago
Change all calls in \QuickBoltzmannNative\OpenGLCommon.cpp to:
glTexParameteri(GL_TEXTURE_RECTANGLE, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_RECTANGLE, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
...etc...

Original comment by step9...@gmail.com on 22 Oct 2012 at 11:40

GoogleCodeExporter commented 9 years ago
Thanks for the fix step9899!  This and Issue 8 will be fixed in the next 
release.

Original comment by pospes...@gmail.com on 22 Oct 2012 at 8:53

GoogleCodeExporter commented 9 years ago
Resolved in r41

Original comment by pospes...@gmail.com on 12 Nov 2012 at 2:05