Timeline for OpenGL compute for sizes that aren't a multiple of "local_size"
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 5, 2023 at 12:50 | comment | added | Chifti Saidi | Thanks for the explanation. | |
May 4, 2023 at 9:19 | history | edited | Thomas | CC BY-SA 4.0 |
added 4495 characters in body
|
May 4, 2023 at 4:50 | comment | added | Thomas | Yes. You check if the global invocation ID hits a pixel within your texture. And if it does, you do your calculations | |
May 3, 2023 at 20:00 | comment | added | Chifti Saidi | So I have to do "if ((gl_GlobalInvocationID.x < 17) && (gl_GlobalInvocationID.y < 17))" in my shader? | |
May 2, 2023 at 21:05 | history | answered | Thomas | CC BY-SA 4.0 |