The function had a mix of true/GL_TRUE and false/GL_FALSE
returns. Using GL_TRUE/GL_FALSE as the function returns a GLboolean.
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
/* SPIR-V programs use a NIR linker */
if (shProg->data->spirv) {
if (!gl_nir_link_uniforms(ctx, shProg))
- return false;
+ return GL_FALSE;
gl_nir_link_assign_atomic_counter_resources(ctx, shProg);
gl_nir_link_assign_xfb_resources(ctx, shProg);
}
if (brw->precompile && !brw_shader_precompile(ctx, shProg))
- return false;
+ return GL_FALSE;
/* SPIR-V programs build its resource list from linked NIR shaders. */
if (!shProg->data->spirv)
shader->ir = NULL;
}
- return true;
+ return GL_TRUE;
}