subdivision-vertex.compute 474 Bytes
#version 430 core

layout  (local_size_x  =  1)  in;

struct Vertex {
    vec3 pos;
    vec3 norm;
    vec2 uv;
};

layout(std430, binding=0) readonly buffer Vertices {
    Vertex vertices[];
};

layout(std430, binding=1) readonly buffer VertexIndices {
    unsigned int indices[];
};

layout(std430, binding=2) readonly buffer VertexOffsets {
    unsigned int offsets[];
};

layout(std430, binding=3) writeonly buffer Output {
    Vertex new_vertices[];
};

void main(){
}