Skip to content

Fix a fakeshader example in gpu documentation - #99

Open
TheEt1234 wants to merge 1 commit into
mt-mods:masterfrom
TheEt1234:patch-1
Open

Fix a fakeshader example in gpu documentation#99
TheEt1234 wants to merge 1 commit into
mt-mods:masterfrom
TheEt1234:patch-1

Conversation

@TheEt1234

@TheEt1234 TheEt1234 commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

(sorry that i made this bug)

the example i changed in this PR wouldn't work before, because of the -- radius, not named "r" because that would shadow the "r" global comment

the character " is not allowed anywhere in fakeshader code, to attempt to make obtaining strings impossible, because string operations can be slow and fakeshaders have no practical use for them

also i recommend merging #93 (if the fakeshader sandbox is allowed to obtain a string, it's a bug)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant