Hello, sorry for the delay. Here is the solution:
NvidiaBugs.rar (7.7 MB)
The Release/Debug build executables are in x64/[Release/Debug]
This application crashes, but when you change shader.frag, it will not crash.
To change it to not crash you have to remove the writing to outColor1-outColor3, only writing to outColor0 will not crash.
I tested in my original application that if I change to second color attachment sample count to the same as the depth attachment and the first color attachment, writing to the second color attachment will not crash, but then again the third and fourth do.
It also crashes without any validation layers warning.
I think the driver may think that all other color attachments have the same sample count as the first color attachment or something? Since when i try to render to a depth attachment with sample count 8, and a single color attachment of sample count 1, it does not crash