pub struct ShaderCompiler;Expand description
Compiles high-level shader descriptions to TGSI instruction lists.
Implementations§
Source§impl ShaderCompiler
impl ShaderCompiler
Sourcepub fn compile_fragment(label: &str, ops: &[ShaderOp]) -> ShaderProgram
pub fn compile_fragment(label: &str, ops: &[ShaderOp]) -> ShaderProgram
Compile a fragment shader from a list of operations.
Sourcepub fn compile_vertex_passthrough(label: &str) -> ShaderProgram
pub fn compile_vertex_passthrough(label: &str) -> ShaderProgram
Compile a simple vertex passthrough shader.