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

Add Compute Shader and SSBO Functions to raylib-go in rlgl_purego.go #345

Merged
merged 4 commits into from
Jan 23, 2024

Conversation

shellfu
Copy link
Contributor

@shellfu shellfu commented Jan 22, 2024

This commit introduces functions related to compute shaders and Shader Buffer Storage Objects (SSBOs) in raylib-go. It adds bindings for loading, dispatching, and managing compute shaders and SSBOs, aligning raylib-go more closely with the raylib C library's capabilities. Specifically, the functions added are LoadComputeShaderProgram, ComputeShaderDispatch, LoadShaderBuffer, UnloadShaderBuffer, UpdateShaderBuffer, BindShaderBuffer, ReadShaderBuffer, and CopyShaderBuffer. These additions enhance raylib-go's utility for more advanced GPU operations.

Specifically in rlgl_purego.go

This commit introduces functions related to compute shaders and
Shader Buffer Storage Objects (SSBOs) in raylib-go. It adds
bindings for loading, dispatching, and managing compute shaders
and SSBOs, aligning raylib-go more closely with the raylib C
library's capabilities. Specifically, the functions added are
`LoadComputeShaderProgram`, `ComputeShaderDispatch`, `LoadShaderBuffer`,
`UnloadShaderBuffer`, `UpdateShaderBuffer`, `BindShaderBuffer`,
`ReadShaderBuffer`, and `CopyShaderBuffer`. These additions enhance
raylib-go's utility for more advanced GPU operations.
@JupiterRider
Copy link
Contributor

JupiterRider commented Jan 23, 2024

@shellfu You got a merge request on your fork

@shellfu
Copy link
Contributor Author

shellfu commented Jan 23, 2024

@JupiterRider Thanks for that friend! Your time is valued and appreciated. 🙇

@gen2brain gen2brain merged commit 0e9c277 into gen2brain:master Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants