8 Feb
2019
8 Feb
'19
3:35 p.m.
On Fri, 8 Feb 2019 at 18:44, Nikolay Sivov <nsivov(a)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.