12-03-2021, 02:38 AM
In GPU/Common/FragmentShaderGenerator.cpp, if you change:
To something like:
Does the problem go away? If yes, what's specifically shown under Settings -> Tools -> System information -> Vendor and Driver Version?
I'm not sure how best to detect MESA.
-[Unknown]
Code:
// Output the output color definitions.
if (stencilToAlpha == REPLACE_ALPHA_DUALSOURCE) {
WRITE(p, "%s vec4 fragColor0;\n", qualifierColor0);
WRITE(p, "out vec4 fragColor1;\n");
} else {
WRITE(p, "%s vec4 fragColor0;\n", qualifierColor0);
}To something like:
Code:
// Output the output color definitions.
if (stencilToAlpha == REPLACE_ALPHA_DUALSOURCE) {
WRITE(p, "%s highp vec4 fragColor0;\n", qualifierColor0);
WRITE(p, "out highp vec4 fragColor1;\n");
} else {
WRITE(p, "%s vec4 fragColor0;\n", qualifierColor0);
}Does the problem go away? If yes, what's specifically shown under Settings -> Tools -> System information -> Vendor and Driver Version?
I'm not sure how best to detect MESA.
-[Unknown]

