Files
wgpu/naga/tests/out/glsl/dualsource.main.Fragment.glsl
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

21 lines
510 B
GLSL

#version 310 es
#extension GL_EXT_blend_func_extended : require
precision highp float;
precision highp int;
struct FragmentOutput {
vec4 output0_;
vec4 output1_;
};
layout(location = 0, index = 0) out vec4 _fs2p_location0;
layout(location = 0, index = 1) out vec4 _fs2p_location1;
void main() {
FragmentOutput _tmp_return = FragmentOutput(vec4(0.4, 0.3, 0.2, 0.1), vec4(0.9, 0.8, 0.7, 0.6));
_fs2p_location0 = _tmp_return.output0_;
_fs2p_location1 = _tmp_return.output1_;
return;
}