From 4a2c8212fb685f43843791246659c0ec19e18e70 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 24 Dec 2023 23:10:41 +0900 Subject: [PATCH] internal/shaderir: fix comments --- internal/shaderir/program.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/shaderir/program.go b/internal/shaderir/program.go index 57f644ae8..792358ab9 100644 --- a/internal/shaderir/program.go +++ b/internal/shaderir/program.go @@ -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 {