mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Fixes to mobile renderer
* Make sure shaders are named, to aid in debug in case of failure * SceneRenderRD was being wrongly initialized (virtual functions being called when derivative class not initialized). * Fixed some bugs resulting on the above being corrected.
This commit is contained in:
parent
72cb452937
commit
6027cd0a1d
16 changed files with 140 additions and 112 deletions
|
|
@ -448,6 +448,7 @@
|
|||
<method name="shader_compile_binary_from_spirv">
|
||||
<return type="PackedByteArray" />
|
||||
<argument index="0" name="spirv_data" type="RDShaderSPIRV" />
|
||||
<argument index="1" name="name" type="String" default="""" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -465,8 +466,9 @@
|
|||
</description>
|
||||
</method>
|
||||
<method name="shader_create_from_spirv">
|
||||
<return type="PackedByteArray" />
|
||||
<return type="RID" />
|
||||
<argument index="0" name="spirv_data" type="RDShaderSPIRV" />
|
||||
<argument index="1" name="name" type="String" default="""" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue