From 97c81ee9fcdd90aa671ff1fed2d97a6375c04387 Mon Sep 17 00:00:00 2001 From: "Pierre-Loup A. Griffais" Date: Thu, 12 Dec 2019 23:34:01 -0800 Subject: [PATCH] Helper HUD to know if we're compositing layers with the GPU or not. --- src/composite.comp.hlsl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/composite.comp.hlsl b/src/composite.comp.hlsl index 9da5d43..4305cd5 100644 --- a/src/composite.comp.hlsl +++ b/src/composite.comp.hlsl @@ -73,4 +73,10 @@ void main( { outImage [index] = outputValue; } + + // indicator to quickly tell if we're in the compositing path or not + if ( 0 && index.x > 50 && index.x < 100 && index.y > 50 && index.y < 100 ) + { + outImage [index] = float4(1.0,0.0,1.0,1.0); + } }