1bf215546Sopenharmony_ci.d3d12-test:
2bf215546Sopenharmony_ci  extends:
3bf215546Sopenharmony_ci    - .build-windows
4bf215546Sopenharmony_ci    - .use-windows_test_vs2019
5bf215546Sopenharmony_ci    - .glon12-test-rules
6bf215546Sopenharmony_ci  stage: layered-backends
7bf215546Sopenharmony_ci  dependencies:
8bf215546Sopenharmony_ci    - windows-vs2019
9bf215546Sopenharmony_ci  needs:
10bf215546Sopenharmony_ci    - windows-vs2019
11bf215546Sopenharmony_ci    - windows_test_vs2019
12bf215546Sopenharmony_ci  variables:
13bf215546Sopenharmony_ci    GIT_STRATEGY: none # testing doesn't build anything from source
14bf215546Sopenharmony_ci    GALLIUM_DRIVER: d3d12
15bf215546Sopenharmony_ci    WGL_DISABLE_ERROR_DIALOGS: "true"
16bf215546Sopenharmony_ci
17bf215546Sopenharmony_ci.d3d12-test-piglit:
18bf215546Sopenharmony_ci  extends:
19bf215546Sopenharmony_ci    - .d3d12-test
20bf215546Sopenharmony_ci  script:
21bf215546Sopenharmony_ci    - . _install/piglit_run.ps1
22bf215546Sopenharmony_ci  artifacts:
23bf215546Sopenharmony_ci    when: on_failure
24bf215546Sopenharmony_ci    name: "mesa_${CI_JOB_NAME}"
25bf215546Sopenharmony_ci    paths:
26bf215546Sopenharmony_ci      - summary/
27bf215546Sopenharmony_ci      - result.txt
28bf215546Sopenharmony_ci
29bf215546Sopenharmony_citest-d3d12-quick_gl:
30bf215546Sopenharmony_ci  extends:
31bf215546Sopenharmony_ci    - .d3d12-test-piglit
32bf215546Sopenharmony_ci  variables:
33bf215546Sopenharmony_ci    PIGLIT_PROFILE: quick_gl
34bf215546Sopenharmony_ci    PIGLIT_RESULTS: "d3d12-quick_gl"
35bf215546Sopenharmony_ci    PIGLIT_TESTS: -x nv_copy_depth_to_color -x glsl-1.30.execution.tex-miplevel-selection -x arb_timer_query.timestamp-get -x max-size -x query.gl_timestamp -x query.time-elapsed -x tes-gs-max-output
36bf215546Sopenharmony_ci
37bf215546Sopenharmony_citest-d3d12-quick_shader:
38bf215546Sopenharmony_ci  extends:
39bf215546Sopenharmony_ci    - .d3d12-test-piglit
40bf215546Sopenharmony_ci  variables:
41bf215546Sopenharmony_ci    PIGLIT_PROFILE: quick_shader
42bf215546Sopenharmony_ci    PIGLIT_RESULTS: "d3d12-quick_shader"
43bf215546Sopenharmony_ci    # These tests crash WARP causing the test suite to timeout, or are flaky
44bf215546Sopenharmony_ci    PIGLIT_TESTS: -x amd_texture_texture4 -x arb_texture_gather -x isoline
45