add function to change shading mode

add key to change shading mode in test
1. S to use shader
1. F to use fixed-function pipeline