From e9683011f8e01f55b2f59306947c0b5b1fe22962 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Tue, 21 Aug 2018 16:58:38 -0700 Subject: [PATCH] Fix parabola rendering on AMD GPUs --- libraries/render-utils/src/parabola.slf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/render-utils/src/parabola.slf b/libraries/render-utils/src/parabola.slf index 8863f37083..ea51d7e3af 100644 --- a/libraries/render-utils/src/parabola.slf +++ b/libraries/render-utils/src/parabola.slf @@ -9,10 +9,10 @@ // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // +<@include DeferredBufferWrite.slh@> + layout(location=0) in vec4 _color; -layout(location=0) out vec4 _fragColor; - void main(void) { - _fragColor = _color; + packDeferredFragmentUnlit(vec3(1.0, 0.0, 0.0), 1.0, _color.rgb); }