Browse Source
Merge pull request #3141 from ReinUsesLisp/gl-position
gl_shader_gen: Apply default value to gl_Position
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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) { |
|
|
|
|