Check if the program can execute given the current OpenGL state. If validation fails, information from the driver is dumped giving the reason.
program (int) – Handle of program object to validate. Must have originated from a
createProgramObjectARB()
or glCreateProgramObjectARB call.