Home | History | Annotate | Download | only in main

Lines Matching full:shader

18    struct gl_shader * shader = (struct gl_shader *)_hieralloc_zero(ctx, sizeof(struct gl_shader), "zr:gl_shader");
19 if (shader) {
20 shader->Type = type;
21 shader->Name = name;
22 shader->RefCount = 1;
24 return shader;
27 void _mesa_delete_shader(const void * ctx, struct gl_shader *shader)
29 if (!shader)
31 if (shader->RefCount > 1) {
32 shader->DeletePending = GL_TRUE;
35 hieralloc_free(shader);