Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. // Dispatch compute shader
  2. glDispatchCompute(x, y, z);
  3. glMemoryBarrier(GL_SHADER_STORAGE_BARRIER_BIT);
  4. void* data = glMapNamedBuffer(buffer, GL_READ_ONLY);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement