Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
++
  • Loading branch information
jonahwilliams committed Oct 30, 2023
commit 2bea539557b2b6d5cc6514aad5e9bc986b618211
4 changes: 1 addition & 3 deletions impeller/docs/specialization_constants.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Specialization Constants

A specialization constant is a named variable that contains a value that contains a known constant
value at runtime, but not when the shader is authored. These variables are bound to specific values when
the shader is compiled on application start up and allow the backend to perform optimizations such as branch elimination and constant folding.
A specialization constant is a named variable that is known to be constant at runtime but not when the shader is authored. These variables are bound to specific values when the shader is compiled on application start up and allow the backend to perform optimizations such as branch elimination and constant folding.

Specialization constants have two possible benefits when used in a shader:

Expand Down