diff options
Diffstat (limited to 'hlsl/primary.fx')
-rw-r--r-- | hlsl/primary.fx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/hlsl/primary.fx b/hlsl/primary.fx index 130c1cd4706..f0a1c1da0e7 100644 --- a/hlsl/primary.fx +++ b/hlsl/primary.fx @@ -1,7 +1,11 @@ // license:BSD-3-Clause // copyright-holders:Ryan Holtz //----------------------------------------------------------------------------- -// Effect File Variables +// Primary Effect +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// Sampler Definitions //----------------------------------------------------------------------------- texture Diffuse; @@ -42,7 +46,7 @@ struct PS_INPUT }; //----------------------------------------------------------------------------- -// Simple Vertex Shader +// Primary Vertex Shader //----------------------------------------------------------------------------- static const float Epsilon = 1.0e-7f; @@ -79,7 +83,7 @@ VS_OUTPUT vs_main(VS_INPUT Input) } //----------------------------------------------------------------------------- -// Simple Pixel Shader +// Primary Pixel Shader //----------------------------------------------------------------------------- float4 ps_main(PS_INPUT Input) : COLOR @@ -91,17 +95,15 @@ float4 ps_main(PS_INPUT Input) : COLOR } //----------------------------------------------------------------------------- -// Simple Effect +// Primary Technique //----------------------------------------------------------------------------- -technique TestTechnique +technique DefaultTechnique { pass Pass0 { Lighting = FALSE; - Sampler[0] = <DiffuseSampler>; - VertexShader = compile vs_2_0 vs_main(); PixelShader = compile ps_2_0 ps_main(); } |