update:
- add validate macro for debugging.
- add parameter setup for shaders.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>