Lines Matching full:shaders
72 ppq->shaders = CALLOC(num_filters, sizeof(void *));
75 if ((ppq->shaders == NULL) ||
77 pp_debug("Unable to allocate memory for shaders and filter arrays.\n");
95 if (pp_filters[i].shaders) {
96 ppq->shaders[curpos] =
97 CALLOC(pp_filters[i].shaders + 1, sizeof(void *));
98 if (!ppq->shaders[curpos]) {
121 ppq->shaders[i][0] = ppq->p->passvs;
179 if (ppq->p->pipe && ppq->filters && ppq->shaders) {
183 if (ppq->shaders[i] == NULL) {
191 for (j = 0; j < pp_filters[filter].shaders; j++) {
192 if (ppq->shaders[i][j] == NULL) {
193 /* We reached the end of initialized shaders. */
197 if (ppq->shaders[i][j] == ppq->p->passvs) {
208 ppq->shaders[i][j]);
209 ppq->shaders[i][j] = NULL;
213 ppq->shaders[i][j]);
214 ppq->shaders[i][j] = NULL;
231 FREE(ppq->shaders);