diff options
Diffstat (limited to 'hlsl/downsample.fx')
-rw-r--r-- | hlsl/downsample.fx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/hlsl/downsample.fx b/hlsl/downsample.fx index 4a4a8fe3743..9ac584b56f1 100644 --- a/hlsl/downsample.fx +++ b/hlsl/downsample.fx @@ -1,7 +1,11 @@ // license:BSD-3-Clause // copyright-holders:Ryan Holtz,ImJezze //----------------------------------------------------------------------------- -// Effect File Variables +// Downsample Effect +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// Sampler Definitions //----------------------------------------------------------------------------- texture DiffuseTexture; @@ -96,17 +100,15 @@ float4 ps_main(PS_INPUT Input) : COLOR } //----------------------------------------------------------------------------- -// Downsample Effect +// Downsample 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(); } |