Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
games submitted by our members
Games in WIP (562)
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 1366 times)
0 Members and 1 Guest are viewing this topic.
Offline zingbat

Senior Member




Java games rock!


« Posted 2005-09-29 00: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

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


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

49%, GeForce 6600GT  Shocked

Offline K.I.L.E.R

Senior Member




Java games rock!


« Reply #2 - Posted 2005-09-29 06: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!
Legends of Yore - The Casual Retro Roguelike
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


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

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

Offline Spasi
« Reply #4 - Posted 2005-09-29 12: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

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #5 - Posted 2005-09-29 12: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 13: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 14: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.

 

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

The first screenshot will be displayed as a thumbnail.

radar3301 (10 views)
2014-09-21 23:33:17

BurntPizza (28 views)
2014-09-21 02:42:18

BurntPizza (18 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (27 views)
2014-09-20 20:14:06

BurntPizza (29 views)
2014-09-19 03:14:18

Dwinin (46 views)
2014-09-12 09:08:26

Norakomi (74 views)
2014-09-10 13:57:51

TehJavaDev (102 views)
2014-09-10 06:39:09

Tekkerue (50 views)
2014-09-09 02:24:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!