Home
last modified time | relevance | path

Searched refs:CachedShaders (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c55 static struct cached_shader CachedShaders[MAX_SHADERS]; variable
69 if (CachedShaders[i].num_attribs == num_attribs) { in lookup_shader()
72 if (semantic_names[j] != CachedShaders[i].semantic_names[j] || in lookup_shader()
73 semantic_indexes[j] != CachedShaders[i].semantic_indexes[j]) { in lookup_shader()
79 return CachedShaders[i].handle; in lookup_shader()
88 CachedShaders[i].num_attribs = num_attribs; in lookup_shader()
90 CachedShaders[i].semantic_names[j] = semantic_names[j]; in lookup_shader()
91 CachedShaders[i].semantic_indexes[j] = semantic_indexes[j]; in lookup_shader()
94 CachedShaders[i].handle = in lookup_shader()
101 return CachedShaders[i].handle; in lookup_shader()
[all …]