From 3af2153673e2308d2948aad5ec1f31b93e8d0a85 Mon Sep 17 00:00:00 2001 From: ell <77150506+ellraiser@users.noreply.github.com> Date: Tue, 10 Oct 2023 16:14:54 +0100 Subject: [PATCH] print vulka renderer info --- .github/workflows/main.yml | 12 +++--------- tests/graphics.lua | 1 + 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0e54c3f..296837a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,15 +81,7 @@ jobs: # with: # name: test-output-windows-opengles # path: test-output-windows-opengles.zip - # - name: Install Vulkan SDK - # uses: jakoch/install-vulkan-sdk-action@v1.0.0 - # 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 @@ -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 diff --git a/tests/graphics.lua b/tests/graphics.lua index f01aa51..f27bd23 100644 --- a/tests/graphics.lua +++ b/tests/graphics.lua @@ -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