Skip to content

Vulkan SDK 1.4.309.0 with MacOS 15.4.1, "SPIR-V to MSL conversion error" #11

@rgobbel

Description

@rgobbel

This is similar to the previously reported error with Vulkan 1.3.268.1, but not exactly the same. Trying to run the widgets example, I get:

[mvk-error] SPIR-V to MSL conversion error: Argument buffer resource base type could not be determined. When padding argument buffer elements, all descriptor set resources must be supplied with a base type by the app.
[mvk-error] VK_ERROR_INVALID_SHADER_NV: Fragment shader function could not be compiled into pipeline. See previous logged error.
panic: vulkan error: vulkan error: invalid shader (NV) (-1000012000) on /Users/gobbel/go/pkg/mod/github.com/goki/vgpu@v1.0.34/vgpu/errors.go:23 (0x1047eccef)
		NewError: pc, _, _, ok := runtime.Caller(0)
	

goroutine 1 [running, locked to thread]:
github.com/goki/vgpu/vgpu.IfPanic(...)
	/Users/gobbel/go/pkg/mod/github.com/goki/vgpu@v1.0.34/vgpu/errors.go:40
github.com/goki/vgpu/vgpu.(*Pipeline).Config(0x140001a2200)
	/Users/gobbel/go/pkg/mod/github.com/goki/vgpu@v1.0.34/vgpu/pipeline.go:195 +0x484
github.com/goki/vgpu/vgpu.(*System).Config(0x140003e0710)
	/Users/gobbel/go/pkg/mod/github.com/goki/vgpu@v1.0.34/vgpu/system.go:277 +0xd8
github.com/goki/vgpu/vdraw.(*Drawer).ConfigSys(0x140003e0710)
	/Users/gobbel/go/pkg/mod/github.com/goki/vgpu@v1.0.34/vdraw/config.go:106 +0x798
github.com/goki/vgpu/vdraw.(*Drawer).ConfigSurface(0x140003e0710, 0x1400062e790, 0x1400089baa8?)
	/Users/gobbel/go/pkg/mod/github.com/goki/vgpu@v1.0.34/vdraw/vdraw.go:51 +0x9c
github.com/goki/gi/oswin/driver/vkos.(*appImpl).NewWindow.func2()
	/Users/gobbel/src/gi/oswin/driver/vkos/app.go:249 +0x118
github.com/goki/gi/oswin/driver/vkos.(*appImpl).mainLoop(0x1070030e0)
	/Users/gobbel/src/gi/oswin/driver/vkos/app.go:159 +0xf4
github.com/goki/gi/oswin/driver/vkos.Main(0x14000072738?)
	/Users/gobbel/src/gi/oswin/driver/vkos/app.go:81 +0xa4
github.com/goki/gi/oswin/driver.driverMain(...)
	/Users/gobbel/src/gi/oswin/driver/driver_vkos.go:18
github.com/goki/gi/oswin/driver.Main(...)
	/Users/gobbel/src/gi/oswin/driver/driver.go:27
github.com/goki/gi/gimain.Main(0x1063148f0)
	/Users/gobbel/src/gi/gimain/gimain.go:31 +0x60
main.main()
	/Users/gobbel/src/gi/examples/widgets/widgets.go:24 +0x24

I haven't tried another version yet. I'm trying to run the axon version of PVLV, running into some problems with that, tried to install a new Vulkan SDK in the hope that that would solve those issues, but obviously not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions