Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Does your graphics card drivers parse glsl correctly ?  (Read 1086 times)
0 Members and 1 Guest are viewing this topic.
Offline zingbat

Senior Member




Java games rock!


« Posted 2005-09-29 02:05:20 »

Go to this site and install the parser validator tool.

http://developer.3dlabs.com/downloads/index.htm

My shity radeon 9600 has failed half the tests and some has even crashed miserably.

The opengl version reported is 2.0.5147

I guess it's time to download new catalyst drivers and see if the results are better.
Offline Matzon
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


« Reply #1 - Posted 2005-09-29 08:03:23 »

49%, GeForce 6600GT  Shocked

Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #2 - Posted 2005-09-29 08:50:46 »

Radeon 9700 Pro failed only 4 tests.
98%.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Games published by our own members! Check 'em out!
Try the Free Demo of Titan Attacks
Offline CaptainJester

JGO Knight


Medals: 10
Projects: 2


Make it work; make it better.


« Reply #3 - Posted 2005-09-29 12:37:58 »

Did you try the v1.5 tests to see if you get better results?

Offline Spasi
« Reply #4 - Posted 2005-09-29 14:14:00 »

The low scores on NV hardware come from a lot of shaders containing invalid GLSL, that nonetheless compile fine with the Cg compiler, internally used by the NV driver. ATI's implementation is much more spec compliant, hence the high scores.

It's a nice tool, but these scores don't say anything about the driver's ability to produce programs that are runnable by the hardware. Wink
Offline Matzon
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


« Reply #5 - Posted 2005-09-29 14:49:13 »

well, shame on nVidia then - if the code doesn't confrom to specs, nV should complain. Otherwise we end up with the same situation that exists in webdevelopment  where IE will happily render invalid html.

Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #6 - Posted 2005-09-29 15:45:00 »

That made me burst into laughter. Cheesy
The last part("[...]happily render invalid html") for some reason seems hilarious.


well, shame on nVidia then - if the code doesn't confrom to specs, nV should complain. Otherwise we end up with the same situation that exists in webdevelopment  where IE will happily render invalid html.

Vorax:
Is there a name for a "redneck" programmer?

Jeff:
Unemployed. Wink
Offline Spasi
« Reply #7 - Posted 2005-09-29 16:02:58 »

Yes, it's kind of dangerous to rely on the NV compiler. When GLSL came out, many developers found their shaders failing on ATI hardware, it's very easy to write nonconformant code. Then NV Emulate added a nice "Strict Shader Portability Warnings" option, that forces the compiler to report any conformance issues. It works great and I never had any problems after that.

Besides, being able to write Cg stuff inside GLSL is almost critical for us, especially when you need to use half fp types to keep the crappy GeFX line of cards running decently. It's quickly getting rather ugly though:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
#ifndef __GLSL_CG_DATA_TYPES
   #define half float
   #define half2 vec2
   #define half3 vec3
   #define half4 vec4

   #define half3x3 mat3

   #define h4tex2D texture2D
#endif

...

#ifndef __GLSL_CG_DATA_TYPES
   void main(void)
#else
   half4 main(void) : COLOR
#endif
{

....

   #ifndef __GLSL_CG_DATA_TYPES
      gl_FragColor = colorOUT;
   #else
      return colorOUT;
   #endif
}
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (82 views)
2013-05-17 21:29:12

alaslipknot (91 views)
2013-05-16 21:24:48

gouessej (122 views)
2013-05-16 00:53:38

gouessej (114 views)
2013-05-16 00:17:58

theagentd (126 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (158 views)
2013-05-14 15:56:26

kutucuk (180 views)
2013-05-12 17:10:36

kutucuk (180 views)
2013-05-12 15:36:09

UnluckyDevil (187 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.103 seconds with 20 queries.