Compute shaders support

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
newos20
Prole
Posts: 3
Joined: Sun Oct 31, 2021 11:38 am

Compute shaders support

Post by newos20 »

Hi !
I'm new to love2d, and I wondered if there was a way to use compute shaders in it.
Does someone know if it is possible, or if there is a way to "hack" love2d to support them ?
Thanks
newos20
Prole
Posts: 3
Joined: Sun Oct 31, 2021 11:38 am

Re: Compute shaders support

Post by newos20 »

I had already seen it, but this is only about vertex and pixel shaders, not compute shaders.
User avatar
slime
Solid Snayke
Posts: 3131
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Compute shaders support

Post by slime »

love 12 will support compute shaders - you can find a prerelease build with them here (you might need to be logged into github) https://github.com/love2d/love/actions/ ... #artifacts

APIs aren't documented aside from in commit messages yet. A couple people in the discord server have made small examples if you're interested.

Changes needed for compute shaders and to read and write useful data for them are large enough that it's not feasible to hack it into love 11's codebase.
newos20
Prole
Posts: 3
Joined: Sun Oct 31, 2021 11:38 am

Re: Compute shaders support

Post by newos20 »

Ok, that's nice.
Thank you !
tourgen
Citizen
Posts: 53
Joined: Sat Mar 18, 2023 12:45 am

Re: Compute shaders support

Post by tourgen »

Fantastic news!
Post Reply

Who is online

Users browsing this forum: No registered users and 56 guests