Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable swiftshader on Windows #753

Open
dj2 opened this issue Dec 11, 2019 · 0 comments
Open

Enable swiftshader on Windows #753

dj2 opened this issue Dec 11, 2019 · 0 comments
Labels
infra Issues related to infrastructure

Comments

@dj2
Copy link
Collaborator

dj2 commented Dec 11, 2019

Currently the windows bot do not run the tests under swiftshader due to not finding the layers.

Setup the build.bat script to correctly find the layers and run the tests under swiftshader.

cmake -GNinja -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -DAMBER_USE_LOCAL_VULKAN=1 -DAMBER_ENABLE_SWIFTSHADER=1 ..
echo "%DATE% %TIME%: Starting integration tests.."		
set VK_LAYER_PATH=%SRC%\build\third_party\vulkan-validationlayers\layers		
set VK_ICD_FILENAMES=%SRC%\build\Windows\vk_swiftshader_icd.json		
cd %SRC%		
python tests\run_tests.py --test-prog-path=%SRC%\build\amber.exe --use-swiftshader		
echo "%DATE% %TIME%: integration tests completed."
@dj2 dj2 added the infra Issues related to infrastructure label Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Issues related to infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant