Merge pull request #13855 from jherico/fix/17666

Fix parabola rendering on AMD GPUs
This commit is contained in:
John Conklin II 2018-08-22 09:12:18 -07:00 committed by GitHub
commit c220af0fcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}