cmd/compile: add Vulkan function name to error messages
Signed-off-by: Elias Naur <mail@eliasnaur.com>
init.sh: don't build SwiftShader with -Werror
Newer C++ compilers may complain about new errors.
Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/compile: remove GLSL hash from output
Hashes are no longer needed for ensuring version compatibility.
Signed-off-by: Elias Naur <mail@eliasnaur.com>
remove unused (and unimplemented) SamplerDescriptor
Signed-off-by: Elias Naur <mail@eliasnaur.com>
cpu: remove panics from unsupported resource free methods
They're harmless and by not panicing client code can unconditionally
free them.
Signed-off-by: Elias Naur <mail@eliasnaur.com>
cpu: add Supported for determining whether CPU fallback is supported
Signed-off-by: Elias Naur <mail@eliasnaur.com>
piet: remove
It has moved to gioui.org/shader/piet.
Signed-off-by: Elias Naur <mail@eliasnaur.com>
init.sh,/cmd/compile: support compiling for outside packages
Needed for generating CPU fallbacks for gioui.org/shader.
Signed-off-by: Elias Naur <mail@eliasnaur.com>
go.mod: upgrade to Go 1.17 to allow unsafe.Slice
Signed-off-by: Elias Naur <mail@eliasnaur.com>