Lines Matching refs:bind
154 if (templ->bind & PIPE_BIND_SAMPLER_VIEW)
224 if (templ->bind & PIPE_BIND_SHADER_BUFFER)
227 if (templ->bind & PIPE_BIND_RENDER_TARGET)
230 if (templ->bind & PIPE_BIND_DEPTH_STENCIL) {
253 if (templ->bind & (PIPE_BIND_SCANOUT | PIPE_BIND_LINEAR))
285 if (screen->winsys && (templ->bind & PIPE_BIND_DISPLAY_TARGET)) {
288 res->base.b.bind,
504 res->base.b.bind = PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_CONSTANT_BUFFER |
529 res->base.b.bind |= PIPE_BIND_SHARED;
531 res->base.b.bind |= PIPE_BIND_RENDER_TARGET | PIPE_BIND_BLENDABLE | PIPE_BIND_DISPLAY_TARGET;
533 res->base.b.bind |= PIPE_BIND_DEPTH_STENCIL;
535 res->base.b.bind |= PIPE_BIND_SHADER_IMAGE;
537 res->base.b.bind |= PIPE_BIND_SAMPLER_VIEW;
588 /* In an ideal world we'd be able to validate this, but gallium's use of bind
589 * flags during resource creation is pretty bad: some bind flags are always set
592 if (templ->bind & ~res->base.b.bind) {
593 debug_printf("d3d12: Imported resource doesn't have necessary bind flags\n");
1376 tmpl.bind = 0;
1478 tmpl.bind = 0;