KhronosGroup / KhronosGroup/glslang
Modifying compute buffer memory causes "unknown glslang binary operation"
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 989
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
I have created a simple GLSL shader to be compiled with glslang, but I get the message "Missing functionality: unknown glslang binary operation" from the logger. Are buffers not implemented?
GLSL Code
```glsl
#version 450
#extension GL_ARB_separate_shader_objects : enable
layout(binding = 0) buffer Buffer1 {
float[] fpn;
};
void main() {
uint GIX = gl_GlobalInvocationID.x;
fpn[GIX] *= 4.0f;
}
```
Contributor guide
Research direction
Start with the provided GLSL shader and reproduce the "unknown glslang binary operation" message using glslang. Trace the handling of the buffer element update and determine whether the operation is supported; done means the shader no longer triggers the missing-functionality diagnostic or the limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100