Browse Source
Merge pull request #910 from lioncash/unused
gl_shader_decompiler: Remove unused variable in GenerateDeclarations()
pull/15/merge
bunnei
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
2 deletions
-
src/video_core/renderer_opengl/gl_shader_decompiler.cpp
|
|
|
@ -412,7 +412,6 @@ public: |
|
|
|
} |
|
|
|
declarations.AddNewLine(); |
|
|
|
|
|
|
|
unsigned const_buffer_layout = 0; |
|
|
|
for (const auto& entry : GetConstBuffersDeclarations()) { |
|
|
|
declarations.AddLine("layout(std140) uniform " + entry.GetName()); |
|
|
|
declarations.AddLine('{'); |
|
|
|
@ -420,7 +419,6 @@ public: |
|
|
|
"[MAX_CONSTBUFFER_ELEMENTS];"); |
|
|
|
declarations.AddLine("};"); |
|
|
|
declarations.AddNewLine(); |
|
|
|
++const_buffer_layout; |
|
|
|
} |
|
|
|
declarations.AddNewLine(); |
|
|
|
|
|
|
|
|