To handle sparse assignments, don't check maxCombinedTextureImageUnits.
Attach a file by drag & drop or click to upload