Lines Matching refs:path

173    static const char *path = NULL;
176 path = getenv("MESA_SHADER_CAPTURE_PATH");
180 if (!path) {
184 path = p;
189 return path;
1933 * Construct a full path for shader replacement functionality using
1936 * <path>/<stage prefix>_<CHECKSUM>.glsl
1937 * <path>/<stage prefix>_<CHECKSUM>.arb
1941 const char *source, const char *path)
1949 return ralloc_asprintf(NULL, "%s/%s_%s.%s", path, types[stage], sha, format);
3229 * tokens of a parsed shader include path.
3235 char *path;
3241 struct hash_table *path;
3282 _mesa_hash_table_destroy(sh_incl_ht_entry->path, destroy_shader_include);
3368 struct sh_incl_path_entry *path =
3371 path->path = strdup(path_str);
3372 list_addtail(&path->list, &list->list);
3382 lookup_shader_include(struct gl_context *ctx, char *path,
3388 if (!validate_and_tokenise_sh_incl(ctx, mem_ctx, &path_list, path,
3399 bool relative_path = path[0] != '/';
3414 _mesa_hash_table_search(path_ht, entry->path);
3417 /* Reset search path and skip to the next include path */
3436 path_ht = sh_incl_ht_entry->path;
3443 _mesa_hash_table_search(path_ht, entry->path);
3446 /* Reset search path and skip to the next include path */
3463 path_ht = sh_incl_ht_entry->path;
3470 /* If we get here then we have found a matching path or exahusted our
3483 _mesa_lookup_shader_include(struct gl_context *ctx, char *path,
3487 lookup_shader_include(ctx, path, error_check);
3551 _mesa_hash_table_search(path_ht, entry->path);
3556 sh_incl_ht_entry->path =
3559 _mesa_hash_table_insert(path_ht, entry->path, sh_incl_ht_entry);
3564 path_ht = sh_incl_ht_entry->path;
3593 "%s(no string associated with path %s)", caller, name_cp);
3610 const GLchar* const *path, const GLint *length)
3615 if (count > 0 && path == NULL) {
3616 _mesa_error(ctx, GL_INVALID_VALUE, "%s(count > 0 && path == NULL)",
3629 char *path_cp = copy_string(ctx, path[i], length ? length[i] : -1,
3650 * path for a '/'
3705 "%s(no string associated with path %s)", caller, name_cp);
3733 "%s(no string associated with path %s)", caller, name_cp);