Lines Matching refs:wined3d_shader

46 static void shader_chache_put(PVBOXEXT_HASHCACHE pCache, struct wined3d_shader *shader);
343 static void shader_init(struct wined3d_shader *shader, struct wined3d_device *device,
393 static void shader_record_register_usage(struct wined3d_shader *shader, struct wined3d_shader_reg_maps *reg_maps,
502 static HRESULT shader_get_registers_used(struct wined3d_shader *shader, const struct wined3d_shader_frontend *fe,
1246 void shader_generate_main(const struct wined3d_shader *shader, struct wined3d_shader_buffer *buffer,
1503 static void shader_cleanup(struct wined3d_shader *shader)
1534 static void shader_none_destroy(struct wined3d_shader *shader) {}
1650 static HRESULT shader_set_function(struct wined3d_shader *shader, const DWORD *byte_code,
1733 ULONG CDECL wined3d_shader_incref(struct wined3d_shader *shader)
1743 ULONG CDECL wined3d_shader_decref(struct wined3d_shader *shader)
1763 void * CDECL wined3d_shader_get_parent(const struct wined3d_shader *shader)
1770 HRESULT CDECL wined3d_shader_get_byte_code(const struct wined3d_shader *shader,
1795 HRESULT CDECL wined3d_shader_set_local_constants_float(struct wined3d_shader *shader,
1833 const struct wined3d_shader *shader, struct vs_compile_args *args)
1856 BOOL vshader_get_input(const struct wined3d_shader *shader,
1876 static void vertexshader_set_limits(struct wined3d_shader *shader)
1942 static HRESULT vertexshader_init(struct wined3d_shader *shader, struct wined3d_device *device,
1993 static void geometryshader_set_limits(struct wined3d_shader *shader)
2017 static HRESULT geometryshader_init(struct wined3d_shader *shader, struct wined3d_device *device,
2041 const struct wined3d_shader *shader, struct ps_compile_args *args)
2216 static void pixelshader_set_limits(struct wined3d_shader *shader)
2289 static HRESULT pixelshader_init(struct wined3d_shader *shader, struct wined3d_device *device,
2357 void pixelshader_update_samplers(struct wined3d_shader *shader, WORD tex_types)
2389 const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version)
2391 struct wined3d_shader *object;
2417 const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version)
2419 struct wined3d_shader *object;
2449 const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader, unsigned int max_version)
2451 struct wined3d_shader *object;
2481 static void shader_reinit(struct wined3d_shader *shader, struct wined3d_device *device,
2490 struct wined3d_shader *tst_shader;
2491 LIST_FOR_EACH_ENTRY(tst_shader, &device->shaders, struct wined3d_shader, shader_list_entry) {
2504 struct wined3d_shader * shader = (struct wined3d_shader *)pvKey;
2527 struct wined3d_shader *shader1 = (struct wined3d_shader *)pvKey1;
2528 struct wined3d_shader *shader2 = (struct wined3d_shader *)pvKey2;
2547 #define VBOX_SHADER_FROM_CACHE_ENTRY(_pEntry) RT_FROM_MEMBER((_pEntry), struct wined3d_shader, CacheEntry)
2551 struct wined3d_shader *shader = VBOX_SHADER_FROM_CACHE_ENTRY(pEntry);
2568 static void shader_chache_put(PVBOXEXT_HASHCACHE pCache, struct wined3d_shader *shader)
2579 static struct wined3d_shader* shader_chache_get(PVBOXEXT_HASHCACHE pCache, struct wined3d_shader *shader)
2582 struct wined3d_shader *cached_shader;
2597 struct wined3d_shader * vertexshader_check_cached(struct wined3d_device *device, struct wined3d_shader *object)
2600 return shader_chache_get(&device->vshaderCache, (struct wined3d_shader *)object);
2603 struct wined3d_shader * pixelshader_check_cached(struct wined3d_device *device, struct wined3d_shader *object)
2606 return shader_chache_get(&device->pshaderCache, (struct wined3d_shader *)object);