Home | History | Annotate | Download | only in nine

Lines Matching defs:bind

260     unsigned bind = 0;
298 bind = 0;
299 if (Usage & D3DUSAGE_RENDERTARGET) bind |= PIPE_BIND_RENDER_TARGET;
303 bind |= d3d9_get_pipe_depth_format_bindings(CheckFormat);
307 if (CheckFormat == D3DFMT_NULL && bind == PIPE_BIND_RENDER_TARGET &&
313 if (CheckFormat == D3DFMT_RESZ && bind == PIPE_BIND_RENDER_TARGET &&
324 bind |= PIPE_BIND_BLENDABLE;
332 case D3DRTYPE_TEXTURE: bind |= PIPE_BIND_SAMPLER_VIEW; break;
333 case D3DRTYPE_CUBETEXTURE: bind |= PIPE_BIND_SAMPLER_VIEW; break;
334 case D3DRTYPE_VOLUMETEXTURE: bind |= PIPE_BIND_SAMPLER_VIEW; break;
335 case D3DRTYPE_VERTEXBUFFER: bind |= PIPE_BIND_VERTEX_BUFFER; break;
336 case D3DRTYPE_INDEXBUFFER: bind |= PIPE_BIND_INDEX_BUFFER; break;
339 bind |= PIPE_BIND_SAMPLER_VIEW; /* StretchRect */
348 bind |= PIPE_BIND_RENDER_TARGET; /* A current requirement of our impl, which we should get rid of. */
356 0, bind, srgb, FALSE);
369 if ((Usage & D3DUSAGE_AUTOGENMIPMAP) && !(bind & PIPE_BIND_SAMPLER_VIEW))
385 unsigned bind;
403 bind = d3d9_get_pipe_depth_format_bindings(SurfaceFormat);
405 bind = PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_RENDER_TARGET;
416 MultiSampleType, bind, FALSE, FALSE);