Lines Matching refs:usage
166 unsigned usage)
203 if (usage & PIPE_BIND_SAMPLER_VIEW) {
213 if ((usage & (PIPE_BIND_RENDER_TARGET |
219 retval |= usage &
226 retval |= usage & PIPE_BIND_BLENDABLE;
229 if ((usage & PIPE_BIND_DEPTH_STENCIL) &&
234 if ((usage & PIPE_BIND_VERTEX_BUFFER) &&
239 if (usage & PIPE_BIND_INDEX_BUFFER &&
244 if ((usage & PIPE_BIND_LINEAR) &&
246 !(usage & PIPE_BIND_DEPTH_STENCIL))
249 return retval == usage;