Home
last modified time | relevance | path

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

/external/virglrenderer/src/
Dvrend_shader.c132 char *glsl_main; member
498 ctx->glsl_main = strcat_realloc(ctx->glsl_main, buf); in add_str_to_glsl_main()
499 return ctx->glsl_main; in add_str_to_glsl_main()
4961 ctx.glsl_main = malloc(4096); in vrend_convert_shader()
4962 if (!ctx.glsl_main) in vrend_convert_shader()
4965 ctx.glsl_main[0] = '\0'; in vrend_convert_shader()
4982 glsl_final = malloc(strlen(glsl_hdr) + strlen(ctx.glsl_main) + 1); in vrend_convert_shader()
4993 strcat(glsl_final, ctx.glsl_main); in vrend_convert_shader()
4997 free(ctx.glsl_main); in vrend_convert_shader()
5043 free(ctx.glsl_main); in vrend_convert_shader()