Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[opengl] Merge Args + Retr + Extr SSBO #3278

Closed
2 tasks done
k-ye opened this issue Oct 26, 2021 · 0 comments · Fixed by #3313
Closed
2 tasks done

[opengl] Merge Args + Retr + Extr SSBO #3278

k-ye opened this issue Oct 26, 2021 · 0 comments · Fixed by #3313
Assignees
Labels
opengl OpenGL backend refactor Refactor of API or codebases

Comments

@k-ye
Copy link
Member

k-ye commented Oct 26, 2021

Here are the SSBOs currently in use:

enum class GLBufId {
Root = 0,
Gtmp = 1,
Args = 2,
Retr = 3,
Extr = 4,
Runtime = 5,
};

Args, Retr and Extr are all used to pass data between the kernel and the host. We can merge them to release some SSBO slots.

  • Merge Args and Extr
  • Merge Args and Retr
@k-ye k-ye added opengl OpenGL backend refactor Refactor of API or codebases labels Oct 26, 2021
@k-ye k-ye changed the title [opengl] Merge Args + Retr + Ext SSBO [opengl] Merge Args + Retr + Extr SSBO Oct 26, 2021
ailzhang pushed a commit to ailzhang/taichi that referenced this issue Oct 29, 2021
ailzhang pushed a commit to ailzhang/taichi that referenced this issue Oct 29, 2021
ailzhang added a commit that referenced this issue Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
opengl OpenGL backend refactor Refactor of API or codebases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants