Fix unsupported sampler filter used for voxel GI

(cherry picked from commit 09aa1bbdb3)
This commit is contained in:
Pedro J. Estébanez 2023-04-25 14:14:01 +02:00 committed by Rémi Verschelde
parent a5779ff281
commit 908325c29e
No known key found for this signature in database
GPG key ID: C3336907360768E1
7 changed files with 34 additions and 1 deletions

View file

@ -452,6 +452,14 @@
<description>
</description>
</method>
<method name="sampler_is_format_supported_for_filter" qualifiers="const">
<return type="bool" />
<param index="0" name="format" type="int" enum="RenderingDevice.DataFormat" />
<param index="1" name="sampler_filter" type="int" enum="RenderingDevice.SamplerFilter" />
<description>
Returns [code]true[/code] if implementation supports using a texture of [param format] with the given [param sampler_filter].
</description>
</method>
<method name="screen_get_framebuffer_format" qualifiers="const">
<return type="int" />
<description>