-
-
Save shader-playground/8a375ffa08307f6fd746ce6a76b79692 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"language":"HLSL","compilationSteps":[{"compiler":"dxc","arguments":{"Version":"trunk","TargetProfile":"ps_6_0","EntryPoint":"PSMain","Enable16BitTypes":"false","DisableOptimizations":"false","OptimizationLevel":"3","ExtraOptions":"","OutputLanguage":"DXIL","SpirvTarget":"vulkan1.0"}}]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct PSInput | |
| { | |
| float4 color : COLOR; | |
| }; | |
| float4 PSMain(PSInput input) : SV_TARGET | |
| { | |
| return input.color; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment