Skip to content

Instantly share code, notes, and snippets.

@shader-playground
Created March 18, 2026 23:45
Show Gist options
  • Select an option

  • Save shader-playground/8a375ffa08307f6fd746ce6a76b79692 to your computer and use it in GitHub Desktop.

Select an option

Save shader-playground/8a375ffa08307f6fd746ce6a76b79692 to your computer and use it in GitHub Desktop.
{"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"}}]}
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