diff options
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_context.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_context.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_context.cpp b/src/shader_recompiler/backend/glsl/emit_context.cpp index fd0113c8d..26969a26d 100644 --- a/src/shader_recompiler/backend/glsl/emit_context.cpp +++ b/src/shader_recompiler/backend/glsl/emit_context.cpp | |||
| @@ -118,11 +118,6 @@ EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile | |||
| 118 | DefineStorageBuffers(bindings); | 118 | DefineStorageBuffers(bindings); |
| 119 | SetupImages(bindings); | 119 | SetupImages(bindings); |
| 120 | DefineHelperFunctions(); | 120 | DefineHelperFunctions(); |
| 121 | |||
| 122 | header += "void main(){\n"; | ||
| 123 | if (stage == Stage::VertexA || stage == Stage::VertexB) { | ||
| 124 | Add("gl_Position = vec4(0.0f, 0.0f, 0.0f, 1.0f);"); | ||
| 125 | } | ||
| 126 | } | 121 | } |
| 127 | 122 | ||
| 128 | void EmitContext::SetupExtensions(std::string&) { | 123 | void EmitContext::SetupExtensions(std::string&) { |