mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
vulkan: improve module initialization code to exit to other backends if there's a device but it's not suitable for love.
Disallow software rendering (CPU devices) with vulkan by default. The environment variable LOVE_GRAPHICS_VULKAN_ALLOW_SOFTWARE can be set to 1 to override that behaviour.
This commit is contained in:
@@ -110,6 +110,7 @@ jobs:
|
||||
- name: Run Test Suite (vulkan)
|
||||
env:
|
||||
LOVE_GRAPHICS_DEBUG: 1
|
||||
LOVE_GRAPHICS_VULKAN_ALLOW_SOFTWARE: 1
|
||||
run: |
|
||||
./love-${{ github.sha }}.AppImage love2d-${{ github.sha }}/testing/main.lua --all --isRunner --renderers vulkan
|
||||
- name: Love Test Report (vulkan)
|
||||
@@ -390,6 +391,7 @@ jobs:
|
||||
# if: steps.vars.outputs.arch != 'ARM64'
|
||||
# env:
|
||||
# LOVE_GRAPHICS_DEBUG: 1
|
||||
# LOVE_GRAPHICS_VULKAN_ALLOW_SOFTWARE: 1
|
||||
# run: |
|
||||
# powershell.exe ./install/lovec.exe ./megasource/libs/love/testing/main.lua --all --isRunner --renderers vulkan
|
||||
# - name: Love Test Report (vulkan)
|
||||
|
||||
Reference in New Issue
Block a user