Home | History | Annotate | Download | only in glsl

Lines Matching full:shader

176       { "vertex-shader", no_argument, &shader_type, GL_VERTEX_SHADER },
177 { "fragment-shader", no_argument, &shader_type, GL_FRAGMENT_SHADER },
192 printf(" --vertex-shader: test with a vertex shader (the default)\n");
193 printf(" --fragment-shader: test with a fragment shader\n");
204 struct gl_shader *shader = rzalloc(NULL, struct gl_shader);
205 shader->Type = shader_type;
210 = new(shader) _mesa_glsl_parse_state(ctx, shader->Type, shader);
213 shader->ir = new(shader) exec_list;
215 _mesa_glsl_read_ir(state, shader->ir, input.c_str(), true);
217 shader->Source = input.c_str();
218 const char *source = shader->Source;
228 shader->ir = new(shader) exec_list;
230 _mesa_ast_to_hir(shader->ir, state);
236 _mesa_print_ir(shader->ir, state);
244 progress = do_optimization_passes(shader->ir, &argv[optind],
254 _mesa_print_ir(shader->ir, state);
267 ralloc_free(shader);