From e64f4cf5e47f018e046e0a00d51c894f9fed20de Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sun, 15 Jul 2018 21:15:03 +0200 Subject: [PATCH] Simplified and cleaned up sub pass setup, additional comments --- .../inputattachments/attachmentwrite.frag | 6 ++---- .../inputattachments/attachmentwrite.frag.spv | Bin 760 -> 656 bytes 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/data/shaders/inputattachments/attachmentwrite.frag b/data/shaders/inputattachments/attachmentwrite.frag index 856be0aa..54c94136 100644 --- a/data/shaders/inputattachments/attachmentwrite.frag +++ b/data/shaders/inputattachments/attachmentwrite.frag @@ -2,13 +2,11 @@ layout (location = 0) in vec3 inColor; -layout (location = 0) out vec4 outSwapChainColor; -layout (location = 1) out vec4 outColor; -layout (location = 2) out float outDepth; +layout (location = 0) out vec4 outColor; +layout (location = 1) out float outDepth; void main() { - outSwapChainColor = vec4(0.0); outColor = vec4(inColor, 0.0); outDepth = gl_FragDepth; } \ No newline at end of file diff --git a/data/shaders/inputattachments/attachmentwrite.frag.spv b/data/shaders/inputattachments/attachmentwrite.frag.spv index b4623a63092c662cdbcf1943adf1b1cf1fc25c8c..8f22064bf6ffbea907d761d474685d9ee0ea8de5 100644 GIT binary patch literal 656 zcmYk2O-n*y5QQhrt7iF;rMoa%2GXJ;h}smnaZ&UGLMTiy4ZHopepQ>G=eb_R7tWn` z&YXAV%qaFYhmZ|P<&6&>d-|Eqt-p&8m H_zL_3`}rb> literal 760 zcmYk3%}xSA5QJOST@aKXQP7LQc+?ONLQITaFmmCb;Q`Dh8ZbeZ;2Pi0r}AQAeZvgd zF>Oy(S5J2>QR%E~wq<3j*s-lo%SvL*YL>V>o=hkG&-|r-HMm4kx5x?6G^}dd%EWv6 z_CaAsv8!k(I*P8MsU9>Mrdy;5WnbL3JIof(536*x;m4ZHtP?~!VBQDg4b0ocI&Xv7pE}-Z3i!5I z_*3U_t?B5Vi0di3(&HbD=brvol=+(QHy*PS+_^B?s)BPN6*}g@6(jVrKfTP_Q>Gux zthzG3;L(He2S@!-87)23!T5p;7{B15zA9ev!GZe~6D!{d;ekDGrC?rD!K^3uYnZh> tr?lbrJ;y#l*Y+H<9=-nq-RVb9o$tU*yi;Q)9*z|3OAR03Ke@eD`~xkFD`o%y