1 /*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 #ifndef SHADERS__COMMON__FXAA_REFERENCE_H
17 #define SHADERS__COMMON__FXAA_REFERENCE_H
18
FxaaPixelShader(vec2 pos,vec4 fxaaConsolePosPos,texture2D tex,sampler samp,vec2 fxaaQualityRcpFrame,vec4 fxaaConsoleRcpFrameOpt,vec4 fxaaConsoleRcpFrameOpt2,vec4 fxaaConsole360RcpFrameOpt2,float fxaaQualitySubpix,float fxaaQualityEdgeThreshold,float fxaaQualityEdgeThresholdMin,float fxaaConsoleEdgeSharpness,float fxaaConsoleEdgeThreshold,float fxaaConsoleEdgeThresholdMin,vec4 fxaaConsole360ConstDir)19 vec4 FxaaPixelShader(
20 vec2 pos,
21 vec4 fxaaConsolePosPos,
22 texture2D tex,
23 sampler samp,
24 vec2 fxaaQualityRcpFrame,
25 vec4 fxaaConsoleRcpFrameOpt,
26 vec4 fxaaConsoleRcpFrameOpt2,
27 vec4 fxaaConsole360RcpFrameOpt2,
28 float fxaaQualitySubpix,
29 float fxaaQualityEdgeThreshold,
30 float fxaaQualityEdgeThresholdMin,
31 float fxaaConsoleEdgeSharpness,
32 float fxaaConsoleEdgeThreshold,
33 float fxaaConsoleEdgeThresholdMin,
34 vec4 fxaaConsole360ConstDir
35 ) {
36 return vec4(0.0f, 0.0f, 0.0f, 0.0f);
37 }
38 #endif // SHADERS__COMMON__FXAA_REFERENCE_H