gpu/internal/vulkan: support novulkan tag, FreeBSD

The novulkan tag didn't completely disable the Vulkan backend, and
the backend wouldn't register on FreeBSD. This change fixes both
issues.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-11-26 22:02:41 +01:00
parent e82438e53d
commit cf9832ffcb
+3 -2
View File
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: Unlicense OR MIT
//go:build linux
// +build linux
//go:build (linux || freebsd) && !novulkan
// +build linux freebsd
// +build !novulkan
package vulkan