KhronosGroup / KhronosGroup/glslang
local_size_variable
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 989
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
The _local_size_variable_ option is made possible by the extension _GL_ARB_compute_variable_group_size_.
https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_compute_variable_group_size.txt
Is there any plan to add support? For example being able to write in the GLSL:
#version 430
layout( local_size_variable ) in;
void main() {}
Where the values of _local_size_x_, _local_size_y_, and _local_size_z_ are set when compute is dispatched. Instead of having to write:
#version 430
layout( local_size_x = 32, local_size_y = 32, local_size_z = 1 ) in;
void main() {}
If support is not planned, are you interested in someone else doing the implementation and submitting a PR?
Contributor guide
Assessment
This issue has not been assessed yet.