Home
last modified time | relevance | path

Searched refs:glsl_strbufs (Results 1 – 1 of 1) sorted by relevance

/external/virglrenderer/src/
Dvrend_shader.c180 struct vrend_glsl_strbufs glsl_strbufs; member
607 static void emit_indent(struct vrend_glsl_strbufs *glsl_strbufs) in emit_indent() argument
609 if (glsl_strbufs->indent_level > 0) { in emit_indent()
611 int indent_level = MIN2(glsl_strbufs->indent_level, 15); in emit_indent()
615 strbuf_append(&glsl_strbufs->glsl_main, buf); in emit_indent()
619 static void emit_buf(struct vrend_glsl_strbufs *glsl_strbufs, const char *buf) in emit_buf() argument
621 emit_indent(glsl_strbufs); in emit_buf()
622 strbuf_append(&glsl_strbufs->glsl_main, buf); in emit_buf()
625 static void indent_buf(struct vrend_glsl_strbufs *glsl_strbufs) in indent_buf() argument
627 glsl_strbufs->indent_level++; in indent_buf()
[all …]