Skip to content

Commit

Permalink
print vulka renderer info
Browse files Browse the repository at this point in the history
  • Loading branch information
ellraiser committed Oct 10, 2023
1 parent e8350e8 commit 3af2153
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,7 @@ jobs:
# with:
# name: test-output-windows-opengles
# path: test-output-windows-opengles.zip
# - name: Install Vulkan SDK
# uses: jakoch/[email protected]
# with:
# vulkan_version: 1.3.231.1
# optional_components: com.lunarg.vulkan.vma,com.lunarg.vulkan.core
# install_runtime: true
# cache: true
# stripdown: true
- name: Run Tests (vulkan)
- name: Install Vulkan SDK
run: |
curl -L --show-error --output VulkanSDK.exe https://sdk.lunarg.com/sdk/download/1.3.231.1/windows/VulkanSDK-1.3.231.1-Installer.exe
./VulkanSDK.exe --root C:/VulkanSDK/1.3.231.1 --accept-licenses --default-answer --confirm-command install com.lunarg.vulkan.core com.lunarg.vulkan.vma
Expand All @@ -100,6 +92,8 @@ jobs:
copy "C:/VulkanSDK/1.3.231.1/runtime/x64/vulkan-1.dll" "love-12.0-win64/love-12.0-win64"
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\Vulkan\Drivers /v "${{ github.workspace }}\mesa\x64\lvp_icd.x86_64.json" /t REG_DWORD /d 0
powershell.exe C:/VulkanSDK/1.3.231.1/runtime/x64/vulkaninfo.exe --summary
- name: Run Tests (vulkan)
run: |
powershell.exe ./love-12.0-win64/love-12.0-win64/lovec.exe ./ --renderers vulkan
- name: Love Test Report (vulkan)
uses: ellraiser/love-test-report@main
Expand Down
1 change: 1 addition & 0 deletions tests/graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,7 @@ end
-- love.graphics.isActive
love.test.graphics.isActive = function(test)
local name, version, vendor, device = love.graphics.getRendererInfo()
print(name, version, vendor, device)
if string.match(name, 'Vulkan') then
test:skipTest('love.graphics.isActive() crashes on Vulkan')
else
Expand Down

0 comments on commit 3af2153

Please sign in to comment.