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:
reduz 2021-08-16 14:51:29 -03:00
parent 72cb452937
commit 6027cd0a1d
16 changed files with 140 additions and 112 deletions

View file

@ -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="&quot;&quot;" />
<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="&quot;&quot;" />
<description>
</description>
</method>