slang: fix typos
This commit is contained in:
parent
f11e25ee95
commit
396f2cd94f
1 changed files with 2 additions and 2 deletions
|
|
@ -4191,8 +4191,8 @@ _slang_gen_variable(slang_assemble_ctx * A, slang_operation *oper)
|
|||
slang_variable *var = _slang_variable_locate(oper->locals, name, GL_TRUE);
|
||||
slang_ir_node *n;
|
||||
if (!var || !var->declared) {
|
||||
/* Geometry shader set gl_VerticesIn at link time
|
||||
* so we need to way with resolving this variable
|
||||
/* Geometry shaders set gl_VerticesIn at link time
|
||||
* so we need to wait with resolving this variable
|
||||
* until then */
|
||||
if (A->program->Target == MESA_GEOMETRY_PROGRAM &&
|
||||
!strcmp((char*)name, "gl_VerticesIn") ){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue