[PATCH] d3d10: Forward d3d10_shader_reflection_GetInputParameterDesc() to d3dcompiler implementation.

Henri Verbeet hverbeet at gmail.com
Fri Feb 8 09:35:22 CST 2019


On Fri, 8 Feb 2019 at 18:44, Nikolay Sivov <nsivov at codeweavers.com> wrote:
>  static HRESULT STDMETHODCALLTYPE d3d10_shader_reflection_GetInputParameterDesc(
>          ID3D10ShaderReflection *iface, UINT index, D3D10_SIGNATURE_PARAMETER_DESC *desc)
>  {
> -    FIXME("iface %p, index %u, desc %p stub!\n", iface, index, desc);
> +    struct d3d10_shader_reflection *reflector = impl_from_ID3D10ShaderReflection(iface);
>
> -    return E_NOTIMPL;
> +    TRACE("iface %p, index %u, desc %p.\n", iface, index, desc);
> +
> +    return reflector->reflector->lpVtbl->GetInputParameterDesc(reflector->reflector, index,
> +            (D3D11_SIGNATURE_PARAMETER_DESC *)desc);

I don't think you can do that, D3D11_SIGNATURE_PARAMETER_DESC has an
extra "Stream" field.



More information about the wine-devel mailing list