mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/shaderir: fix comments
This commit is contained in:
parent
c48fc05132
commit
4a2c8212fb
@ -461,7 +461,7 @@ func (p *Program) appendReachableUniformVariablesFromBlock(indices []int, block
|
||||
return indices
|
||||
}
|
||||
|
||||
// FilterUniformVariables replaces uniform variables with nil when they are not used.
|
||||
// FilterUniformVariables replaces uniform variables with 0 when they are not used.
|
||||
// By minimizing uniform variables, more commands can be merged in the graphicscommand package.
|
||||
func (p *Program) FilterUniformVariables(uniforms []uint32) {
|
||||
if p.uniformFactors == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user