aboutsummaryrefslogtreecommitdiffstats
path: root/src/runtimerender/res/rhishaders/clearmrt.frag
blob: d90606c77c0c73e4f271f4670f0b7bf0376e9afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#version 440

layout(location = 0) out vec4 fragOutput0;
layout(location = 1) out vec4 fragOutput1;

layout(std140, binding = 0) uniform buf {
    vec4 clearColor0;
    vec4 clearColor1;
} ubuf;

void main()
{
    fragOutput0 = ubuf.clearColor0;
    fragOutput1 = ubuf.clearColor1;
}