diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2011-12-10 01:56:37 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2011-12-10 01:56:37 -0600 |
| commit | 126dfa073b70e91aa9482fac1052f71d7be1bcc2 (patch) | |
| tree | 3bd50bc85522083606502260e0eda3cebdc6cd41 /Source/Core/VideoCommon/Src/VertexShaderGen.cpp | |
| parent | 54a90d08cec61253634c06e7dfc494c19f2cc253 (diff) | |
Firin ma lazer
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexShaderGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexShaderGen.cpp b/Source/Core/VideoCommon/Src/VertexShaderGen.cpp index c04a2ba1f1..caefa15bc4 100644 --- a/Source/Core/VideoCommon/Src/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/Src/VertexShaderGen.cpp @@ -217,7 +217,7 @@ const char *GenerateVertexShaderCode(u32 components, API_TYPE ApiType) // uniforms if(ApiType == API_GLSL && g_ActiveConfig.backend_info.bSupportsGLSLUBO) - WRITE(p, "layout(std140, binding = 1) uniform VSBlock {\n"); + WRITE(p, "layout(std140, binding = 5) uniform VSBlock {\n"); WRITE(p, "%sfloat4 "I_POSNORMALMATRIX"[6] %s;\n", WriteLocation(ApiType), WriteRegister(ApiType, "c", C_POSNORMALMATRIX)); WRITE(p, "%sfloat4 "I_PROJECTION"[4] %s;\n", WriteLocation(ApiType), WriteRegister(ApiType, "c", C_PROJECTION)); |
