Lines Matching defs:shader

2680         const DWORD *byte_code, IDirect3DVertexShader9 **shader)
2686 TRACE("iface %p, byte_code %p, shader %p.\n", iface, byte_code, shader);
2695 WARN("Failed to initialize vertex shader, hr %#x.\n", hr);
2700 TRACE("Created vertex shader %p.\n", object);
2701 *shader = &object->IDirect3DVertexShader9_iface;
2706 static HRESULT WINAPI d3d9_device_SetVertexShader(IDirect3DDevice9Ex *iface, IDirect3DVertexShader9 *shader)
2709 struct d3d9_vertexshader *shader_obj = unsafe_impl_from_IDirect3DVertexShader9(shader);
2711 TRACE("iface %p, shader %p.\n", iface, shader);
2721 static HRESULT WINAPI d3d9_device_GetVertexShader(IDirect3DDevice9Ex *iface, IDirect3DVertexShader9 **shader)
2727 TRACE("iface %p, shader %p.\n", iface, shader);
2733 *shader = &shader_impl->IDirect3DVertexShader9_iface;
2734 IDirect3DVertexShader9_AddRef(*shader);
2738 *shader = NULL;
2742 TRACE("Returning %p.\n", *shader);
2976 const DWORD *byte_code, IDirect3DPixelShader9 **shader)
2982 TRACE("iface %p, byte_code %p, shader %p.\n", iface, byte_code, shader);
2987 FIXME("Failed to allocate pixel shader memory.\n");
2994 WARN("Failed to initialize pixel shader, hr %#x.\n", hr);
2999 TRACE("Created pixel shader %p.\n", object);
3000 *shader = &object->IDirect3DPixelShader9_iface;
3005 static HRESULT WINAPI d3d9_device_SetPixelShader(IDirect3DDevice9Ex *iface, IDirect3DPixelShader9 *shader)
3008 struct d3d9_pixelshader *shader_obj = unsafe_impl_from_IDirect3DPixelShader9(shader);
3010 TRACE("iface %p, shader %p.\n", iface, shader);
3020 static HRESULT WINAPI d3d9_device_GetPixelShader(IDirect3DDevice9Ex *iface, IDirect3DPixelShader9 **shader)
3026 TRACE("iface %p, shader %p.\n", iface, shader);
3028 if (!shader) return D3DERR_INVALIDCALL;
3034 *shader = &shader_impl->IDirect3DPixelShader9_iface;
3035 IDirect3DPixelShader9_AddRef(*shader);
3039 *shader = NULL;
3043 TRACE("Returning %p.\n", *shader);