Welcome, Guest.
Username: Password: Remember me

TOPIC: OpenGL fails to compile (ReShade 2.0.2/2.0.3)

OpenGL fails to compile (ReShade 2.0.2/2.0.3) 7 months 3 weeks ago #1

  • matsilagi
  • matsilagi's Avatar
  • Offline
  • Posts: 199
  • Thank you received: 54
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)
Loves to test stuff for no reason.
Last Edit: 7 months 3 weeks ago by matsilagi.
The administrator has disabled public write access.

OpenGL fails to compile (ReShade 2.0.2/2.0.3) 7 months 3 weeks ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2437
  • Thank you received: 1384
I'd need that shader file to debug, so yeah, just message me on Steam when you get a chance =).
Cheers, crosire =)
The administrator has disabled public write access.