mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
gpu/internal/convertshaders: don't use Wine for the dxc tool
dxc exists for Linux, and seems to work. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -103,7 +103,10 @@ func NewConverter(workDir WorkDir, packageName, shadersDir string, directCompute
|
||||
|
||||
verifyBinaryPath(&conv.glslvalidator.Bin)
|
||||
verifyBinaryPath(&conv.spirv.Bin)
|
||||
// we cannot check fxc/dxc, since they may depend on wine
|
||||
if directCompute {
|
||||
verifyBinaryPath(&conv.dxc.Bin)
|
||||
}
|
||||
// We cannot check fxc since it may depend on wine.
|
||||
|
||||
conv.glslvalidator.WorkDir = workDir.Dir("glslvalidator")
|
||||
conv.fxc.WorkDir = workDir.Dir("fxc")
|
||||
|
||||
Reference in New Issue
Block a user