Use the _xe suffix instead of the xesl_ prefix for quicker visual recognition of identifiers, also switch to snake_case for consistency. Also add the f suffix to float32 literals because the Metal Shading Language is based on C++.
6 lines
181 B
HLSL
6 lines
181 B
HLSL
#define FXAA_QUALITY__PRESET 39
|
|
#define FXAA_QUALITY__SUBPIX 1.0f
|
|
#define FXAA_QUALITY__EDGE_THRESHOLD 0.063f
|
|
#define FXAA_QUALITY__EDGE_THRESHOLD_MIN 0.0312f
|
|
#include "fxaa.hlsli"
|