KhronosGroup / KhronosGroup/glslang
GL_ARB_bindless_texture input sampler for fragment shader must have the qualifier "flat"
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 989
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
As defined in "Section 4.3.4, Inputs, p. 34" of https://registry.khronos.org/OpenGL/extensions/ARB/ARB_bindless_texture.txt
Fragment shader inputs that are signed or unsigned integers,
integer vectors, or any double-precision floating- point type, or any
sampler or image type must be qualified with the interpolation qualifier
"flat".
Current implementation violates this rule.
Contributor guide
Research direction
Start with Section 4.3.4 of the ARB_bindless_texture specification and trace glslang's validation of fragment shader inputs involving sampler or image types. Confirm the current behavior with a minimal shader, then add or update coverage so these inputs require the flat interpolation qualifier.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100