demos: add test of vertex-only and fragment-only shader programs