As stated in documentation possible values for layout qualifiers of image formats are (for example floating point):
Floating-point layout image formats:
- rgba32f
- rgba16f
- rg32f
- rg16f
- r11f_g11f_b10f
- r32f
- r16f
- rgba16
- rgb10_a2
- rgba8
- rg16
- rg8
- r16
- r8
- rgba16_snorm
- rgba8_snorm
- rg16_snorm
- rg8_snorm
- r16_snorm
- r8_snorm
So we can use R
, RG
and RGBA
formats. But why RGB
(except r11f_g11f_b10f) is not allowed?