issue #5824: add shader program constants