You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following upgrading from 1.5.4 to 1.6.3. When using Rendering Backend->OpenGL with any postprocessing shader selected (ie FXAA Antialiasing) upon loading a game (any) get an error message on screen (see issue title) and the shader is apparently NOT active. After far too much hunting around found (from source code) how to generate a log file, got the following snippet:
`
59:14:677 idle0 E[G3D]: thin3d\GLQueueRunner.cpp:223 Error in shader compilation for: postshader
59:14:677 idle0 E[G3D]: thin3d\GLQueueRunner.cpp:224 Info log: 0(2) : error C0121: #version 300 must be followed by es
0(2) : error C0201: unsupported version 300
0(6) : error C7532: global type vec2 requires "#version 100" or later
0(6) : error C5060: out can't be used with non-varying v_texcoord0
0(8) : error C7532: global type vec4 requires "#version 100" or later
0(13) : error C7532: global variable gl_Position requires "#version 100" or later
There are many other snippets with a similar initial error but I don't know how one would post the log to github as the help suggested doing (btw nifty new issue preset).
What should happen?
As in 1.5.4 with opengl backend, game loads and shader appears to be active with no errors.
What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.
-Tried DX9, no shaders available so not applicable. Vulkan is (as expected) not an option.
-Tried DX11 and surprisingly it worked and the shaders appeared to work (tried a few different ones and they did what they claimed).
In case there were any left over old/invalid files lingering around I also tried a fresh install and got the same error, after I ensured that backend was opengl and a postprocessing shader was selected that is. To put it another way this is happening with defaults + 2 changes.
The text was updated successfully, but these errors were encountered:
While using OpenGL, can you go to Tools -> System information, scroll all the way down, and check what it says under "API version" and "Shading language"?
I'm guessing it will show something below or maybe equal to v3.3.0, but want to confirm.
What happens?
Following upgrading from 1.5.4 to 1.6.3. When using Rendering Backend->OpenGL with any postprocessing shader selected (ie FXAA Antialiasing) upon loading a game (any) get an error message on screen (see issue title) and the shader is apparently NOT active. After far too much hunting around found (from source code) how to generate a log file, got the following snippet:
`
59:14:677 idle0 E[G3D]: thin3d\GLQueueRunner.cpp:223 Error in shader compilation for: postshader
59:14:677 idle0 E[G3D]: thin3d\GLQueueRunner.cpp:224 Info log: 0(2) : error C0121: #version 300 must be followed by es
0(2) : error C0201: unsupported version 300
0(6) : error C7532: global type vec2 requires "#version 100" or later
0(6) : error C5060: out can't be used with non-varying v_texcoord0
0(8) : error C7532: global type vec4 requires "#version 100" or later
0(13) : error C7532: global variable gl_Position requires "#version 100" or later
59:14:678 idle0 E[G3D]: thin3d\GLQueueRunner.cpp:225 Shader source:
#version 300
#ifdef GL_ARB_shading_language_420pack
#extension GL_ARB_shading_language_420pack : require
#endif
out vec2 v_texcoord0;
in vec2 a_texcoord0;
in vec4 a_position;
void main()
{
v_texcoord0 = a_texcoord0;
gl_Position = a_position;
gl_Position.z = 2.0 * gl_Position.z - gl_Position.w;
}
`
There are many other snippets with a similar initial error but I don't know how one would post the log to github as the help suggested doing (btw nifty new issue preset).
What should happen?
As in 1.5.4 with opengl backend, game loads and shader appears to be active with no errors.
What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.
Desktop Windows 7 x64 GeForce DX10 (not 10.1) graphics card. 4 gigs ram.
Troubleshooting:
-Tried DX9, no shaders available so not applicable. Vulkan is (as expected) not an option.
-Tried DX11 and surprisingly it worked and the shaders appeared to work (tried a few different ones and they did what they claimed).
In case there were any left over old/invalid files lingering around I also tried a fresh install and got the same error, after I ensured that backend was opengl and a postprocessing shader was selected that is. To put it another way this is happening with defaults + 2 changes.
The text was updated successfully, but these errors were encountered: