mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-02 21:50:34 +01:00
glsl: fix a comment typo
This commit is contained in:
parent
ef0e0f2550
commit
14eca6b573
1 changed files with 1 additions and 1 deletions
|
|
@ -4301,7 +4301,7 @@ _slang_codegen_global_variable(slang_assemble_ctx *A, slang_variable *var,
|
|||
* additional samplers to ensure we don't allocate them elsewhere.
|
||||
* We can't directly use _mesa_add_sampler() as that checks the
|
||||
* varName and gets a match, so we call _mesa_add_parameter()
|
||||
* directly and use the last sampler number for the call above.
|
||||
* directly and use the last sampler number from the call above.
|
||||
*/
|
||||
if (arrayLen > 0) {
|
||||
GLint a = arrayLen - 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue