added shader diagnostics