 		float k_feedback = lerp(0.8, 0.2, unbiased_weight_sqr);
 
 		auto c = lerp(clr0, clr1, k_feedback);
+
+#ifdef ENABLE_YCOCG
+		c = YCoCg2RGB(ycocg);
+#endif
 
 		auto noise4 = PDsrand4(make_float2(ix, iy) + sinTime + 0.6959174f) / 510.0f;
 		noise4.w = 0;

}

inline __device__ float3 clipColor(
	float3 clr,
	int ix, int iy,
	int width, int height,
	const idaten::SVGFPathTracing::AOV* __restrict__ aovs)

	auto r2 = sampler->nextSample();
	float2 jitter = make_float2(r1, r2);

	auto tmp = sampleColorRGB(curAovs, width, height, p);

	auto clr0 = sampleColor(curAovs, width, height, p, jitter);

