107 TRACE(
"iface %p, data %p, data_size %p.\n", iface,
data, data_size);
148 desc.input_signature.element_count = 0;
149 desc.output_signature.element_count = 0;
150 desc.patch_constant_signature.element_count = 0;
151 desc.max_version = 3;
159 WARN(
"Failed to create wined3d vertex shader, hr %#x.\n",
hr);
163 shader->parent_device = &
device->IDirect3DDevice9Ex_iface;
174 WARN(
"Vertex shader %p with the wrong vtbl %p\n", iface, iface->lpVtbl);
261 TRACE(
"iface %p, data %p, data_size %p.\n", iface,
data, data_size);
302 desc.input_signature.element_count = 0;
303 desc.output_signature.element_count = 0;
304 desc.patch_constant_signature.element_count = 0;
305 desc.max_version = 3;
313 WARN(
"Failed to created wined3d pixel shader, hr %#x.\n",
hr);
317 shader->parent_device = &
device->IDirect3DDevice9Ex_iface;
328 WARN(
"Pixel shader %p with the wrong vtbl %p\n", iface, iface->lpVtbl);
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define STDMETHODCALLTYPE
#define IDirect3DDevice9Ex_Release(p)
#define IDirect3DVertexShader9_AddRef(p)
#define IDirect3DDevice9Ex_AddRef(p)
#define IDirect3DDevice9_AddRef(p)
#define IDirect3DPixelShader9_AddRef(p)
static HRESULT WINAPI d3d9_pixelshader_QueryInterface(IDirect3DPixelShader9 *iface, REFIID riid, void **out)
HRESULT vertexshader_init(struct d3d9_vertexshader *shader, struct d3d9_device *device, const DWORD *byte_code)
static const struct wined3d_parent_ops d3d9_vertexshader_wined3d_parent_ops
static HRESULT WINAPI d3d9_vertexshader_GetFunction(IDirect3DVertexShader9 *iface, void *data, UINT *data_size)
struct d3d9_vertexshader * unsafe_impl_from_IDirect3DVertexShader9(IDirect3DVertexShader9 *iface)
static HRESULT WINAPI d3d9_vertexshader_QueryInterface(IDirect3DVertexShader9 *iface, REFIID riid, void **out)
static ULONG WINAPI d3d9_pixelshader_AddRef(IDirect3DPixelShader9 *iface)
struct d3d9_pixelshader * unsafe_impl_from_IDirect3DPixelShader9(IDirect3DPixelShader9 *iface)
static void STDMETHODCALLTYPE d3d9_pixelshader_wined3d_object_destroyed(void *parent)
static ULONG WINAPI d3d9_pixelshader_Release(IDirect3DPixelShader9 *iface)
static HRESULT WINAPI d3d9_pixelshader_GetDevice(IDirect3DPixelShader9 *iface, IDirect3DDevice9 **device)
static const IDirect3DPixelShader9Vtbl d3d9_pixelshader_vtbl
static struct d3d9_pixelshader * impl_from_IDirect3DPixelShader9(IDirect3DPixelShader9 *iface)
static HRESULT WINAPI d3d9_pixelshader_GetFunction(IDirect3DPixelShader9 *iface, void *data, UINT *data_size)
static void STDMETHODCALLTYPE d3d9_vertexshader_wined3d_object_destroyed(void *parent)
static ULONG WINAPI d3d9_vertexshader_AddRef(IDirect3DVertexShader9 *iface)
static const IDirect3DVertexShader9Vtbl d3d9_vertexshader_vtbl
static const struct wined3d_parent_ops d3d9_pixelshader_wined3d_parent_ops
static struct d3d9_vertexshader * impl_from_IDirect3DVertexShader9(IDirect3DVertexShader9 *iface)
HRESULT pixelshader_init(struct d3d9_pixelshader *shader, struct d3d9_device *device, const DWORD *byte_code)
static HRESULT WINAPI d3d9_vertexshader_GetDevice(IDirect3DVertexShader9 *iface, IDirect3DDevice9 **device)
static ULONG WINAPI d3d9_vertexshader_Release(IDirect3DVertexShader9 *iface)
HRESULT CDECL wined3d_shader_create_vs(struct wined3d_device *device, const struct wined3d_shader_desc *desc, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader)
ULONG CDECL wined3d_shader_incref(struct wined3d_shader *shader)
HRESULT CDECL wined3d_shader_create_ps(struct wined3d_device *device, const struct wined3d_shader_desc *desc, void *parent, const struct wined3d_parent_ops *parent_ops, struct wined3d_shader **shader)
HRESULT CDECL wined3d_shader_get_byte_code(const struct wined3d_shader *shader, void *byte_code, UINT *byte_code_size)
ULONG CDECL wined3d_shader_decref(struct wined3d_shader *shader)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
static const WCHAR desc[]
#define IsEqualGUID(rguid1, rguid2)
IDirect3DPixelShader9 IDirect3DPixelShader9_iface
IDirect3DVertexShader9 IDirect3DVertexShader9_iface
#define CONTAINING_RECORD(address, type, field)
@ WINED3D_SHADER_BYTE_CODE_FORMAT_SM1
void WINAPI wined3d_mutex_unlock(void)
void WINAPI wined3d_mutex_lock(void)