File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,11 @@ jobs:
149149 with:
150150 version: 1.4.309.0
151151 cache: true
152+ - if: ${{ runner.os == 'Windows' }}
153+ name: Windows - Setup Vulkan Runtime
154+ run: |
155+ echo "VK_LAYER_PATH=$VULKAN_SDK/Bin" >> "$GITHUB_ENV"
156+ echo "$VULKAN_SDK/Bin" >> "$GITHUB_PATH"
152157 - if: ${{ runner.os == 'Linux' }}
153158 name: Linux - Install native dependencies
154159 run: sudo apt install libwayland-cursor0 libxkbcommon-dev libwayland-dev
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ impl NumericType for u32 {
150150 format!("{}", value)
151151 }
152152 fn can_have_relative_diff() -> bool {
153- false
153+ true
154154 }
155155 fn as_f64(value: Self) -> f64 {
156156 value as f64
@@ -403,8 +403,8 @@ mod tests {
403403 _ => panic!("Expected numeric difference"),
404404 }
405405 match &diffs[0].relative_diff {
406- DiffMagnitude::Incomparable => {}
407- _ => panic!("Expected incomparable relative diff for U32"),
406+ DiffMagnitude::Numeric(val) => assert_eq!(*val, 3.0 / 5.0), // 3/5 = 0.6
407+ _ => panic!("Expected numeric relative diff for U32"),
408408 }
409409
410410 // Check second difference (index 3: 4 vs 7)
You can’t perform that action at this time.
0 commit comments