[1.4.2] Bug? : Shaders not working

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
CMDBob
Posts: 2
Joined: Tue Jan 26, 2010 18:03

[1.4.2] Bug? : Shaders not working

Post by CMDBob »

I've been playing GZDoom, and I noticed that whenever I tried to use the brightmaps, they just didn't work. I went to my laptop, tried them, all was good. So I looked through the console and I found this...

Code: Select all

Init Shader 'Default::default+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Default::glow+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Default::desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Default::glow+desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Warp 1::default+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Warp 1::glow+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Warp 1::desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Warp 1::glow+desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Warp 2::default+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Warp 2::glow+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Warp 2::desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Warp 2::glow+desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Brightmap::default+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Brightmap::glow+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Brightmap::desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'Brightmap::glow+desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'No Texture::default+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'No Texture::glow+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'No Texture::desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
 

Init Shader 'No Texture::glow+desaturate+dynlight':
Vertex shader:
Vertex shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Vertex shader:
Fragment shader failed to compile with the following errors:
ERROR: 0:2: '' :  #version must occur before any other statement in the program
ERROR:  compilation errors.  No code generated.


Linking:
Vertex and Fragment shader(s) were not successfully compiled before glLinkProgram() was called.  Link failed. 
My main gaming rig is a Windows 7 32 bit PC with an ATi Radeon 3850 HD (with the latest drivers, updated them today [today being 26/01]), and my laptop is a Windows Vista 32bit with an integrated nVidia card (can't remember the make, but its probably not important as it works).

Don't know why it isn't working right, as this PC plays pretty much everything new smoothly.

[Ninjaedit] Wow, I am kinda silly, I got the version wrong. I must be blind. [/ninjaedit]
Last edited by CMDBob on Tue Jan 26, 2010 23:04, edited 1 time in total.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [2.1.4] Bug? : Shaders not working

Post by Graf Zahl »

This should have been fixed long ago. Can anyone else confirm?
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: [2.1.4] Bug? : Shaders not working

Post by Gez »

Version 2.1.4?
User avatar
Firebrand
Dev Builds Team
Posts: 126
Joined: Mon Aug 10, 2009 21:00
Location: Mexico
Contact:

Re: [1.4.2] Bug? : Shaders not working

Post by Firebrand »

I tried it with the latest SVN version and got the same errors as the OP. I have that very same ATI card too.
I'm the ruler of the Fire Power.....
CMDBob
Posts: 2
Joined: Tue Jan 26, 2010 18:03

Re: [1.4.2] Bug? : Shaders not working

Post by CMDBob »

The funny thing is, I run Skulltag on this PC, and the shaders miraculously work, which is odd. Still, good to know I'm not the only one with a problem.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [1.4.2] Bug? : Shaders not working

Post by Graf Zahl »

fixed.
Locked

Return to “Closed Bugs”