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:
Elias Naur
2021-04-12 12:34:59 +02:00
parent fbee13a07d
commit 23e0c898ef
6 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ type ShaderSources struct {
GLSL310ES string
GLSL130 string
GLSL150 string
HLSL []byte
HLSL string
Uniforms UniformsReflection
Inputs []InputLocation
Textures []TextureBinding