refactor(wezterm): do not dump gpus

This commit is contained in:
Price Hiller 2023-05-03 16:26:50 -05:00
parent ead312f29a
commit a69f3d9859
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -2,10 +2,8 @@
-- we are unable to locate a card that supports Vulkan we fall back to OpenGL
local config = {}
local wezterm = require("wezterm")
local wlib = require("wlib")
local found_valid_gpu = false
wezterm.log_info(wlib.Table.dump(wezterm.gui.enumerate_gpus()))
for _, gpu in ipairs(wezterm.gui.enumerate_gpus()) do
if gpu.backend == "Vulkan" then
wezterm.log_info("Found Usable Vulkan GPU\n Device Name -> " .. gpu.name .."\n Device Type -> " .. gpu.device_type)