[PATCH 1/2] dlls/d3d12: Fix D3D12SerializeVersionedRootSignature.

Sveinar Søpler cybermax at dexter.no
Sat Nov 23 09:09:00 CST 2019


On 30.10.2019 21:38, Sveinar Søpler wrote:
> I see the testbot failed these two patches here 
> https://testbot.winehq.org/JobDetails.pl?Key=57859 and here 
> https://testbot.winehq.org/JobDetails.pl?Key=57858 with an "undefined 
> reference"
>
> Is that because these patches needs the signature patches for vkd3d to 
> be able to link?
>
> Sveinar
>
And to answer myself on this, yes, it is because the headers used for 
the testbot is not current with GIT. Is this something that the testbot 
updates by itself, or does it use system (distro) provided headers/dev 
packages?

Sveinar

PS. This patch is needed to make GIT version of vkd3d to not fail with a 
"Error #132 Fatal Exception!".

> On 16.10.2019 13:06, post at arntzen-software.no (Hans-Kristian 
> Arntzen) wrote:
>> Use the proper versioned serializer from vkd3d.
>>
>> Signed-off-by: Hans-Kristian Arntzen <post at arntzen-software.no>
>> ---
>>   dlls/d3d12/d3d12_main.c | 6 +-----
>>   1 file changed, 1 insertion(+), 5 deletions(-)
>>
>> diff --git a/dlls/d3d12/d3d12_main.c b/dlls/d3d12/d3d12_main.c
>> index bd680d8254..9f0fa12ee8 100644
>> --- a/dlls/d3d12/d3d12_main.c
>> +++ b/dlls/d3d12/d3d12_main.c
>> @@ -420,9 +420,5 @@ HRESULT WINAPI 
>> D3D12SerializeVersionedRootSignature(const D3D12_VERSIONED_ROOT_S
>>   {
>>       TRACE("desc %p, blob %p, error_blob %p.\n", desc, blob, 
>> error_blob);
>>
>> -    if (desc->Version == D3D_ROOT_SIGNATURE_VERSION_1_0)
>> -        return vkd3d_serialize_root_signature(&desc->Desc_1_0, 
>> desc->Version, blob, error_blob);
>> -
>> -    FIXME("Unsupported version %#x.\n", desc->Version);
>> -    return E_NOTIMPL;
>> +    return vkd3d_serialize_versioned_root_signature(desc, blob, 
>> error_blob);
>>   }
>> -- 
>> 2.23.0
>>
>



More information about the wine-devel mailing list