<commit_before>package uno.glsl

import com.jogamp.opengl.GL2ES2
import com.jogamp.opengl.util.glsl.ShaderProgram

/**
 * Created by GBarbieri on 22.02.2017.
 */

val ShaderProgram.name
    get() = program()<commit_msg>shaderProgram add/link<commit_after>package uno.glsl

import com.jogamp.opengl.GL2ES2
import com.jogamp.opengl.util.glsl.ShaderCode
import com.jogamp.opengl.util.glsl.ShaderProgram

/**
 * Created by GBarbieri on 22.02.2017.
 */

val ShaderProgram.name
    get() = program()

fun ShaderProgram.add(gl:GL2ES2, shader: ShaderCode) = add(gl, shader, System.err)

fun ShaderProgram.link(gl:GL2ES2) = link(gl, System.err)
{'fraction_non_alphanumeric': 0.12755905511811025, 'fraction_numerical': 0.03779527559055118, 'mean_word_length': 4.628318584070796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '811945', 'n_tokens_mistral': 264, 'n_tokens_neox': 250, 'n_words': 43}