Permalink
Browse files

Throw in very minor fix (apply readonly to buffer used in tesselation).

Validation layer seems buggy though as it still complains that we haven't
enabled the feature vertexPipelineStoresAndAtomics
  • Loading branch information...
hrydgard committed Sep 18, 2018
1 parent 5975f47 commit c1f0e981a32f85bf213cfd9a479192eb73b1d601
Showing with 1 addition and 1 deletion.
  1. +1 −1 GPU/Vulkan/VertexShaderGeneratorVulkan.cpp
@@ -220,7 +220,7 @@ bool GenerateVulkanGLSLVertexShader(const VShaderID &id, char *buffer) {
WRITE(p, " vec4 uv;\n");
WRITE(p, " vec4 color;\n");
WRITE(p, "};");
WRITE(p, "layout (std430, set = 0, binding = 6) buffer s_tess_data {\n");
WRITE(p, "layout (std430, set = 0, binding = 6) readonly buffer s_tess_data {\n");
WRITE(p, " TessData data[];");
WRITE(p, "} tess_data;\n");

0 comments on commit c1f0e98

Please sign in to comment.