File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ impl NativeTest {
6262
6363 let env_value = if metal_validation { "1" } else { "0" } ;
6464 std:: env:: set_var ( "MTL_DEBUG_LAYER" , env_value) ;
65- if std:: env:: var ( "GITHUB_ACTIONS" ) . as_deref ( ) != Ok ( "true" ) && !config. params . disable_mtl_shader_validation {
65+ if std:: env:: var ( "GITHUB_ACTIONS" ) . as_deref ( ) != Ok ( "true" )
66+ && !config. params . disable_mtl_shader_validation
67+ {
6668 // Metal Shader Validation is entirely broken in the paravirtualized CI environment.
6769 std:: env:: set_var ( "MTL_SHADER_VALIDATION" , env_value) ;
6870 } else if config. params . disable_mtl_shader_validation {
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ impl TestParameters {
113113 }
114114
115115 /// Disable metal shader validation.
116- ///
116+ ///
117117 /// Metal shader validation can cause features (ray tracing specifically)
118118 /// to break. This disables it so it can be tested.
119119 pub fn disable_mtl_shader_validation ( mut self ) -> Self {
You can’t perform that action at this time.
0 commit comments