Skip to content

Commit

Permalink
Merge pull request godotengine#96599 from jsjtxietian/compute-hint
Browse files Browse the repository at this point in the history
Mention user should remove compute shader hint when use `set_stage_source`
  • Loading branch information
akien-mga committed Sep 8, 2024
2 parents e3be605 + 332b129 commit 81f99ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/RDShaderSource.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<param index="1" name="source" type="String" />
<description>
Sets [param source] code for the specified shader [param stage]. Equivalent to setting one of [member source_compute], [member source_fragment], [member source_tesselation_control], [member source_tesselation_evaluation] or [member source_vertex].
[b]Note:[/b] If you set the compute shader source code using this method directly, remember to remove the Godot-specific hint [code]#[compute][/code].
</description>
</method>
</methods>
Expand Down

0 comments on commit 81f99ea

Please sign in to comment.