StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
389 B
19 lines
389 B
var tokenize = require('glsl-tokenizer/string')
|
|
var descope = require('./')
|
|
var stringify = require('glsl-token-string')
|
|
|
|
var src =
|
|
[ 'precision mediump float;'
|
|
,
|
|
, 'uniform mat4 top1;'
|
|
, 'uniform float top2;'
|
|
,
|
|
, 'void main() {'
|
|
, ' float x = 1.0;'
|
|
, ' gl_FragColor = vec4(vec3(x), top2);'
|
|
, '}'
|
|
].join('\n')
|
|
|
|
var tokens = tokenize(src)
|
|
|
|
console.log(stringify(descope(tokens)))
|
|
|