Skip to content

Commit

Permalink
Oops, fix hardware tess in Vulkan (after removing hw skinning, we nee…
Browse files Browse the repository at this point in the history
…d to adjust the binding number)
  • Loading branch information
hrydgard committed Mar 4, 2018
1 parent 37f4436 commit 8757591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/Vulkan/VertexShaderGeneratorVulkan.cpp
Expand Up @@ -203,7 +203,7 @@ bool GenerateVulkanGLSLVertexShader(const VShaderID &id, char *buffer, bool *use
WRITE(p, " vec4 uv;\n");
WRITE(p, " vec4 color;\n");
WRITE(p, "};");
WRITE(p, "layout (std430, set = 0, binding = 5) buffer s_tess_data {\n");
WRITE(p, "layout (std430, set = 0, binding = 4) buffer s_tess_data {\n");
WRITE(p, " TessData data[];");
WRITE(p, "} tess_data;");

Expand Down

0 comments on commit 8757591

Please sign in to comment.