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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-19-07, 05:59 PM   #1
zap
Registered User
 
Join Date: Feb 2003
Location: St. Petersburg, Russia
Posts: 20
Default Bug in GLSL compiler?

Hello!

First of all I beg pardon if I post to the wrong forum, but I couldn't find anything more specific.

I'm writing an application that uses GLSL fragment shaders. I found that the driver crashes when glUniform1ivARB() is invoked for arrays of sampler2D variables.

I tried a similar shader in ShaderDesigner (freeware, can be downloaded here: http://www.typhoonlabs.com/) and the program exhibits quite a similar crash. Here's a simple fragment shader that will crash if you try to set the tex array from C:

Quote:
uniform sampler2D tex [2];

void main ()
{
gl_FragColor = texture2D (tex [1], gl_TexCoord [0].xy);
}
This all happens on Linux/x86_64 (Fedora Core 6 with all latest updates), driver version 9755 packed from the Livna reposotory.

Is there any chance this will be fixed someday?
zap is offline   Reply With Quote
Old 06-05-07, 05:57 AM   #2
squeen
Registered User
 
Join Date: Dec 2006
Location: Greenbelt, MD
Posts: 33
Default Re: Bug in GLSL compiler?

I've used an array of shadowmaps with success on Quadro FX 4500,5500,4600 & 5600 cards.

#define NUMLIGHTS 8
uniform sampler2DShadow depthTex[NUMLIGHTS];
uniform mat4 cn_ShadowMat[NUMLIGHTS];
uniform float cn_ShadowSize[NUMLIGHTS];
squeen 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HPC Job of the Week: Senior Compiler Engineer at Convey News Archived News Items 0 06-10-12 02:30 AM
I got a computer bug!!! sillyeagle General Hardware 16 06-05-12 02:44 AM
GLX bug? (1.0-3123) marc NVIDIA Linux 2 09-21-02 04:58 PM
compiler issue mammal NVIDIA Linux 1 09-13-02 06:54 AM
Antialiasing bug in 31.00 drivers? Mark_fox NVIDIA Windows Graphics Drivers 7 08-26-02 02:48 PM

All times are GMT -5. The time now is 09:34 PM.


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