Lines Matching defs:shaders
237 for (unsigned s = 0; s < ARRAY_SIZE(gfx_pipeline->shaders); s++) {
238 if (gfx_pipeline->shaders[s])
239 anv_shader_bin_unref(device, gfx_pipeline->shaders[s]);
258 util_dynarray_foreach(&rt_pipeline->shaders,
1297 /* Primitive replication depends on information from all the shaders.
1304 (const void *) pipeline->shaders[MESA_SHADER_VERTEX]->prog_data;
1400 pipeline->shaders[s] = bin;
1416 /* We found all our shaders in the cache. We're done. */
1417 for (unsigned s = 0; s < ARRAY_SIZE(pipeline->shaders); s++) {
1422 pipeline->shaders[s]);
1427 /* We found some but not all of our shaders. This shouldn't happen most
1440 * references to the shaders in the cache. We'll get them out of the
1443 for (unsigned s = 0; s < ARRAY_SIZE(pipeline->shaders); s++) {
1445 if (pipeline->shaders[s]) {
1446 anv_shader_bin_unref(pipeline->base.device, pipeline->shaders[s]);
1447 pipeline->shaders[s] = NULL;
1481 assert(pipeline->shaders[s] == NULL);
1596 * used in all the active shaders, so this check can't be done per
1597 * individual shaders.
1599 nir_shader *shaders[ANV_GRAPHICS_SHADER_STAGE_COUNT] = {};
1600 for (unsigned s = 0; s < ARRAY_SIZE(shaders); s++)
1601 shaders[s] = stages[s].nir;
1604 anv_check_for_primitive_replication(shaders, pipeline);
1739 pipeline->shaders[s] = bin;
1771 for (unsigned s = 0; s < ARRAY_SIZE(pipeline->shaders); s++) {
1772 if (pipeline->shaders[s])
1773 anv_shader_bin_unref(pipeline->base.device, pipeline->shaders[s]);
2278 /* Ray-tracing shaders don't have a "real" bind map */
2295 /* TODO: Figure out executables for resume shaders */
2297 util_dynarray_append(&pipeline->shaders, struct anv_shader_bin *, bin);
2445 uint32_t shaders = 0, cache_hits = 0;
2450 shaders++;
2467 util_dynarray_append(&pipeline->shaders, struct anv_shader_bin *, stages[i].bin);
2478 return cache_hits == shaders;
2544 /* We handle intersection shaders as part of the group */
2822 util_dynarray_init(&pipeline->shaders, pipeline->base.mem_ctx);
2833 util_dynarray_foreach(&pipeline->shaders,
3056 prog_data = anv_pipeline_to_graphics(pipeline)->shaders[exe->stage]->prog_data;
3065 util_dynarray_element(&anv_pipeline_to_ray_tracing(pipeline)->shaders,