[PATCH] winevulkan: Add support for the uint16_t type in make_vulkan.

Chip Davis cdavis at codeweavers.com
Wed Oct 30 15:39:19 CDT 2019


October 30, 2019 3:36 PM, "Liam Middlebrook" <lmiddlebrook at nvidia.com> wrote:

>> @@ -1501,7 +1503,7 @@ class VkParam(object):
>>              return "int64"
>>          if self.type == "float":
>>              return "float"
>> -        if self.type in ["int", "int32_t", "size_t", "uint32_t", "VkBool32"]:
>> +        if self.type in ["int", "int32_t", "size_t", "uint32_t", "VkBool32", "uint16_t"]:
>>              return "long"
> 
> Shouldn't uint16_t be "short" ?
> 

This is for the .spec file. There is no "short" datatype in the .spec language, because parameters smaller than the stack width take up a full stack slot anyway.

Chip



More information about the wine-devel mailing list