KhronosGroup / KhronosGroup/glslang

Modifying compute buffer memory causes "unknown glslang binary operation"

Open
#1,464 4 comments 0 reactions 0 assignees View on GitHub
question
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.