Shaders: gate the constant_color test helper to Windows
@@ -516,6 +516,7 @@ mod tests {
}
/// A pixel shader writing a constant colour.
+ #[cfg(windows)]
fn constant_color() -> Vec<u8> {
let mut s = Shader::new(true);
s.outputs.push(SigElement {