DEVICE_NAME: "vk-amd-polaris10"
tags:
- polaris10
+
+virgl-traces:
+ extends:
+ - .traces-test-gl
+ - .virgl-rules
+ variables:
+ LIBGL_ALWAYS_SOFTWARE: "true"
+ GALLIUM_DRIVER: "virpipe"
+ DEVICE_NAME: "gl-virgl"
+ MESA_GLES_VERSION_OVERRIDE: "3.1"
+ MESA_GLSL_VERSION_OVERRIDE: "310"
expectations:
- device: gl-vmware-llvmpipe
checksum: 8867f3a41f180626d0d4b7661ff5c0f4
+ - device: gl-virgl
+ checksum: 8867f3a41f180626d0d4b7661ff5c0f4
- path: glmark2/jellyfish.rdc
expectations:
- device: gl-vmware-llvmpipe
checksum: e0fe979fee129c0ed42a3059d1a4e1c9
+ - device: gl-virgl
+ checksum: e0fe979fee129c0ed42a3059d1a4e1c9
- path: glxgears/glxgears.trace
expectations:
- device: gl-vmware-llvmpipe
checksum: 02aca9b4b4ad6fd60331df6e4f87f2cd
+ - device: gl-virgl
+ checksum: 02aca9b4b4ad6fd60331df6e4f87f2cd
- path: KhronosGroup-Vulkan-Tools/vkcube.gfxr
expectations:
- device: vk-amd-polaris10
export DISPLAY=
export WAFFLE_PLATFORM="surfaceless_egl"
+RESULTS=`pwd`/results
+mkdir -p $RESULTS
+
# Perform a self-test to ensure tracie is working properly.
"$INSTALL/tracie/tests/test.sh"
+if [ "$GALLIUM_DRIVER" = "virpipe" ]; then
+ # tracie is to use virpipe, and virgl_test_server llvmpipe
+ export GALLIUM_DRIVER="$GALLIUM_DRIVER"
+
+ GALLIUM_DRIVER=llvmpipe \
+ GALLIVM_PERF="nopt,no_filter_hacks" \
+ VTEST_USE_EGL_SURFACELESS=1 \
+ VTEST_USE_GLES=1 \
+ virgl_test_server >$RESULTS/vtest-log.txt 2>&1 &
+
+ sleep 1
+fi
+
# Sanity check to ensure that our environment is sufficient to make our tests
# run against the Mesa built by CI, rather than any installed distro version.
MESA_VERSION=$(cat "$INSTALL/VERSION" | sed 's/\./\\./g')