[GLSLShader] Update sample to use latest unified API