d3d10: Implement D3D10CompileEffectFromMemory().
Signed-off-by: Valentin Gabriel Mitrea <mitrea.valentin@gmail.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
51c9aaf584
commit
9dd88e31ef
|
@ -253,17 +253,13 @@ HRESULT WINAPI D3D10CompileEffectFromMemory(void *data, SIZE_T data_size, const
|
||||||
const D3D10_SHADER_MACRO *defines, ID3D10Include *include, UINT hlsl_flags, UINT fx_flags,
|
const D3D10_SHADER_MACRO *defines, ID3D10Include *include, UINT hlsl_flags, UINT fx_flags,
|
||||||
ID3D10Blob **effect, ID3D10Blob **errors)
|
ID3D10Blob **effect, ID3D10Blob **errors)
|
||||||
{
|
{
|
||||||
FIXME("data %p, data_size %lu, filename %s, defines %p, include %p,"
|
TRACE("data %p, data_size %lu, filename %s, defines %p, include %p, "
|
||||||
" hlsl_flags %#x, fx_flags %#x, effect %p, errors %p stub!\n",
|
"hlsl_flags %#x, fx_flags %#x, effect %p, errors %p.\n",
|
||||||
data, data_size, wine_dbgstr_a(filename), defines, include,
|
data, data_size, wine_dbgstr_a(filename), defines, include,
|
||||||
hlsl_flags, fx_flags, effect, errors);
|
hlsl_flags, fx_flags, effect, errors);
|
||||||
|
|
||||||
if (effect)
|
return D3DCompile(data, data_size, filename, defines, include,
|
||||||
*effect = NULL;
|
NULL, "fx_4_0", hlsl_flags, fx_flags, effect, errors);
|
||||||
if (errors)
|
|
||||||
*errors = NULL;
|
|
||||||
|
|
||||||
return E_NOTIMPL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT WINAPI D3D10CreateEffectPoolFromMemory(void *data, SIZE_T data_size, UINT fx_flags,
|
HRESULT WINAPI D3D10CreateEffectPoolFromMemory(void *data, SIZE_T data_size, UINT fx_flags,
|
||||||
|
|
Loading…
Reference in New Issue