mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 05:35:38 +00:00
Added overrides for several OpenCL methods that return error codes (they returned plain integers previously).
Added overrides for problematic values in 'Unknown' enum. Added overrides for string[] parameters.
This commit is contained in:
parent
94afe0a8b9
commit
7149a0292b
|
@ -1,4 +1,35 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<overrides>
|
<overrides>
|
||||||
|
|
||||||
|
<enum name="Unknown">
|
||||||
|
<token name="CHAR_MAX"><value>127</value></token>
|
||||||
|
<token name="CHAR_MIN"><value>-128</value></token>
|
||||||
|
</enum>
|
||||||
|
|
||||||
|
<enum name="ErrorCodes"><name>ErrorCode</name></enum>
|
||||||
|
|
||||||
|
<enum name="DeviceType"><name>DeviceTypeFlags</name></enum>
|
||||||
|
|
||||||
|
<function name="CreateBuffer" extension="Core">
|
||||||
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="CreateCommandQueue" extension="Core">
|
||||||
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="CreateKernel" extension="Core">
|
||||||
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="CreateProgramWithBinary" extension="Core">
|
||||||
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
<function name="CreateProgramWithSource" extension="Core">
|
||||||
|
<param name="strings"><type>string[]</type></param>
|
||||||
|
<param name="errcode_ret"><type>ErrorCode</type></param>
|
||||||
|
</function>
|
||||||
|
|
||||||
|
|
||||||
</overrides>
|
</overrides>
|
Loading…
Reference in a new issue