internal/shaderir: fix comments

This commit is contained in:
Hajime Hoshi 2023-12-24 23:10:41 +09:00
parent c48fc05132
commit 4a2c8212fb

View File

@ -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 {