Files
wgpu/naga/tests/in/glsl/dual-source-blending.frag
T
Andreas Reich fedc80eb80 [wgsl-in, wgsl-out, glsl-in] WebGPU compliant dual source blending feature (#7146)
Makes the dual source implementation in wgpu WebGPU spec compliant.
Furthermore, makes the dual source blending extension available when targeting WebGPU.
2025-03-08 21:07:37 +01:00

9 lines
206 B
GLSL

#version 450
layout(location = 0, index = 0) out vec4 output0;
layout(location = 0, index = 1) out vec4 output1;
void main() {
output0 = vec4(1.0, 0.0, 1.0, 0.0);
output1 = vec4(0.0, 1.0, 0.0, 1.0);
}