Lines Matching refs:cso
38 const DWORD *pFunction, void *cso ) in NineVertexShader9_ctor() argument
47 This, pParams, pFunction, cso); in NineVertexShader9_ctor()
53 if (cso) { in NineVertexShader9_ctor()
54 This->ff_cso = cso; in NineVertexShader9_ctor()
93 This->variant.cso = info.cso; in NineVertexShader9_ctor()
94 This->last_cso = info.cso; in NineVertexShader9_ctor()
121 if (var->cso) { in NineVertexShader9_dtor()
122 if (This->base.device->context.cso_shader.vs == var->cso) in NineVertexShader9_dtor()
124 pipe->delete_vs_state(pipe, var->cso); in NineVertexShader9_dtor()
130 if (var_so->cso) { in NineVertexShader9_dtor()
131 cso_delete_vertex_shader(This->base.device->cso_sw, var_so->cso ); in NineVertexShader9_dtor()
177 void *cso; in NineVertexShader9_GetVariant() local
184 cso = nine_shader_variant_get(&This->variant, key); in NineVertexShader9_GetVariant()
185 if (!cso) { in NineVertexShader9_GetVariant()
204 nine_shader_variant_add(&This->variant, key, info.cso); in NineVertexShader9_GetVariant()
205 cso = info.cso; in NineVertexShader9_GetVariant()
209 This->last_cso = cso; in NineVertexShader9_GetVariant()
211 return cso; in NineVertexShader9_GetVariant()
221 void *cso; in NineVertexShader9_GetVariantProcessVertices() local
223 cso = nine_shader_variant_so_get(&This->variant_so, vdecl_out, so); in NineVertexShader9_GetVariantProcessVertices()
224 if (cso) in NineVertexShader9_GetVariantProcessVertices()
225 return cso; in NineVertexShader9_GetVariantProcessVertices()
242 nine_shader_variant_so_add(&This->variant_so, vdecl_out, so, info.cso); in NineVertexShader9_GetVariantProcessVertices()
243 return info.cso; in NineVertexShader9_GetVariantProcessVertices()
263 const DWORD *pFunction, void *cso ) in NineVertexShader9_new() argument
265 NINE_DEVICE_CHILD_NEW(VertexShader9, ppOut, pDevice, pFunction, cso); in NineVertexShader9_new()