OpenGL fails to compile (ReShade 2.0.2/2.0.3)

  • matsilagi
  • Topic Author
More
8 years 1 week ago - 8 years 1 week ago #1 by matsilagi OpenGL fails to compile (ReShade 2.0.2/2.0.3) was created by matsilagi
So, i was testing a few AO shaders with Darkplaces (Quake Sourceport) and ReShade decided to give lots of compile errors, the shader was fine since it compiles on all renderers BUT OpenGL

Here's the log i managed to take:
B:\Program Files (x86)\Quake\ReShade.fx(103, 6): error: internal shader compilation failed
0(8) : error C0000: syntax error, unexpected '}' at token "}"
0(10) : error C1321: structure type '_NS_AORadiusParams' may not be defined in a uniform or buffer block
0(14) : error C7554: OpenGL requires sampler variables to be explicitly declared as uniform
0(15) : error C7554: OpenGL requires sampler variables to be explicitly declared as uniform
0(16) : error C7554: OpenGL requires sampler variables to be explicitly declared as uniform
0(17) : error C7554: OpenGL requires sampler variables to be explicitly declared as uniform
0(18) : error C7554: OpenGL requires sampler variables to be explicitly declared as uniform
0(19) : error C7554: OpenGL requires sampler variables to be explicitly declared as uniform
0(20) : error C7525: OpenGL does not allow a parameter with the "uniform" qualifier
0(26) : error C7525: OpenGL does not allow a parameter with the "uniform" qualifier
0(31) : error C7525: OpenGL does not allow a parameter with the "uniform" qualifier
0(44) : error C7525: OpenGL does not allow a parameter with the "uniform" qualifier
0(44) : error C7525: OpenGL does not allow a parameter with the "uniform" qualifier
0(44) : error C7525: OpenGL does not allow a parameter with the "uniform" qualifier
0(44) : error C7525: OpenGL does not allow a parameter with the "uniform" qualifier
0(46) : error C7563: assignment to uniform color
0(47) : error C7563: assignment to uniform normal
0(49) : error C7515: OpenGL requires varying variables to be declared in global scope
0(49) : error C5056: 'varying' not allowed on local variable '_param_texcoord'
0(50) : error C7515: OpenGL requires varying variables to be declared in global scope
0(50) : error C5056: 'varying' not allowed on local variable '_param_color'
0(51) : error C7515: OpenGL requires varying variables to be declared in global scope
0(51) : error C5056: 'varying' not allowed on local variable '_param_normal'
(0) : error C0000: syntax error, unexpected $end at token "<EOF>"

If you want the code, i can only send it on Steam because reasons. (However, i can confirm it is not a code issue)
Last edit: 8 years 1 week ago by matsilagi.

Please Log in or Create an account to join the conversation.

  • crosire
More
8 years 1 week ago #2 by crosire Replied by crosire on topic OpenGL fails to compile (ReShade 2.0.2/2.0.3)
I'd need that shader file to debug, so yeah, just message me on Steam when you get a chance =).

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.