params.es6 907 字节
Newer Older
W
wangqun 已提交
1 2 3 4 5 6 7 8
/* eslint-disable */
/**
 * @file 加法参数
 * @author yangmingming
 */
export default `
    // 输入数据
    const int axis = AXIS;
W
wangqun 已提交
9 10 11 12 13 14 15 16 17 18 19 20 21 22
    const int width_shape_origin = WIDTH_SHAPE_ORIGIN;
    const int height_shape_origin = HEIGHT_SHAPE_ORIGIN;
    const int length_shape_origin = LENGTH_SHAPE_ORIGIN;
    const int width_texture_origin = WIDTH_TEXTURE_ORIGIN;
    const int height_texture_origin = HEIGHT_TEXTURE_ORIGIN;
    const int channel_origin = CHANNEL_ORIGIN;

    const int height_shape_counter = HEIGHT_SHAPE_COUNTER;
    const int width_shape_counter = WIDTH_SHAPE_COUNTER;
    const int length_shape_counter = LENGTH_SHAPE_COUNTER;
    const int width_texture_counter = WIDTH_TEXTURE_COUNTER;
    const int height_texture_counter = HEIGHT_TEXTURE_COUNTER;
    const int channel_counter = CHANNEL_COUNTER;
    
W
wangqun 已提交
23
    uniform sampler2D texture_origin;
W
wangqun 已提交
24 25
	uniform sampler2D texture_counter;

W
wangqun 已提交
26
`;