[XeSL] Metal Shading Language definitions

This commit is contained in:
Triang3l
2022-06-16 21:39:16 +03:00
parent 820b7ba217
commit 166be463be
176 changed files with 83740 additions and 83682 deletions

View File

@@ -14,7 +14,7 @@
#include "noise.xesli"
xesl_static const float xe_dither_8bpc_noise[] = {
xesl_staticConst float xe_dither_8bpc_noise[] = {
// The conversion to 8bpc in the fixed-function output-merger is done as
// floor(saturate(color) * 255.0 + 0.5). This dithering function effectively
// replaces that 0.5 offset, done for rounding to the nearest, with the noise.