Searched refs:glsl_strbufs (Results 1 – 1 of 1) sorted by relevance
180 struct vrend_glsl_strbufs glsl_strbufs; member607 static void emit_indent(struct vrend_glsl_strbufs *glsl_strbufs) in emit_indent() argument609 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() argument621 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() argument627 glsl_strbufs->indent_level++; in indent_buf()[all …]