Documentation
¶
Overview ¶
Package testshaders holds the paint shaders of rendertest's paint.ShaderOp tests (giokit patch).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Shader_checker_frag = paint.ShaderSources{ Name: "checker.frag", Blit: shader.Sources{ Name: "checker.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}}, }, Cover: shader.Sources{ Name: "checker.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vCoverUV", Location: 1, Semantic: "TEXCOORD", SemanticIndex: 1, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}, {Name: "cover", Binding: 1}}, }, }
Shader_checker_frag is the paint shader compiled from checker.frag.
var Shader_last_frag = paint.ShaderSources{ Name: "last.frag", Blit: shader.Sources{ Name: "last.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}}, }, Cover: shader.Sources{ Name: "last.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vCoverUV", Location: 1, Semantic: "TEXCOORD", SemanticIndex: 1, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}, {Name: "cover", Binding: 1}}, }, }
Shader_last_frag is the paint shader compiled from last.frag.
var Shader_sample_layer_frag = shader.Sources{ Name: "sample.layer.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vClip", Location: 1, Semantic: "TEXCOORD", SemanticIndex: 1, Type: 0x0, Size: 4}, {Name: "vSourceRect", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 4}, {Name: "vSource", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 3}, {Name: "vParams", Location: 4, Semantic: "TEXCOORD", SemanticIndex: 4, Type: 0x0, Size: 2}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 1}, {Name: "gk_source", Binding: 0}}, }
Shader_sample_layer_frag is the layer shader compiled from sample.layer.frag.
var Shader_solid_frag = paint.ShaderSources{ Name: "solid.frag", Blit: shader.Sources{ Name: "solid.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}}, }, Cover: shader.Sources{ Name: "solid.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vCoverUV", Location: 1, Semantic: "TEXCOORD", SemanticIndex: 1, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}, {Name: "cover", Binding: 1}}, }, }
Shader_solid_frag is the paint shader compiled from solid.frag.
var Shader_sum_frag = paint.ShaderSources{ Name: "sum.frag", Blit: shader.Sources{ Name: "sum.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}}, }, Cover: shader.Sources{ Name: "sum.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vCoverUV", Location: 1, Semantic: "TEXCOORD", SemanticIndex: 1, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}, {Name: "cover", Binding: 1}}, }, }
Shader_sum_frag is the paint shader compiled from sum.frag.
var Shader_uv_frag = paint.ShaderSources{ Name: "uv.frag", Blit: shader.Sources{ Name: "uv.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "gk_params", Binding: 0}}, }, Cover: shader.Sources{ Name: "uv.frag", Inputs: []shader.InputLocation{{Name: "vUV", Location: 0, Semantic: "TEXCOORD", SemanticIndex: 0, Type: 0x0, Size: 2}, {Name: "vCoverUV", Location: 1, Semantic: "TEXCOORD", SemanticIndex: 1, Type: 0x0, Size: 2}, {Name: "vParams", Location: 2, Semantic: "TEXCOORD", SemanticIndex: 2, Type: 0x0, Size: 3}, {Name: "vOpacity", Location: 3, Semantic: "TEXCOORD", SemanticIndex: 3, Type: 0x0, Size: 1}}, Textures: []shader.TextureBinding{{Name: "cover", Binding: 1}, {Name: "gk_params", Binding: 0}}, }, }
Shader_uv_frag is the paint shader compiled from uv.frag.
Functions ¶
This section is empty.
Types ¶
This section is empty.