summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-23 19:23:46 +0100
committerGitHub <noreply@github.com>2019-11-23 19:23:46 +0100
commit4ed183ee42921ae93dd916567bef6e77f6d49ccc (patch)
treeb9964843a5fc185f0181e7859ef3c78326049408 /src/video_core
parentMerge pull request #3130 from FernandoS27/cancel-sync (diff)
parentgl_shader_gen: Apply default value to gl_Position (diff)
downloadyuzu-4ed183ee42921ae93dd916567bef6e77f6d49ccc.tar
yuzu-4ed183ee42921ae93dd916567bef6e77f6d49ccc.tar.gz
yuzu-4ed183ee42921ae93dd916567bef6e77f6d49ccc.tar.bz2
yuzu-4ed183ee42921ae93dd916567bef6e77f6d49ccc.tar.lz
yuzu-4ed183ee42921ae93dd916567bef6e77f6d49ccc.tar.xz
yuzu-4ed183ee42921ae93dd916567bef6e77f6d49ccc.tar.zst
yuzu-4ed183ee42921ae93dd916567bef6e77f6d49ccc.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp
index af17216bd..a63c1a6b8 100644
--- a/src/video_core/renderer_opengl/gl_shader_gen.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp
@@ -32,6 +32,7 @@ layout (std140, binding = EMULATION_UBO_BINDING) uniform vs_config {
out += R"(
void main() {
+ gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);
execute_vertex();
)";
if (ir_b) {