support program queries used by Cg Toolkit
support NV_path_rendering and indexed EXT_direct_state_access