Merge pull request #6747 from ricardoquesada/improved_shader_test

Even better shader test
use RGBA8 as default pixel format
Merge pull request #6748 from minggo/template-fix

use RGBA8 as default pixel format