-
-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update shadermodel.md #1843
Update shadermodel.md #1843
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate you taking time to update the shader docs. Everything is relatively minor, just want to keep things consistent across the docs 👍
website/docs/shadermodel.md
Outdated
|
||
```lua | ||
shadermodel (value) | ||
shadermodel "value" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use shadermodel ("value")
to keep consistent with other docs - (e.g.) https://premake.github.io/docs/objdir/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make the relevant changes as requested. Hey no problem, I've never been good at documentation but just wanted to make these small fixes to make things a little more clear for the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate all help with docs. When you get those changes out, I'll rereview and merge them so we can get it out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just poking this for line 39 as well.
Is there an example of this shader stuff anywhere? And does it only support HLSL? |
Yes it only supports HLSL. There is an example usage included in this change. |
@nickclark2016 Could you please approve this PR? |
Just saw the message, the last several weeks have been hectic for me. Still waiting on you to address that last comment, then I'll go ahead and merge. |
Changed shadermodel parameter format. Changed example syntax.
@KyrietS Addressed the final issue for line 39. |
Let's wait for @nickclark2016's approval |
What does this PR do?
Update shadermodel documentation to replace auto-generated text.
Thanks for the contribution! Please provide a concise description of the problem this request solves.
How does this PR change Premake's behavior?
Modifies the Premake documentation.
Are there any breaking changes? Will any existing behavior change?
No.
Anything else we should know?
No.
Add any other context about your changes here.
Did you check all the boxes?
closes #XXXX
in comment to auto-close issue when PR is merged)You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!