Skip to content

Commit 8099c3e

Browse files
Added Tutorial20_MeshShader and Tutorial21_RayTracing to golden image tests on CI
1 parent f4259a9 commit 8099c3e

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

Tests/ProcessGoldenImages.sh

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ declare -a TestApps=(
9898
"Tutorials/Tutorial17_MSAA"
9999
"Tutorials/Tutorial18_Queries --show_ui 0"
100100
"Tutorials/Tutorial19_RenderPasses"
101+
"Tutorials/Tutorial20_MeshShader --show_ui 0"
102+
"Tutorials/Tutorial21_RayTracing --show_ui 0"
101103
"Tutorials/Tutorial23_CommandQueues --show_ui 0"
102104
"Tutorials/Tutorial25_StatePackager --show_ui 0"
103105
"Tutorials/Tutorial26_StateCache --show_ui 0"
@@ -152,15 +154,19 @@ function process_golden_img
152154
done
153155

154156
skip_test=0
155-
if [[ "$backend_name" == "gl" && ("$app_name" == "Tutorial07_GeometryShader" || "$app_name" == "Tutorial08_Tessellation") ]]; then
156-
for i in "${!args[@]}"; do
157-
if [[ "${args[$i]}" == "--non_separable_progs" ]]; then
158-
let j=i+1
159-
if [[ "${args[$j]}" != "0" ]]; then
160-
skip_test=1
157+
if [[ "$backend_name" == "gl" ]]; then
158+
if [[ "$app_name" == "Tutorial07_GeometryShader" || "$app_name" == "Tutorial08_Tessellation" ]]; then
159+
for i in "${!args[@]}"; do
160+
if [[ "${args[$i]}" == "--non_separable_progs" ]]; then
161+
let j=i+1
162+
if [[ "${args[$j]}" != "0" ]]; then
163+
skip_test=1
164+
fi
161165
fi
162-
fi
163-
done
166+
done
167+
elif [[ "$app_name" == "Tutorial20_MeshShader" || "$app_name" == "Tutorial21_RayTracing" ]]; then
168+
skip_test=1
169+
fi
164170
fi
165171

166172
if [[ "$skip_test" == "0" ]]; then

0 commit comments

Comments
 (0)