Lines Matching refs:bind
289 unsigned bind = 0;
329 bind = 0;
333 bind |= PIPE_BIND_RENDER_TARGET;
338 bind |= d3d9_get_pipe_depth_format_bindings(CheckFormat);
346 if (CheckFormat == D3DFMT_NULL && bind == PIPE_BIND_RENDER_TARGET &&
352 if (CheckFormat == D3DFMT_RESZ && bind == PIPE_BIND_RENDER_TARGET &&
363 bind |= PIPE_BIND_BLENDABLE;
371 case D3DRTYPE_TEXTURE: bind |= PIPE_BIND_SAMPLER_VIEW; break;
372 case D3DRTYPE_CUBETEXTURE: bind |= PIPE_BIND_SAMPLER_VIEW; break;
373 case D3DRTYPE_VOLUMETEXTURE: bind |= PIPE_BIND_SAMPLER_VIEW; break;
374 case D3DRTYPE_VERTEXBUFFER: bind |= PIPE_BIND_VERTEX_BUFFER; break;
375 case D3DRTYPE_INDEXBUFFER: bind |= PIPE_BIND_INDEX_BUFFER; break;
378 bind |= PIPE_BIND_SAMPLER_VIEW; /* StretchRect */
387 bind |= PIPE_BIND_RENDER_TARGET; /* A current requirement of our impl, which we should get rid of. */
396 0, bind, srgb, FALSE);
409 if ((Usage & D3DUSAGE_AUTOGENMIPMAP) && !(bind & PIPE_BIND_SAMPLER_VIEW))
425 unsigned bind;
443 bind = d3d9_get_pipe_depth_format_bindings(SurfaceFormat);
445 bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET;
456 MultiSampleType, bind, FALSE, FALSE);