Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-17-10, 11:12 PM   #1
Funto
Registered User
 
Join Date: Jan 2010
Posts: 11
Default Wrong interpolation between 2 vertices

Hi all,

I am using the experimental drivers 195.36.07.04 (I want modern OpenGL support).

I am drawing a line, from P0 to P1.
I have a varying variable declared like this in my vertex shader:

noperspective out vec3 var_debug_color;

In my vertex shader, I assign to var_debug_color the value vec3(0.0, 0.5, 0.0) for P0 and vec3(0.5, 0.0, 0.0) for P1.
P0 is visible, P1 is not inside the view frustum (behind the camera).

In my fragment shader, I just output vec4(var_debug_color, 0.0).

Problem: the values which appear on screen are above 127 for the green component!
Example RGB output I get:
0, 127, 0
0, 129, 0
0, 131, 0
0, 135, 0
...etc

I suppose this is a bug in the driver. I think I could provide a test case, if someone is willing to investigate this bug.

Thank you.
Funto is offline   Reply With Quote
Old 07-18-10, 01:19 AM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Wrong interpolation between 2 vertices

195.36.07.04 is old, I'd suggest using 256.35. If the problem still occurs with that, then please do attach a simple test case, along with an nvidia-bug-report.log.gz file.
AaronP is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:33 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.