testshaders

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: MIT, MIT, Unlicense Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package testshaders holds the paint shaders of rendertest's paint.ShaderOp tests (giokit patch).

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL