mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
gpu/internal/driver: use strings for generated DXIL assembly
Literal strings are a more compact than literal byte slices. A future change will switch to go:embed to save even more space. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -59,7 +59,7 @@ type ShaderSources struct {
|
||||
GLSL310ES string
|
||||
GLSL130 string
|
||||
GLSL150 string
|
||||
HLSL []byte
|
||||
HLSL string
|
||||
Uniforms UniformsReflection
|
||||
Inputs []InputLocation
|
||||
Textures []TextureBinding
|
||||
|
||||
Reference in New Issue
Block a user