Lines Matching refs:usage
247 unsigned usage)
274 if (usage & PIPE_BIND_SAMPLER_VIEW) {
284 if ((usage & (PIPE_BIND_RENDER_TARGET |
290 retval |= usage &
297 retval |= usage & PIPE_BIND_BLENDABLE;
300 if ((usage & PIPE_BIND_DEPTH_STENCIL) &&
305 if ((usage & PIPE_BIND_VERTEX_BUFFER) &&
310 if (usage & PIPE_BIND_INDEX_BUFFER &&
315 if ((usage & PIPE_BIND_LINEAR) &&
317 !(usage & PIPE_BIND_DEPTH_STENCIL))
320 return retval == usage;