-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Star Ocean First Departure #10634
Comments
Are you using the latest git build? What render resolution? -[Unknown] |
Latest build at 4x resolution. |
Interesting, happens at 1x too. OpenGL: Seems like it's somehow only doing the bottom right quadrant of the screen. Maybe scissor is still set, but I wonder why it behaves differently on desktop. Vulkan: Maybe it's not even uploading stencil at all, for some reason. Could even be a driver bug. -[Unknown] |
Confirmed that the rendering errors don't happen on my Shield Tv on either renders. |
Still the same no the latest builds. |
Vulkan on Adreno is apparently misdetecting the shader as one that's safe to run early fragment tests on. At least, Writing statically to Maybe GLES has the same issue... checking. -[Unknown] |
So on GLES, this makes it work: static const char stencil_vs[] = R"(#version 300 es
precision highp float;
out vec2 v_texcoord0;
void main() {
int id = gl_VertexID;
v_texcoord0.x = (id == 2) ? 2.0 : 0.0;
v_texcoord0.y = (id == 1) ? 2.0 : 0.0;
gl_Position = vec4(v_texcoord0 * vec2(2.0, 2.0) + vec2(-1.0, -1.0), 0.0, 1.0);
}
)"; That works fine with the fs, with appropriate #ifdef GL_ES
precision highp float;
#endif
#if __VERSION__ >= 130
#define attribute in
#define varying out
#endif
attribute vec4 a_position;
attribute vec2 a_texcoord0;
varying vec2 v_texcoord0;
void main() {
v_texcoord0 = a_texcoord0;
gl_Position = a_position;
} I triple checked the verts being passed in, which seem fine. We could in theory just use a different shader on GLES3, if this is a driver bug. Ignoring the attributes doesn't seem like a problem, per se. But I don't get how they're going wrong. -[Unknown] |
Arrrggg, no, it's missing the semantics. -[Unknown] |
Makes hrydgard#10634 work for GLES properly.
What happens?
Characters hidden behind objects.
What should happen?
They should be seen on top of them.
What hardware and operating system are you running PPSSPP on? GPU might matter if it's a graphical issue.
Using opengl on Snapdragon 820 ZTE Axon 7
The text was updated successfully, but these errors were encountered: