Merge pull request #75908 from Calinou/compute-pipeline-fix-typo

Fix `compute_pieline` typo in `RenderingDevice.compute_pipeline_is_valid()`
This commit is contained in:
Rémi Verschelde 2023-04-12 09:07:43 +02:00
commit 1b14e1a293
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@
</method>
<method name="compute_pipeline_is_valid">
<return type="bool" />
<param index="0" name="compute_pieline" type="RID" />
<param index="0" name="compute_pipeline" type="RID" />
<description>
</description>
</method>

View File

@ -752,7 +752,7 @@ void RenderingDevice::_bind_methods() {
ClassDB::bind_method(D_METHOD("render_pipeline_is_valid", "render_pipeline"), &RenderingDevice::render_pipeline_is_valid);
ClassDB::bind_method(D_METHOD("compute_pipeline_create", "shader", "specialization_constants"), &RenderingDevice::_compute_pipeline_create, DEFVAL(TypedArray<RDPipelineSpecializationConstant>()));
ClassDB::bind_method(D_METHOD("compute_pipeline_is_valid", "compute_pieline"), &RenderingDevice::compute_pipeline_is_valid);
ClassDB::bind_method(D_METHOD("compute_pipeline_is_valid", "compute_pipeline"), &RenderingDevice::compute_pipeline_is_valid);
ClassDB::bind_method(D_METHOD("screen_get_width", "screen"), &RenderingDevice::screen_get_width, DEFVAL(DisplayServer::MAIN_WINDOW_ID));
ClassDB::bind_method(D_METHOD("screen_get_height", "screen"), &RenderingDevice::screen_get_height, DEFVAL(DisplayServer::MAIN_WINDOW_ID));